simbit18 commented on PR #3451:
URL: https://github.com/apache/nuttx-apps/pull/3451#issuecomment-4237137914

   Hi @masc2008, please fix
   
   
====================================================================================
   Configuration/Tool: lx_cpu/nsh,CONFIG_ARM_TOOLCHAIN_GNU_EABI
   2026-04-13 11:41:57
   
------------------------------------------------------------------------------------
     Cleaning...
     Configuring...
     Disabling CONFIG_ARM_TOOLCHAIN_GNU_EABI
     Enabling CONFIG_ARM_TOOLCHAIN_GNU_EABI
     Building NuttX...
   netlib_obtainipv4addr.c: In function 'dhcp_set_ntp_servers':
   Error: netlib_obtainipv4addr.c:118:24: error: 
'CONFIG_NETUTILS_DHCPC_NTP_SERVER_NUM' undeclared (first use in this function); 
did you mean 'CONFIG_NETUTILS_DHCPC_NTP_SERVERS'?
     118 |   char ntp_server_list[CONFIG_NETUTILS_DHCPC_NTP_SERVER_NUM *
         |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         |                        CONFIG_NETUTILS_DHCPC_NTP_SERVERS
   netlib_obtainipv4addr.c:118:24: note: each undeclared identifier is reported 
only once for each function it appears in
   Error: netlib_obtainipv4addr.c:118:8: error: unused variable 
'ntp_server_list' [-Werror=unused-variable]
     118 |   char ntp_server_list[CONFIG_NETUTILS_DHCPC_NTP_SERVER_NUM *
         |        ^~~~~~~~~~~~~~~
   Error: netlib_obtainipv4addr.c:163:1: error: control reaches end of non-void 
function [-Werror=return-type]
     163 | }
         | ^
   cc1: all warnings being treated as errors
   make[2]: *** [/github/workspace/sources/apps/Application.mk:239: 
netlib_obtainipv4addr.c.github.workspace.sources.apps.netutils.netlib.o] Error 1
   make[2]: Target 'all' not remade because of errors.
   make[1]: *** [Makefile:54: 
/github/workspace/sources/apps/netutils/netlib_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 lx_cpu/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