This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Segger undefined symbol: end

Hi,

I'm trying to use a static library that I developed in example blinky app in segger studio and stuck in.First of all,I compiled my source code on debian with arm-none-eabi-gcc,-specs=rdimon.specs. Then I added the static lib to segger studio, also added the libs under arm-none-eabi/newlib (libc.a,libg.a,libm.a,librdimon.a) to Project->Options->Linker->Additional Input Files.

So that some linker errors has gone out, except one:

 undefined symbol: end

After some digging in newlib, I figured out this symbol in librdimon.a and  Arm GNU Toolchain 4.9.3 says

If you used nosys.specs or rdimon.specs, it may expect symbol 'end' to be defined to denote the HEAP start. Define symbol 'end'.Refer "12. How to update linker scripts for syscalls?" for examples.

I couldn't find any resource how to handle this in ses.

Thanks in advance



Parents Reply Children
Related