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

Segger Embedded Studio Link Errors - Undefined References

First - thanks to those who answered my question about the Segger Embedded Studio code size limit.  It appears to have be fixed when I switch the build configuration from "Internal and External" to just "Internal".  

This question may relate to the SDK rather than the Segger Embedded Studio, but my project did compile, link, and run with IAR and now I am getting these link errors with SES.  

Linking hm_chair.elf

_build/nrf_sdh.o:(.rodata.sdh_req_observers+0x0): undefined reference to `__start_sdh_req_observers'

_build/nrf_sdh.o:(.rodata.sdh_req_observers+0x4): undefined reference to `__stop_sdh_req_observers'

_build/nrf_sdh.o:(.rodata.sdh_state_observers+0x0): undefined reference to `__start_sdh_state_observers'

_build/nrf_sdh.o:(.rodata.sdh_state_observers+0x4): undefined reference to `__stop_sdh_state_observers'

Parents
  • Hi,

    I am not that familiar with porting projects from IAR to SES, but may it be that you still have old object files laying around so now you try to link object files from IAR with object files from SES?

    If so, cleaning the solution should get rid of the old object files so that you can do a clean build using the SES toolchain.

    Regards,
    Terje

Reply
  • Hi,

    I am not that familiar with porting projects from IAR to SES, but may it be that you still have old object files laying around so now you try to link object files from IAR with object files from SES?

    If so, cleaning the solution should get rid of the old object files so that you can do a clean build using the SES toolchain.

    Regards,
    Terje

Children
Related