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

   ### Description / Steps to reproduce the issue
   
   macOS sim/can fails to build with this Error:
   
   ```
   
====================================================================================
   Configuration/Tool: sim/can
   2025-05-03 04:36:00
   
------------------------------------------------------------------------------------
     Cleaning...
     Configuring...
     Building NuttX...
   ./sim/posix/sim_hostcan.c:35:10: fatal error: 'linux/can.h' file not found
   #include <linux/can.h>
            ^~~~~~~~~~~~~
   1 error generated.
   ERROR: cc failed: 1
          command: cc -MT ./sim_hostcan.o  -M '-g' '-fomit-frame-pointer' 
'-fno-common' '-fvisibility=hidden' '-ffunction-sections' '-fdata-sections' 
'-Wall' '-Wstrict-prototypes' '-Wshadow' '-Wundef' '-Wno-attributes' 
'-Wno-unknown-pragmas' '-fno-pic' '-D__KERNEL__' '-Wno-cpp' '-Werror' 
'-D__SIM__' '-fvisibility=default' '-I' 
'/Users/runner/work/nuttx/nuttx/sources/nuttx/arch/sim/src' '-I' 
'/Users/runner/work/nuttx/nuttx/sources/nuttx/arch/sim/src/chip' 
'-Wno-deprecated-declarations' ./sim/posix/sim_hostcan.c
   make[2]: *** [sim_hostcan.ddh] Error 1
   make[2]: Target `makedepfile' not remade because of errors.
   make[1]: *** [.depend] Error 2
   make[1]: Target `depend' not remade because of errors.
   make: *** [pass2dep] Error 2
   make: Target `all' not remade because of errors.
   /Users/runner/work/nuttx/nuttx/sources/nuttx/tools/testbuild.sh: line 385: 
/Users/runner/work/nuttx/nuttx/sources/nuttx/../nuttx/nuttx.manifest: No such 
file or directory
     [1/1] Normalize sim/can
   On branch master
   Your branch is up to date with 'origin/master'.
   
   Untracked files:
        arch/sim/src/sim_hostcan.ddh
        arch/sim/src/sim_hostfs.ddh
        arch/sim/src/sim_hostirq.ddh
        arch/sim/src/sim_hostmemory.ddh
        arch/sim/src/sim_hostmisc.ddh
        arch/sim/src/sim_hostsmp.ddh
        arch/sim/src/sim_hosttime.ddh
        arch/sim/src/sim_hostuart.ddh
   
   nothing added to commit but untracked files present
   
====================================================================================
   ```
   
   Mirror of NuttX
   https://github.com/NuttX/nuttx/actions/runs/14807058411/job/41576970499#logs
   
   
   PR https://github.com/apache/nuttx/pull/16285
   
   ### On which OS does this issue occur?
   
   [OS: Mac]
   
   ### What is the version of your OS?
   
   MacOS at GitHub Actions
   
   ### NuttX Version
   
   master
   
   ### Issue Architecture
   
   [Arch: simulator]
   
   ### 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