acassis commented on PR #3206: URL: https://github.com/apache/nuttx-apps/pull/3206#issuecomment-3686516219
> > @nuttxs hi, dhcpc doesn't compile now when `CONFIG_NETDB_DNSSERVER_NAMESERVERS` is not defined. If this was intended then you need to add `depends on LIBC_NETDB_DNSCLIENT` for dhcpc, if it was not intended then please fix the build. > > @raiden00pl Thank you for identifying the issue. When the DNS client is disabled (CONFIG_NETDB_DNSCLIENT is not defined), the DHCP client should not request, parse, or print any DNS-server options. I will wrap all DNS-related fields and logic with > > ``` > #if defined(CONFIG_NETDB_DNSCLIENT) && defined(CONFIG_LIBC_NETDB) > ... > #endif > ``` > > to resolve the current build issue. @nuttxs also, please add an #else warning "CONFIG_NETDB_DNSCLIENT and CONFIG_LIBC_NETDB not define, DNS support is missing" -- 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]
