>>> ndisc6 1.0.4 Extracting bzcat /home/buildroot/autobuild/instance-2/dl/ndisc6/ndisc6-1.0.4.tar.bz2 | tar --strip-components=1 -C /home/buildroot/autobuild/instance-2/output-1/build/ndisc6-1.0.4 -xf - >>> ndisc6 1.0.4 Patching >>> ndisc6 1.0.4 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/buildroot/autobuild/instance-2/output-1/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 /home/buildroot/autobuild/instance-2/output-1/build/ndisc6-1.0.4/ && rm -rf config.cache && PATH="/home/buildroot/autobuild/instance-2/output-1/host/bin:/home/buildroot/autobuild/instance-2/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/buildroot/.local/bin" AR="/home/buildroot/autobuild/instance-2/output-1/host/bin/x86_64-linux-ar" AS="/home/buildroot/autobuild/instance-2/output-1/host/bin/x86_64-linux-as" LD="/home/buildroot/autobuild/instance-2/output-1/host/bin/x86_64-linux-ld" NM="/home/buildroot/autobuild/instance-2/output-1/host/bin/x86_64-linux-nm" CC="/home/buildroot/autobuild/instance-2/output-1/host/bin/x86_64-linux-gcc" GCC="/home/buildroot/autobuild/instance-2/output-1/host/bin/x86_64-linux-gcc" CPP="/home/buildroot/autobuild/instance-2/output-1/host/bin/x86_64-linux-cpp" CXX="/home/buildroot/autobuild/instance-2/output-1/host/bin/x86_64-linux-g++" FC="/home/buildroot/autobuild/instance-2/output-1/host/bin/x86_64-linux-gfortran" F77="/home/buildroot/autobuild/instance-2/output-1/host/bin/x86_64-linux-gfortran" RANLIB="/home/buildroot/autobuild/instance-2/output-1/host/bin/x86_64-linux-ranlib" READELF="/home/buildroot/autobuild/instance-2/output-1/host/bin/x86_64-linux-readelf" STRIP="/home/buildroot/autobuild/instance-2/output-1/host/bin/x86_64-linux-strip" OBJCOPY="/home/buildroot/autobuild/instance-2/output-1/host/bin/x86_64-linux-objcopy" OBJDUMP="/home/buildroot/autobuild/instance-2/output-1/host/bin/x86_64-linux-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/home/buildroot/autobuild/instance-2/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-2/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-2/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/autobuild/instance-2/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-2/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/autobuild/instance-2/output-1/host/bin/x86_64-linux-as" DEFAULT_LINKER="/home/buildroot/autobuild/instance-2/output-1/host/bin/x86_64-linux-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="/home/buildroot/autobuild/instance-2/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/autobuild/instance-2/output-1/host/x86_64-buildroot-linux-musl/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=no 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="/home/buildroot/autobuild/instance-2/output-1/host/bin/x86_64-linux-gcc -std=gnu99" LIBS=-lintl CONFIG_SITE=/dev/null ./configure --target=x86_64-buildroot-linux-musl --host=x86_64-buildroot-linux-musl --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... gcc160.bak.milne.osuosl.org configure: checking required programs... checking for x86_64-buildroot-linux-musl-gcc... /home/buildroot/autobuild/instance-2/output-1/host/bin/x86_64-linux-gcc -std=gnu99 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 /home/buildroot/autobuild/instance-2/output-1/host/bin/x86_64-linux-gcc -std=gnu99 accepts -g... yes checking for /home/buildroot/autobuild/instance-2/output-1/host/bin/x86_64-linux-gcc -std=gnu99 option to accept ISO C89... none needed checking whether /home/buildroot/autobuild/instance-2/output-1/host/bin/x86_64-linux-gcc -std=gnu99 understands -c and -o together... yes checking for /home/buildroot/autobuild/instance-2/output-1/host/bin/x86_64-linux-gcc -std=gnu99 option to accept ISO C99... none needed checking how to run the C preprocessor... /home/buildroot/autobuild/instance-2/output-1/host/bin/x86_64-linux-cpp checking for grep that handles long lines and -e... /bin/grep checking for egrep... /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 x86_64-buildroot-linux-musl-ranlib... /home/buildroot/autobuild/instance-2/output-1/host/bin/x86_64-linux-ranlib checking for x86_64-buildroot-linux-musl-ar... /home/buildroot/autobuild/instance-2/output-1/host/bin/x86_64-linux-ar checking the archiver (/home/buildroot/autobuild/instance-2/output-1/host/bin/x86_64-linux-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 x86_64-buildroot-linux-musl-strip... /home/buildroot/autobuild/instance-2/output-1/host/bin/x86_64-linux-strip checking for a thread-safe mkdir -p... /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 /home/buildroot/autobuild/instance-2/output-1/host/bin/x86_64-linux-gcc -std=gnu99... 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... /bin/sed checking whether NLS is requested... yes checking for msgfmt... /home/buildroot/autobuild/instance-2/output-1/host/bin/msgfmt checking for gmsgfmt... /home/buildroot/autobuild/instance-2/output-1/host/bin/msgfmt checking for xgettext... /home/buildroot/autobuild/instance-2/output-1/host/bin/xgettext checking for msgmerge... /home/buildroot/autobuild/instance-2/output-1/host/bin/msgmerge checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-buildroot-linux-musl checking for ld used by /home/buildroot/autobuild/instance-2/output-1/host/bin/x86_64-linux-gcc -std=gnu99... /home/buildroot/autobuild/instance-2/output-1/host/bin/x86_64-linux-ld checking if the linker (/home/buildroot/autobuild/instance-2/output-1/host/bin/x86_64-linux-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... no checking for iconv... yes checking for working iconv... guessing yes checking for GNU gettext in libintl... yes checking whether to use NLS... yes checking where the gettext function comes from... external libintl checking how to link with libintl... -lintl 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... no 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="/home/buildroot/autobuild/instance-2/output-1/host/bin:/home/buildroot/autobuild/instance-2/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/buildroot/.local/bin" /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-2/output-1/build/ndisc6-1.0.4/ make[1]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/ndisc6-1.0.4' /usr/bin/make all-recursive make[2]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/ndisc6-1.0.4' Making all in po make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/ndisc6-1.0.4/po' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/ndisc6-1.0.4/po' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/ndisc6-1.0.4' ALIAS tcpspray6 ALIAS addr2name SED dnssort SED merge-hook ALIAS tracert6 CC src/tcpspray.o SED doc/rdnssd.8 CC compat/dummy.o CC compat/inet6_rth_add.o 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 src/trace-tcp.c: In function 'send_syn_probe': src/trace-tcp.c:52:21: error: invalid application of 'sizeof' to incomplete type 'struct tcphdr' if (plen < sizeof (struct tcphdr)) ^~~~~~ src/trace-tcp.c:53:18: error: invalid application of 'sizeof' to incomplete type 'struct tcphdr' plen = sizeof (struct tcphdr); ^~~~~~ In file included from src/trace-tcp.c:29:0: src/trace-tcp.c:55:2: error: invalid application of '__alignof__' to incomplete type 'struct tcphdr' alignas (struct tcphdr) char buf[plen]; ^ src/trace-tcp.c:58:17: error: field 'th' has incomplete type struct tcphdr th; ^~ src/trace-tcp.c:59:11: error: flexible array member in a struct with no named members uint8_t payload[]; ^~~~~~~ src/trace-tcp.c:67:24: error: 'TH_SYN' undeclared (first use in this function); did you mean 'TH_CWR'? packet->th.th_flags = TH_SYN | (ecn ? (TH_ECE | TH_CWR) : 0); ^~~~~~ TH_CWR src/trace-tcp.c:67:24: note: each undeclared identifier is reported only once for each function it appears in src/trace-tcp.c: In function 'parse_syn_resp': src/trace-tcp.c:81:21: error: dereferencing pointer to incomplete type 'const struct tcphdr' if ((len < sizeof (*pth)) ^~~~ src/trace-tcp.c:84:24: error: 'TH_ACK' undeclared (first use in this function); did you mean 'TH_ECE'? || ((pth->th_flags & TH_ACK) == 0) ^~~~~~ TH_ECE src/trace-tcp.c:85:25: error: 'TH_SYN' undeclared (first use in this function); did you mean 'TH_ACK'? || (((pth->th_flags & TH_SYN) != 0) == ((pth->th_flags & TH_RST) != 0)) ^~~~~~ TH_ACK src/trace-tcp.c:85:60: error: 'TH_RST' undeclared (first use in this function); did you mean 'TH_SYN'? || (((pth->th_flags & TH_SYN) != 0) == ((pth->th_flags & TH_RST) != 0)) ^~~~~~ TH_SYN src/trace-tcp.c: In function 'parse_syn_error': src/trace-tcp.c:107:10: error: dereferencing pointer to incomplete type 'const struct tcphdr' || (pth->th_sport != sport) ^~ src/trace-tcp.c: In function 'send_ack_probe': src/trace-tcp.c:130:21: error: invalid application of 'sizeof' to incomplete type 'struct tcphdr' if (plen < sizeof (struct tcphdr)) ^~~~~~ src/trace-tcp.c:131:18: error: invalid application of 'sizeof' to incomplete type 'struct tcphdr' plen = sizeof (struct tcphdr); ^~~~~~ In file included from src/trace-tcp.c:29:0: src/trace-tcp.c:133:2: error: invalid application of '__alignof__' to incomplete type 'struct tcphdr' alignas (struct tcphdr) char buf[plen]; ^ src/trace-tcp.c:136:17: error: field 'th' has incomplete type struct tcphdr th; ^~ src/trace-tcp.c:137:11: error: flexible array member in a struct with no named members uint8_t payload[]; ^~~~~~~ src/trace-tcp.c:145:24: error: 'TH_ACK' undeclared (first use in this function); did you mean 'TH_ECE'? packet->th.th_flags = TH_ACK; ^~~~~~ TH_ECE src/trace-tcp.c: In function 'parse_ack_resp': src/trace-tcp.c:159:21: error: dereferencing pointer to incomplete type 'const struct tcphdr' if ((len < sizeof (*pth)) ^~~~ src/trace-tcp.c:162:23: error: 'TH_SYN' undeclared (first use in this function); did you mean 'TH_CWR'? || (pth->th_flags & TH_SYN) ^~~~~~ TH_CWR src/trace-tcp.c:163:23: error: 'TH_ACK' undeclared (first use in this function); did you mean 'TH_ECE'? || (pth->th_flags & TH_ACK) ^~~~~~ TH_ECE src/trace-tcp.c:164:24: error: 'TH_RST' undeclared (first use in this function); did you mean 'TH_ACK'? || ((pth->th_flags & TH_RST) == 0) ^~~~~~ TH_ACK src/trace-tcp.c: In function 'parse_ack_error': src/trace-tcp.c:186:10: error: dereferencing pointer to incomplete type 'const struct tcphdr' || (pth->th_sport != sport) ^~ Makefile:1163: recipe for target 'src/trace-tcp.o' failed make[3]: *** [src/trace-tcp.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/ndisc6-1.0.4' Makefile:1290: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/ndisc6-1.0.4' Makefile:607: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/ndisc6-1.0.4' package/pkg-generic.mk:238: recipe for target '/home/buildroot/autobuild/instance-2/output-1/build/ndisc6-1.0.4/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-2/output-1/build/ndisc6-1.0.4/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-2/buildroot'