phasianus opened a new issue, #15966:
URL: https://github.com/apache/nuttx/issues/15966

   ### Description / Steps to reproduce the issue
   
   Following steps: 
https://nuttx.apache.org/docs/latest/platforms/arm/rp2040/boards/raspberrypi-pico-w/index.html
   Ends with error:
   ```
   /home/pb/nuttxspace/nuttx/tools/mkdeps --obj-path bin --obj-suffix .o 
--dep-path assert --dep-path builtin --dep-path ctype --dep-path dirent 
--dep-path dlfcn --dep-path errno --dep-path fixedmath --dep-path grp 
--dep-path inttypes --dep-path libgen --dep-path machine/arm/armv6-m --dep-path 
machine/arm/gnu --dep-path machine/arm --dep-path machine --dep-path misc 
--dep-path net --dep-path obstack --dep-path pthread --dep-path pwd --dep-path 
queue --dep-path sched --dep-path search --dep-path semaphore --dep-path signal 
--dep-path spawn --dep-path stdio --dep-path stdlib --dep-path stream 
--dep-path string --dep-path symtab --dep-path syslog --dep-path termios 
--dep-path time --dep-path tls --dep-path uio --dep-path unistd --dep-path uuid 
--dep-path wchar --dep-path wctype "arm-none-eabi-gcc" -- -Wstrict-prototypes 
-Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing 
-fomit-frame-pointer --param=min-pagesize=0 -fno-common -Wall -Wshadow -Wundef 
-ffunction-sectio
 ns -fdata-sections "-g" -mlittle-endian  -mcpu=cortex-m0 -mthumb 
-mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem 
/home/pb/nuttxspace/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -I 
/home/pb/nuttxspace/nuttx/libs/libc -- stdlib/lib_strtold.c > lib_strtold.ddc
   ./stdlib/lib_strtold.c:42:10: fatal error: math.h: No such file or directory
      42 | #include <math.h>
         |          ^~~~~~~~
   compilation terminated.
   ERROR: arm-none-eabi-gcc failed: 1
          command: arm-none-eabi-gcc -MT bin/lib_strtold.o  -M 
'-Wstrict-prototypes' '-Wno-attributes' '-Wno-unknown-pragmas' '-Wno-psabi' 
'-Os' '-fno-strict-aliasing' '-fomit-frame-pointer' '--param=min-pagesize=0' 
'-fno-common' '-Wall' '-Wshadow' '-Wundef' '-ffunction-sections' 
'-fdata-sections' '-g' '-mlittle-endian' '-mcpu=cortex-m0' '-mthumb' 
'-mfloat-abi=soft' '-mthumb' '-Wa,-mthumb' '-Wa,-mimplicit-it=always' 
'-isystem' '/home/pb/nuttxspace/nuttx/include' '-D__NuttX__' '-DNDEBUG' 
'-D__KERNEL__' '-I' '/home/pb/nuttxspace/nuttx/libs/libc' ./stdlib/lib_strtold.c
   make[2]: *** [/home/pb/nuttxspace/nuttx/tools/Config.mk:232: 
lib_strtold.ddc] Error 1
   make[2]: Leaving directory '/home/pb/nuttxspace/nuttx/libs/libc'
   make[1]: *** [Makefile:202: .depend] Error 2
   make[1]: Leaving directory '/home/pb/nuttxspace/nuttx/libs/libc'
   make: *** [tools/Unix.mk:660: pass2dep] Error 2 
   ```
   
   ### On which OS does this issue occur?
   
   [OS: Linux]
   
   ### What is the version of your OS?
   
   Fedora 41
   
   ### NuttX Version
   
   commit fa5590d5b19f1a224a7863bcc71a6c53ad74af64
   
   ### Issue Architecture
   
   [Arch: arm]
   
   ### Issue Area
   
   [Area: Build System]
   
   ### Host information
   
   _No response_
   
   ### Verification
   
   - [x] I have verified before submitting the report.


-- 
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: commits-unsubscr...@nuttx.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to