Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

Build issues:undefined reference to stdout

Hello,

I am aiming to compile a project with SES studio, version 6.40 . The target is nRF52dk.

I have the following issue:


1.\

Generating linker script ‘SmartShelfPusher.ld’

Linking SmartShelfPusher.elf

C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 6.40/lib/libc_v7em_t_le_eabi_balanced.a(prinops.o): in function `vfprintf_l':

prinops.c:(.text.libc.vfprintf_l+0x12): undefined reference to `__SEGGER_RTL_X_file_bufsize'

C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 6.40/lib/libc_v7em_t_le_eabi_balanced.a(prinops.o): in function `printf':

prinops.c:(.text.libc.printf+0xe): undefined reference to `stdout'

prinops.c:(.text.libc.printf+0x12): undefined reference to `stdout'

C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 6.40/lib/libc_v7em_t_le_eabi_balanced.a(fileops.o): in function `fwrite':

fileops.c:(.text.libc.fwrite+0xc): undefined reference to `__SEGGER_RTL_X_file_stat'

fileops.c:(.text.libc.fwrite+0x24): undefined reference to `__SEGGER_RTL_X_file_write'




From there, I could not find any thread exactly providing a fix. SOme people have observed similar issue. I would like to support more recent version of the IDE.#

Can you please advise on path to resolution ?

Thanks

Related