simbit18 commented on PR #18331:
URL: https://github.com/apache/nuttx/pull/18331#issuecomment-4006397717
Hi @aditya0yadav, check our NuttX mirror.
The build on macOS still doesn't seem to be working properly!
====================================================================================
Configuration/Tool: sim/nsh
2026-03-05 16:45:18
------------------------------------------------------------------------------------
Cleaning...
compiler-rt/Make.defs:45: target `bin/compiler-rt/compiler-rt/lib/builtins'
given more than once in the same rule.
compiler-rt/Make.defs:45: target `kbin/compiler-rt/compiler-rt/lib/builtins'
given more than once in the same rule.
compiler-rt/Make.defs:45: target `bin/compiler-rt/compiler-rt/lib/builtins'
given more than once in the same rule.
compiler-rt/Make.defs:45: target `kbin/compiler-rt/compiler-rt/lib/builtins'
given more than once in the same rule.
Configuring...
Building NuttX...
compiler-rt/Make.defs:45: target `bin/compiler-rt/compiler-rt/lib/builtins'
given more than once in the same rule.
compiler-rt/Make.defs:45: target `kbin/compiler-rt/compiler-rt/lib/builtins'
given more than once in the same rule.
Error: sim/posix/sim_hosttime.c:40:8: error: unknown type name 'timer_t';
did you mean 'time_t'?
40 | static timer_t g_timer;
| ^~~~~~~
| time_t
/Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_time_t.h:31:33:
note: 'time_t' declared here
31 | typedef __darwin_time_t time_t;
| ^
Error: sim/posix/sim_hosttime.c:64:10: error: call to undeclared function
'timer_create'; ISO C99 and later do not support implicit function declarations
[-Wimplicit-function-declaration]
64 | return timer_create(CLOCK_MONOTONIC, &sigev, &g_timer);
| ^
Error: sim/posix/sim_hosttime.c:122:21: error: variable has incomplete type
'struct itimerspec'
122 | struct itimerspec tspec =
| ^
sim/posix/sim_hosttime.c:122:10: note: forward declaration of 'struct
itimerspec'
122 | struct itimerspec tspec =
| ^
Error: sim/posix/sim_hosttime.c:134:10: error: call to undeclared function
'timer_settime'; ISO C99 and later do not support implicit function
declarations [-Wimplicit-function-declaration]
134 | return timer_settime(g_timer, TIMER_ABSTIME, &tspec, NULL);
| ^
Error: sim/posix/sim_hosttime.c:134:33: error: use of undeclared identifier
'TIMER_ABSTIME'
134 | return timer_settime(g_timer, TIMER_ABSTIME, &tspec, NULL);
| ^
5 errors generated.
make[1]: *** [sim_hosttime.o] Error 1
make[1]: Target `nuttx' not remade because of errors.
make: *** [nuttx] 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/nsh
====================================================================================
https://github.com/NuttX/nuttx/actions/runs/22726058364/job/65901687969#logs
--
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]