simbit18 commented on PR #17071:
URL: https://github.com/apache/nuttx/pull/17071#issuecomment-3337753044

   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'
   ```
   
   


-- 
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]

Reply via email to