simbit18 commented on PR #18465:
URL: https://github.com/apache/nuttx/pull/18465#issuecomment-4019456482
@arjav1528 please fix
```
====================================================================================
Configuration/Tool: xmc4800-relax/nsh,CONFIG_ARM_TOOLCHAIN_GNU_EABI
2026-03-07 21:56:56
------------------------------------------------------------------------------------
Cleaning...
Configuring...
Disabling CONFIG_ARM_TOOLCHAIN_GNU_EABI
Enabling CONFIG_ARM_TOOLCHAIN_GNU_EABI
Building NuttX...
In file included from
/github/workspace/sources/nuttx/include/nuttx/kmalloc.h:34,
from
/github/workspace/sources/nuttx/include/nuttx/lib/lib.h:32,
from /github/workspace/sources/nuttx/include/stdio.h:37,
from
/tools/gcc-arm-none-eabi/arm-none-eabi/include/c++/13.2.1/cstdio:42,
from cxxtest_main.cxx:30:
Error: /github/workspace/sources/nuttx/include/stdlib.h:98:22: error:
conflicting declaration 'typedef struct div_s div_t'
98 | typedef struct div_s div_t;
| ^~~~~
In file included from
/tools/gcc-arm-none-eabi/arm-none-eabi/include/c++/13.2.1/cstdlib:79,
from
/tools/gcc-arm-none-eabi/arm-none-eabi/include/c++/13.2.1/bits/stl_algo.h:71,
from
/tools/gcc-arm-none-eabi/arm-none-eabi/include/c++/13.2.1/algorithm:61,
from cxxtest_main.cxx:29:
/tools/gcc-arm-none-eabi/arm-none-eabi/include/stdlib.h:39:3: note: previous
declaration as 'typedef struct div_t div_t'
39 | } div_t;
| ^~~~~
Error: /github/workspace/sources/nuttx/include/stdlib.h:108:23: error:
conflicting declaration 'typedef struct ldiv_s ldiv_t'
108 | typedef struct ldiv_s ldiv_t;
| ^~~~~~
/tools/gcc-arm-none-eabi/arm-none-eabi/include/stdlib.h:45:3: note: previous
declaration as 'typedef struct ldiv_t ldiv_t'
45 | } ldiv_t;
| ^~~~~~
Error: /github/workspace/sources/nuttx/include/stdlib.h:118:24: error:
conflicting declaration 'typedef struct lldiv_s lldiv_t'
118 | typedef struct lldiv_s lldiv_t;
| ^~~~~~~
/tools/gcc-arm-none-eabi/arm-none-eabi/include/stdlib.h:52:3: note: previous
declaration as 'typedef struct lldiv_t lldiv_t'
52 | } lldiv_t;
| ^~~~~~~
make[2]: *** [/github/workspace/sources/apps/Application.mk:324:
cxxtest_main.cxx.github.workspace.sources.apps.testing.cxx.cxxtest.o] Error 1
make[2]: Target 'all' not remade because of errors.
make[1]: *** [Makefile:54:
/github/workspace/sources/apps/testing/cxx/cxxtest_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 xmc4800-relax/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]