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

   @arasnazmi this error occurs
   
   ```
   
====================================================================================
   Configuration/Tool: t3-gem-o1/nsh,CONFIG_ARM_TOOLCHAIN_GNU_EABI
   2026-02-19 11:35:49
   
------------------------------------------------------------------------------------
     Cleaning...
     Configuring...
     Disabling CONFIG_ARM_TOOLCHAIN_GNU_EABI
     Enabling CONFIG_ARM_TOOLCHAIN_GNU_EABI
     Building NuttX...
   Makefile:169: target 'arm_perf.o' given more than once in the same rule
   Makefile:169: target 'arm_perf.o' given more than once in the same rule
   Makefile:169: target 'arm_perf.o' given more than once in the same rule
   In file included from rpmsg/rpmsg.h:30,
                    from rpmsg/rpmsg.c:35:
   Error: /github/workspace/sources/nuttx/include/nuttx/rpmsg/rpmsg.h:70:3: 
error: unknown type name 'atomic_int'
      70 |   atomic_int                   signals;
         |   ^~~~~~~~~~
   rpmsg/rpmsg.c: In function 'rpmsg_register':
   Error: rpmsg/rpmsg.c:534:3: error: implicit declaration of function 
'atomic_store'; did you mean 'atomic_set'? 
[-Werror=implicit-function-declaration]
     534 |   atomic_store(&rpmsg->signals, RPMSG_SIGNAL_RUNNING);
         |   ^~~~~~~~~~~~
         |   atomic_set
   cc1: all warnings being treated as errors
   make[1]: *** [Makefile:109: rpmsg.o] Error 1
   rptun/rptun.c: In function 'rptun_dev_stop':
   Error: rptun/rptun.c:935:7: error: implicit declaration of function 
'nxsched_waitpid'; did you mean 'nxsched_getpid'? 
[-Werror=implicit-function-declaration]
     935 |       nxsched_waitpid(priv->pid, NULL, WEXITED);
         |       ^~~~~~~~~~~~~~~
         |       nxsched_getpid
   Error: rptun/rptun.c:935:40: error: 'WEXITED' undeclared (first use in this 
function); did you mean 'CLD_EXITED'?
     935 |       nxsched_waitpid(priv->pid, NULL, WEXITED);
         |                                        ^~~~~~~
         |                                        CLD_EXITED
   rptun/rptun.c:935:40: note: each undeclared identifier is reported only once 
for each function it appears in
   cc1: all warnings being treated as errors
   make[1]: *** [Makefile:109: rptun.o] Error 1
   make[1]: Target 'libdrivers.a' not remade because of errors.
   make: *** [tools/LibTargets.mk:107: drivers/libdrivers.a] Error 2
   Makefile:169: target 'arm_perf.o' given more than once in the same rule
   In file included from 
/github/workspace/sources/nuttx/include/nuttx/rptun/rptun.h:35,
                    from chip/am67_boot.c:29:
   Error: /github/workspace/sources/nuttx/include/nuttx/rpmsg/rpmsg.h:70:3: 
error: unknown type name 'atomic_int'
      70 |   atomic_int                   signals;
         |   ^~~~~~~~~~
   make[1]: *** [Makefile:170: am67_boot.o] Error 1
   make[1]: Target 'libarch.a' not remade because of errors.
   make: *** [tools/LibTargets.mk:170: arch/arm/src/libarch.a] Error 2
   In file included from nsh_syscmds.c:30:
   Error: /github/workspace/sources/nuttx/include/nuttx/rpmsg/rpmsg.h:70:3: 
error: unknown type name 'atomic_int'
      70 |   atomic_int                   signals;
         |   ^~~~~~~~~~
   make[2]: *** [/github/workspace/sources/apps/Application.mk:239: 
nsh_syscmds.c.github.workspace.sources.apps.nshlib.o] Error 1
   make[2]: Target 'all' not remade because of errors.
   make[1]: *** [Makefile:54: /github/workspace/sources/apps/nshlib_all] Error 2
   make[1]: Target 'all' not remade because of errors.
   make: *** [tools/LibTargets.mk:248: 
/github/workspace/sources/apps/libapps.a] Error 2
   make: Target 'all' not remade because of errors.
   /github/workspace/sources/nuttx/tools/testbuild.sh: line 385: 
/github/workspace/sources/nuttx/../nuttx/nuttx.manifest: No such file or 
directory
     [1/1] Normalize t3-gem-o1/nsh
   
====================================================================================
   ```


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