OpenWrt/LEDE Project

  • Status Closed
  • Percent Complete
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Alexey Ermoshkin - 21.04.2017
Last edited by Jo-Philipp Wich - 21.04.2017

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

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]
  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 <anonymous>' has no member named 'sin6'
  if (inet_pton(AF_INET6, addrstr, &lsa->u.sin6.sin6_addr)) {
networking/nslookup_lede.c:306:9: error: 'union <anonymous>' has no member named 'sin6'
   lsa->u.sin6.sin6_family = AF_INET6;
networking/nslookup_lede.c:307:9: error: 'union <anonymous>' has no member named 'sin6'
   lsa->u.sin6.sin6_port = htons(port);
networking/nslookup_lede.c:308:9: error: 'union <anonymous>' has no member named 'sin6'
   lsa->u.sin6.sin6_scope_id = scope;
networking/nslookup_lede.c:309:27: error: 'union <anonymous>' has no member named 'sin6'
   lsa->len = sizeof(lsa->u.sin6);

Closed by  Jo-Philipp Wich
21.04.2017 11:22
Reason for closing:  Fixed


Available keyboard shortcuts


Task Details

Task Editing