[FS#728] BusyBox/nslookup_lede compile error when build without IPV6 support

LEDE Bugs lede-bugs at lists.infradead.org
Fri Apr 21 01:31:57 PDT 2017


A new Flyspray task has been opened.  Details are below. 

User who did this - Alexey Ermoshkin (samir) 

Attached to Project - LEDE Project
Summary - BusyBox/nslookup_lede compile error when build without IPV6 support
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - LEDE Trunk, 
busybox with custom config
make -j1 V=s


make[4]: Entering directory '/srv/RED/ow/LEDE/source/build_dir/target-mips_24kc_musl/busybox-1.26.2'
  SPLIT   include/autoconf.h -> include/config/*
  GEN     include/bbconfigopts.h
  GEN     include/common_bufsiz.h
  HOSTCC  applets/usage
applets/usage.c: In function 'main':
applets/usage.c:52:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
   write(STDOUT_FILENO, usage_array[i].usage, strlen(usage_array[i].usage) + 1);
   ^
  GEN     include/usage_compressed.h
  HOSTCC  applets/applet_tables
  GEN     include/applet_tables.h include/NUM_APPLETS.h
  GEN     include/applet_tables.h include/NUM_APPLETS.h
  CC      applets/applets.o
  LD      applets/built-in.o
  HOSTCC  applets/usage_pod
applets/usage_pod.c: In function 'main':
applets/usage_pod.c:74:3: warning: format not a string literal and no format arguments [-Wformat-security]
   printf(usage_array[i].aname);
   ^
  CC      libbb/appletlib.o
libbb/appletlib.c:558:12: warning: 'ingroup' defined but not used [-Wunused-function]
 static int ingroup(uid_t u, gid_t g)
            ^
  CC      libbb/lineedit.o
  AR      libbb/lib.a
  CC      networking/nslookup_lede.o
networking/nslookup_lede.c: In function 'parse_nsaddr':
networking/nslookup_lede.c:305:42: error: 'union ' has no member named 'sin6'
  if (inet_pton(AF_INET6, addrstr, &lsa->u.sin6.sin6_addr)) {
                                          ^
networking/nslookup_lede.c:306:9: error: 'union ' has no member named 'sin6'
   lsa->u.sin6.sin6_family = AF_INET6;
         ^
networking/nslookup_lede.c:307:9: error: 'union ' has no member named 'sin6'
   lsa->u.sin6.sin6_port = htons(port);
         ^
networking/nslookup_lede.c:308:9: error: 'union ' has no member named 'sin6'
   lsa->u.sin6.sin6_scope_id = scope;
         ^
networking/nslookup_lede.c:309:27: error: 'union ' has no member named 'sin6'
   lsa->len = sizeof(lsa->u.sin6);
                           ^

   

 

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=728



More information about the lede-bugs mailing list