Hi,
I would like to use a static library cross-compiled in debian with arm-none-eabi-gcc,semihosting in segger studio and the library uses some functions in librdimon.So I added newlib to ses by project->options->linker->Additional input files. But I'm getting this error when linking
undefined symbol:end
![](https://forum.segger.com/index.php/Attachment/3360-Capture-PNG/?thumbnail=1&s=cd26d2c06261e891b2e6507716c0d28e3f251ac0)
After some digging in newlib, I figured out this symbol in librdimon.a and Arm GNU Toolchain 4.9.3 says
Thanks in advance.
I would like to use a static library cross-compiled in debian with arm-none-eabi-gcc,semihosting in segger studio and the library uses some functions in librdimon.So I added newlib to ses by project->options->linker->Additional input files. But I'm getting this error when linking
undefined symbol:end
After some digging in newlib, I figured out this symbol in librdimon.a and Arm GNU Toolchain 4.9.3 says
I couldn't find any resource how to handle this in segger linker script,I'm absolutely stuck in.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.
Thanks in advance.
The post was edited 1 time, last by grpnr ().