linguini1 commented on PR #17071: URL: https://github.com/apache/nuttx/pull/17071#issuecomment-3338837076
> Hi @linguini1 , after running a quick test, I noticed that the problem occurs in CMake + Ninja builds but not in Make builds. In fact, if you look at the logs on GitHub (Linux Sim-02, MSYS2, and MSVC), you can see that the problem occurs in CMake + Ninja builds. > > Linux Sim-02 -> Cmake in present: sim/dynconns > > MSVC -> is built entirely with CMake + Ninja. > > MSYS2 -> Cmake in present: nucleo-l152re/nsh,CONFIG_ARM_TOOLCHAIN_GNU_EABI > > Same error: > > ``` > FAILED: [code=1] nuttx > : && /d/a/nuttx/nuttx/sources/tools/gcc-arm-none-eabi/bin/arm-none-eabi-gcc.exe --specs=nosys.specs -Wl,--print-memory-usage -Wl,--entry=__start -nostdlib -Wl,--gc-sections -Wl,--cref -Wl,-Map=nuttx.map @CMakeFiles/nuttx.rsp -o nuttx && : > D:/a/nuttx/nuttx/sources/tools/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld.exe: sched/libsched.a(assert.c.obj): in function `reset_board': > D:/a/nuttx/nuttx/sources/nuttx/sched/misc/assert.c:812:(.text.reset_board+0xa): undefined reference to `up_mdelay' > D:/a/nuttx/nuttx/sources/tools/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld.exe: D:/a/nuttx/nuttx/sources/nuttx/sched/misc/assert.c:815:(.text.reset_board+0x16): undefined reference to `up_mdelay' > ``` Thank you! Let me try playing with the Cmake build to see if I can fix this. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
