>>> ndisc6 1.0.4 Extracting bzcat /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/dl/ndisc6/ndisc6-1.0.4.tar.bz2 | /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/tar --strip-components=1 -C /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/ndisc6-1.0.4 -xf - >>> ndisc6 1.0.4 Patching Applying 0001-Fix-musl-build.patch using patch: patching file src/trace-tcp.c >>> ndisc6 1.0.4 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/ndisc6-1.0.4 -name $file); do cp support/gnuconfig/$file $i; done; done >>> ndisc6 1.0.4 Patching libtool >>> ndisc6 1.0.4 Configuring (cd /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/ndisc6-1.0.4/ && rm -rf config.cache && PATH="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin:/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/sbin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/usr/bin:/bin" AR="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-none-linux-gnueabi-ar" AS="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-none-linux-gnueabi-as" LD="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-none-linux-gnueabi-ld" NM="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-none-linux-gnueabi-nm" CC="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-none-linux-gnueabi-gcc" GCC="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-none-linux-gnueabi-gcc" CPP="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-none-linux-gnueabi-cpp" CXX="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-none-linux-gnueabi-g++" FC="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-none-linux-gnueabi-gfortran" F77="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-none-linux-gnueabi-gfortran" RANLIB="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-none-linux-gnueabi-ranlib" READELF="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-none-linux-gnueabi-readelf" STRIP="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-none-linux-gnueabi-strip" OBJCOPY="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-none-linux-gnueabi-objcopy" OBJDUMP="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-none-linux-gnueabi-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/include" CFLAGS_FOR_BUILD="-O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/include" LDFLAGS_FOR_BUILD="-L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/lib -Wl,-rpath,/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-none-linux-gnueabi-as" DEFAULT_LINKER="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-none-linux-gnueabi-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " LDFLAGS="" FCFLAGS=" -Os " FFLAGS=" -Os " PKG_CONFIG="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/pkg-config" STAGING_DIR="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/arm-buildroot-linux-gnueabi/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no CC="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-none-linux-gnueabi-gcc -std=c11" LIBS= CONFIG_SITE=/dev/null ./configure --target=arm-buildroot-linux-gnueabi --host=arm-buildroot-linux-gnueabi --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --enable-nls --disable-static --enable-shared --disable-rpath --disable-suid-install ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-static, --enable-shared configure: checking system... checking for build hostname... linuxtest5810.rockwellcollins.com configure: checking required programs... checking for arm-buildroot-linux-gnueabi-gcc... /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-none-linux-gnueabi-gcc -std=c11 checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-none-linux-gnueabi-gcc -std=c11 accepts -g... yes checking for /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-none-linux-gnueabi-gcc -std=c11 option to accept ISO C89... none needed checking whether /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-none-linux-gnueabi-gcc -std=c11 understands -c and -o together... yes checking for /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-none-linux-gnueabi-gcc -std=c11 option to accept ISO C99... none needed checking how to run the C preprocessor... /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-none-linux-gnueabi-cpp checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for arm-buildroot-linux-gnueabi-ranlib... /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-none-linux-gnueabi-ranlib checking for arm-buildroot-linux-gnueabi-ar... /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-none-linux-gnueabi-ar checking the archiver (/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-none-linux-gnueabi-ar) interface... ar checking for perl... /usr/bin/perl checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arm-buildroot-linux-gnueabi-strip... /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-none-linux-gnueabi-strip checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-none-linux-gnueabi-gcc -std=c11... none checking whether make supports nested variables... (cached) yes configure: checking required libraries... checking for clock_gettime in -lrt... yes checking for a sed that does not truncate output... /usr/bin/sed checking whether NLS is requested... yes checking for msgfmt... /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/msgfmt checking for gmsgfmt... /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/msgfmt checking for xgettext... /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/xgettext checking for msgmerge... /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/msgmerge checking build system type... x86_64-pc-linux-gnu checking host system type... arm-buildroot-linux-gnueabi checking for ld used by /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-none-linux-gnueabi-gcc -std=c11... /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-none-linux-gnueabi-ld checking if the linker (/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-none-linux-gnueabi-ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc configure: checking header files... checking whether to enable assertions... yes configure: checking library functions... checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for library containing getopt_long... none required checking for fdatasync... yes checking for inet6_rth_add... yes checking for ppoll... yes checking for library containing socket... none required checking for library containing inet_ntop... none required configure: checking optional features... checking if installed programs should be setuid... no configure: writing results... checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-static, --enable-shared >>> ndisc6 1.0.4 Building PATH="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin:/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/sbin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/usr/bin:/bin" /usr/bin/make -j8 -C /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/ndisc6-1.0.4/ make[1]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/ndisc6-1.0.4' /usr/bin/make all-recursive make[2]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/ndisc6-1.0.4' Making all in po make[3]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/ndisc6-1.0.4/po' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/ndisc6-1.0.4/po' make[3]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/ndisc6-1.0.4' CC src/addrinfo.o CC src/tcptraceroute6-tcptraceroute.o CC src/ndisc.o CC src/rdisc6-ndisc.o CC src/traceroute.o CC src/trace-tcp.o CC src/trace-udp.o CC src/trace-icmp.o src/trace-udp.c: In function 'send_udp_probe': src/trace-udp.c:56:12: error: 'struct udphdr' has no member named 'uh_sport' packet->uh.uh_sport = sport; ^ src/trace-udp.c:57:12: error: 'struct udphdr' has no member named 'uh_dport' packet->uh.uh_dport = htons(ntohs(port) + ttl); ^ src/trace-udp.c:62:12: error: 'struct udphdr' has no member named 'uh_ulen' packet->uh.uh_ulen = htons(plen); ^ src/trace-udp.c: In function 'parse_udp_error': src/trace-udp.c:77:23: error: 'const struct udphdr' has no member named 'uh_sport' if ((len < 4) || (puh->uh_sport != sport )) ^ In file included from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/bits/byteswap.h:34:0, from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/netinet/in.h:374, from src/trace-udp.c:34: src/trace-udp.c:80:20: error: 'const struct udphdr' has no member named 'uh_dport' rport = ntohs (puh->uh_dport); ^ make[3]: *** [src/trace-udp.o] Error 1 make[3]: *** Waiting for unfinished jobs.... src/trace-tcp.c: In function 'send_syn_probe': src/trace-tcp.c:62:12: error: 'struct tcphdr' has no member named 'th_sport' packet->th.th_sport = sport; ^ src/trace-tcp.c:63:12: error: 'struct tcphdr' has no member named 'th_dport' packet->th.th_dport = port; ^ src/trace-tcp.c:64:12: error: 'struct tcphdr' has no member named 'th_seq' packet->th.th_seq = htonl((ttl << 24) | (n << 16) | (getpid() & 0xffff)); ^ src/trace-tcp.c:65:12: error: 'struct tcphdr' has no member named 'th_off' packet->th.th_off = sizeof (packet->th) / 4; ^ src/trace-tcp.c:66:12: error: 'struct tcphdr' has no member named 'th_flags' packet->th.th_flags = TH_SYN | (ecn ? (TH_ECE | TH_CWR) : 0); ^ src/trace-tcp.c:66:24: error: 'TH_SYN' undeclared (first use in this function) packet->th.th_flags = TH_SYN | (ecn ? (TH_ECE | TH_CWR) : 0); ^ src/trace-tcp.c:66:24: note: each undeclared identifier is reported only once for each function it appears in src/trace-tcp.c:67:12: error: 'struct tcphdr' has no member named 'th_win' packet->th.th_win = htons(TCP_WINDOW); ^ src/trace-tcp.c: In function 'parse_syn_resp': src/trace-tcp.c:81:10: error: 'const struct tcphdr' has no member named 'th_dport' || (pth->th_dport != sport) ^ src/trace-tcp.c:82:10: error: 'const struct tcphdr' has no member named 'th_sport' || (pth->th_sport != port) ^ src/trace-tcp.c:83:11: error: 'const struct tcphdr' has no member named 'th_flags' || ((pth->th_flags & TH_ACK) == 0) ^ src/trace-tcp.c:83:24: error: 'TH_ACK' undeclared (first use in this function) || ((pth->th_flags & TH_ACK) == 0) ^ src/trace-tcp.c:84:12: error: 'const struct tcphdr' has no member named 'th_flags' || (((pth->th_flags & TH_SYN) != 0) == ((pth->th_flags & TH_RST) != 0)) ^ src/trace-tcp.c:84:25: error: 'TH_SYN' undeclared (first use in this function) || (((pth->th_flags & TH_SYN) != 0) == ((pth->th_flags & TH_RST) != 0)) ^ src/trace-tcp.c:84:47: error: 'const struct tcphdr' has no member named 'th_flags' || (((pth->th_flags & TH_SYN) != 0) == ((pth->th_flags & TH_RST) != 0)) ^ src/trace-tcp.c:84:60: error: 'TH_RST' undeclared (first use in this function) || (((pth->th_flags & TH_SYN) != 0) == ((pth->th_flags & TH_RST) != 0)) ^ src/trace-tcp.c:85:10: error: 'const struct tcphdr' has no member named 'th_off' || (pth->th_off < (sizeof (*pth) / 4))) ^ In file included from src/trace-tcp.c:35:0: src/trace-tcp.c:88:18: error: 'const struct tcphdr' has no member named 'th_ack' seq = ntohl (pth->th_ack) - 1; ^ src/trace-tcp.c:94:18: error: 'const struct tcphdr' has no member named 'th_flags' return 1 + ((pth->th_flags & TH_SYN) == TH_SYN); ^ src/trace-tcp.c: In function 'parse_syn_error': src/trace-tcp.c:106:10: error: 'const struct tcphdr' has no member named 'th_sport' || (pth->th_sport != sport) ^ src/trace-tcp.c:107:10: error: 'const struct tcphdr' has no member named 'th_dport' || (pth->th_dport != port)) ^ In file included from src/trace-tcp.c:35:0: src/trace-tcp.c:110:18: error: 'const struct tcphdr' has no member named 'th_seq' seq = ntohl (pth->th_seq); ^ src/trace-tcp.c: In function 'send_ack_probe': src/trace-tcp.c:140:12: error: 'struct tcphdr' has no member named 'th_sport' packet->th.th_sport = sport; ^ src/trace-tcp.c:141:12: error: 'struct tcphdr' has no member named 'th_dport' packet->th.th_dport = port; ^ src/trace-tcp.c:142:12: error: 'struct tcphdr' has no member named 'th_ack' packet->th.th_ack = htonl((ttl << 24) | (n << 16) | (getpid () & 0xffff)); ^ src/trace-tcp.c:143:12: error: 'struct tcphdr' has no member named 'th_off' packet->th.th_off = sizeof (packet->th) / 4; ^ src/trace-tcp.c:144:12: error: 'struct tcphdr' has no member named 'th_flags' packet->th.th_flags = TH_ACK; ^ src/trace-tcp.c:144:24: error: 'TH_ACK' undeclared (first use in this function) packet->th.th_flags = TH_ACK; ^ src/trace-tcp.c:145:12: error: 'struct tcphdr' has no member named 'th_win' packet->th.th_win = htons(TCP_WINDOW); ^ src/trace-tcp.c: In function 'parse_ack_resp': src/trace-tcp.c:159:10: error: 'const struct tcphdr' has no member named 'th_dport' || (pth->th_dport != sport) ^ src/trace-tcp.c:160:10: error: 'const struct tcphdr' has no member named 'th_sport' || (pth->th_sport != port) ^ src/trace-tcp.c:161:10: error: 'const struct tcphdr' has no member named 'th_flags' || (pth->th_flags & TH_SYN) ^ src/trace-tcp.c:161:23: error: 'TH_SYN' undeclared (first use in this function) || (pth->th_flags & TH_SYN) ^ src/trace-tcp.c:162:10: error: 'const struct tcphdr' has no member named 'th_flags' || (pth->th_flags & TH_ACK) ^ src/trace-tcp.c:162:23: error: 'TH_ACK' undeclared (first use in this function) || (pth->th_flags & TH_ACK) ^ src/trace-tcp.c:163:11: error: 'const struct tcphdr' has no member named 'th_flags' || ((pth->th_flags & TH_RST) == 0) ^ src/trace-tcp.c:163:24: error: 'TH_RST' undeclared (first use in this function) || ((pth->th_flags & TH_RST) == 0) ^ src/trace-tcp.c:164:10: error: 'const struct tcphdr' has no member named 'th_off' || (pth->th_off < (sizeof (*pth) / 4))) ^ In file included from src/trace-tcp.c:35:0: src/trace-tcp.c:167:18: error: 'const struct tcphdr' has no member named 'th_seq' seq = ntohl (pth->th_seq); ^ src/trace-tcp.c: In function 'parse_ack_error': src/trace-tcp.c:185:10: error: 'const struct tcphdr' has no member named 'th_sport' || (pth->th_sport != sport) ^ src/trace-tcp.c:186:10: error: 'const struct tcphdr' has no member named 'th_dport' || (pth->th_dport != port)) ^ In file included from src/trace-tcp.c:35:0: src/trace-tcp.c:189:18: error: 'const struct tcphdr' has no member named 'th_ack' seq = ntohl (pth->th_ack); ^ make[3]: *** [src/trace-tcp.o] Error 1 make[3]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/ndisc6-1.0.4' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/ndisc6-1.0.4' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/ndisc6-1.0.4' make: *** [/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/ndisc6-1.0.4/.stamp_built] Error 2 make: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/buildroot'