xiaoxiang781216 commented on PR #6057:
URL: https://github.com/apache/incubator-nuttx/pull/6057#issuecomment-1099904213
@JacobCrabill the follow error need be fixed before merging:
```
warning: (CANUTILS_CANDUMP && CANUTILS_CANSEND) selects CANUTILS_LIBCANUTILS
which has unmet direct dependencies (NET_CAN && ALLOW_GPL_COMPONENTS)
Disabling CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIL
Enabling CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIL
warning: (CANUTILS_CANDUMP && CANUTILS_CANSEND) selects CANUTILS_LIBCANUTILS
which has unmet direct dependencies (NET_CAN && ALLOW_GPL_COMPONENTS)
warning: (CANUTILS_CANDUMP && CANUTILS_CANSEND) selects CANUTILS_LIBCANUTILS
which has unmet direct dependencies (NET_CAN && ALLOW_GPL_COMPONENTS)
Building NuttX...
Error: syslog/syslog_channel.c:142:3: error: excess elements in array
initializer [-Werror]
142 | &g_ramlog_channel,
| ^
syslog/syslog_channel.c:142:3: note: (near initialization for
'g_syslog_channel')
cc1: all warnings being treated as errors
make[1]: *** [Makefile:91: syslog_channel.o] Error 1
make[1]: Target 'libdrivers.a' not remade because of errors.
make: *** [tools/LibTargets.mk:89: drivers/libdrivers.a] Error 2
slcan.c: In function 'slcan_main':
Error: slcan.c:359:40: error: 'union <anonymous>' has no member named
'ifru_can_data'; did you mean 'ifru_mii_data'?
359 | ifr.ifr_ifru.ifru_can_data.arbi_bitrate =
| ^~~~~~~~~~~~~
| ifru_mii_data
Error: slcan.c:361:40: error: 'union <anonymous>' has no member named
'ifru_can_data'; did you mean 'ifru_mii_data'?
361 | ifr.ifr_ifru.ifru_can_data.arbi_samplep =
80;
| ^~~~~~~~~~~~~
| ifru_mii_data
```
--
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]