This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.69. Invocation command line was $ /nvmedata/autobuild/instance-29/output-1/build/host-gcc-final-11.2.0/c++tools/configure --srcdir=../../c++tools --cache-file=./config.cache --prefix=/nvmedata/autobuild/instance-29/output-1/host --sysconfdir=/nvmedata/autobuild/instance-29/output-1/host/etc --enable-static --with-sysroot=/nvmedata/autobuild/instance-29/output-1/host/nios2-buildroot-linux-gnu/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/nvmedata/autobuild/instance-29/output-1/host --with-mpc=/nvmedata/autobuild/instance-29/output-1/host --with-mpfr=/nvmedata/autobuild/instance-29/output-1/host --with-pkgversion=Buildroot 2022.02-531-g130cfc74d7 --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libquadmath --disable-libquadmath-support --enable-tls --enable-threads --without-isl --without-cloog --with-build-time-tools=/nvmedata/autobuild/instance-29/output-1/host/nios2-buildroot-linux-gnu/bin --disable-shared --disable-libgomp --enable-languages=c,lto --program-transform-name=s&^&nios2-buildroot-linux-gnu-& --disable-option-checking --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=nios2-buildroot-linux-gnu ## --------- ## ## Platform. ## ## --------- ## hostname = james-x399 uname -m = x86_64 uname -r = 5.13.0-39-generic uname -s = Linux uname -v = #44~20.04.1-Ubuntu SMP Thu Mar 24 16:43:35 UTC 2022 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /nvmedata/autobuild/instance-29/output-1/host/bin PATH: /nvmedata/autobuild/instance-29/output-1/host/sbin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /snap/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2028: creating cache ./config.cache configure:2138: checking build system type configure:2152: result: x86_64-pc-linux-gnu configure:2190: checking host system type configure:2203: result: x86_64-pc-linux-gnu configure:2223: checking target system type configure:2236: result: nios2-buildroot-linux-gnu configure:2277: checking for a BSD-compatible install configure:2345: result: /usr/bin/install -c configure:2471: checking for C++ compiler version configure:2480: /usr/bin/g++ --version >&5 g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 Copyright (C) 2019 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:2491: $? = 0 configure:2480: /usr/bin/g++ -v >&5 Using built-in specs. COLLECT_GCC=/usr/bin/g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none:hsa OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04.1' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-Av3uEd/gcc-9-9.4.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1) configure:2491: $? = 0 configure:2480: /usr/bin/g++ -V >&5 g++: error: unrecognized command line option '-V' g++: fatal error: no input files compilation terminated. configure:2491: $? = 1 configure:2480: /usr/bin/g++ -qversion >&5 g++: error: unrecognized command line option '-qversion'; did you mean '--version'? g++: fatal error: no input files compilation terminated. configure:2491: $? = 1 configure:2511: checking whether the C++ compiler works configure:2533: /usr/bin/g++ -O2 -I/nvmedata/autobuild/instance-29/output-1/host/include -static-libstdc++ -static-libgcc -L/nvmedata/autobuild/instance-29/output-1/host/lib -Wl,-rpath,/nvmedata/autobuild/instance-29/output-1/host/lib conftest.cpp >&5 configure:2537: $? = 0 configure:2585: result: yes configure:2588: checking for C++ compiler default output file name configure:2590: result: a.out configure:2596: checking for suffix of executables configure:2603: /usr/bin/g++ -o conftest -O2 -I/nvmedata/autobuild/instance-29/output-1/host/include -static-libstdc++ -static-libgcc -L/nvmedata/autobuild/instance-29/output-1/host/lib -Wl,-rpath,/nvmedata/autobuild/instance-29/output-1/host/lib conftest.cpp >&5 configure:2607: $? = 0 configure:2629: result: configure:2651: checking whether we are cross compiling configure:2659: /usr/bin/g++ -o conftest -O2 -I/nvmedata/autobuild/instance-29/output-1/host/include -static-libstdc++ -static-libgcc -L/nvmedata/autobuild/instance-29/output-1/host/lib -Wl,-rpath,/nvmedata/autobuild/instance-29/output-1/host/lib conftest.cpp >&5 configure:2663: $? = 0 configure:2670: ./conftest configure:2674: $? = 0 configure:2662: result: no configure:2667: checking for suffix of object files configure:2689: /usr/bin/g++ -c -O2 -I/nvmedata/autobuild/instance-29/output-1/host/include conftest.cpp >&5 configure:2693: $? = 0 configure:2714: result: o configure:2718: checking whether we are using the GNU C++ compiler configure:2737: /usr/bin/g++ -c -O2 -I/nvmedata/autobuild/instance-29/output-1/host/include conftest.cpp >&5 configure:2737: $? = 0 configure:2746: result: yes configure:2755: checking whether /usr/bin/g++ accepts -g configure:2775: /usr/bin/g++ -c -g conftest.cpp >&5 configure:2775: $? = 0 configure:2816: result: yes configure:2844: checking for autoconf configure:2860: found /usr/bin/autoconf configure:2871: result: autoconf configure:2887: checking for autoheader configure:2903: found /usr/bin/autoheader configure:2914: result: autoheader configure:2927: checking whether to build C++ tools configure:2937: result: yes configure:2954: checking maintainer-mode configure:2956: result: no configure:2980: checking for x86_64-pc-linux-gnu-gcc configure:3007: result: /usr/bin/gcc configure:3276: checking for C compiler version configure:3285: /usr/bin/gcc --version >&5 gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 Copyright (C) 2019 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3296: $? = 0 configure:3285: /usr/bin/gcc -v >&5 Using built-in specs. COLLECT_GCC=/usr/bin/gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none:hsa OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04.1' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-Av3uEd/gcc-9-9.4.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1) configure:3296: $? = 0 configure:3285: /usr/bin/gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:3296: $? = 1 configure:3285: /usr/bin/gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion'; did you mean '--version'? gcc: fatal error: no input files compilation terminated. configure:3296: $? = 1 configure:3300: checking whether we are using the GNU C compiler configure:3319: /usr/bin/gcc -c -O2 -I/nvmedata/autobuild/instance-29/output-1/host/include conftest.c >&5 configure:3319: $? = 0 configure:3328: result: yes configure:3337: checking whether /usr/bin/gcc accepts -g configure:3357: /usr/bin/gcc -c -g conftest.c >&5 configure:3357: $? = 0 configure:3398: result: yes configure:3415: checking for /usr/bin/gcc option to accept ISO C89 configure:3478: /usr/bin/gcc -c -O2 -I/nvmedata/autobuild/instance-29/output-1/host/include conftest.c >&5 configure:3478: $? = 0 configure:3491: result: none needed configure:3512: checking for O_CLOEXEC configure:3531: /usr/bin/gcc -c -O2 -I/nvmedata/autobuild/instance-29/output-1/host/include conftest.c >&5 configure:3531: $? = 0 configure:3538: result: yes configure:3551: checking how to run the C preprocessor configure:3582: /usr/bin/gcc -E conftest.c configure:3582: $? = 0 configure:3596: /usr/bin/gcc -E conftest.c conftest.c:10:10: fatal error: ac_nonexistent.h: No such file or directory 10 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:3596: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define HOST_HAS_O_CLOEXEC 1 | /* end confdefs.h. */ | #include configure:3621: result: /usr/bin/gcc -E configure:3641: /usr/bin/gcc -E conftest.c configure:3641: $? = 0 configure:3655: /usr/bin/gcc -E conftest.c conftest.c:10:10: fatal error: ac_nonexistent.h: No such file or directory 10 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:3655: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define HOST_HAS_O_CLOEXEC 1 | /* end confdefs.h. */ | #include configure:3684: checking for grep that handles long lines and -e configure:3742: result: /bin/grep configure:3747: checking for egrep configure:3809: result: /bin/grep -E configure:3814: checking for ANSI C header files configure:3834: /usr/bin/gcc -c -O2 -I/nvmedata/autobuild/instance-29/output-1/host/include conftest.c >&5 configure:3834: $? = 0 configure:3907: /usr/bin/gcc -o conftest -O2 -I/nvmedata/autobuild/instance-29/output-1/host/include -static-libstdc++ -static-libgcc -L/nvmedata/autobuild/instance-29/output-1/host/lib -Wl,-rpath,/nvmedata/autobuild/instance-29/output-1/host/lib conftest.c >&5 configure:3907: $? = 0 configure:3907: ./conftest configure:3907: $? = 0 configure:3918: result: yes configure:3931: checking for sys/types.h configure:3931: /usr/bin/gcc -c -O2 -I/nvmedata/autobuild/instance-29/output-1/host/include conftest.c >&5 configure:3931: $? = 0 configure:3931: result: yes configure:3931: checking for sys/stat.h configure:3931: /usr/bin/gcc -c -O2 -I/nvmedata/autobuild/instance-29/output-1/host/include conftest.c >&5 configure:3931: $? = 0 configure:3931: result: yes configure:3931: checking for stdlib.h configure:3931: /usr/bin/gcc -c -O2 -I/nvmedata/autobuild/instance-29/output-1/host/include conftest.c >&5 configure:3931: $? = 0 configure:3931: result: yes configure:3931: checking for string.h configure:3931: /usr/bin/gcc -c -O2 -I/nvmedata/autobuild/instance-29/output-1/host/include conftest.c >&5 configure:3931: $? = 0 configure:3931: result: yes configure:3931: checking for memory.h configure:3931: /usr/bin/gcc -c -O2 -I/nvmedata/autobuild/instance-29/output-1/host/include conftest.c >&5 configure:3931: $? = 0 configure:3931: result: yes configure:3931: checking for strings.h configure:3931: /usr/bin/gcc -c -O2 -I/nvmedata/autobuild/instance-29/output-1/host/include conftest.c >&5 configure:3931: $? = 0 configure:3931: result: yes configure:3931: checking for inttypes.h configure:3931: /usr/bin/gcc -c -O2 -I/nvmedata/autobuild/instance-29/output-1/host/include conftest.c >&5 configure:3931: $? = 0 configure:3931: result: yes configure:3931: checking for stdint.h configure:3931: /usr/bin/gcc -c -O2 -I/nvmedata/autobuild/instance-29/output-1/host/include conftest.c >&5 configure:3931: $? = 0 configure:3931: result: yes configure:3931: checking for unistd.h configure:3931: /usr/bin/gcc -c -O2 -I/nvmedata/autobuild/instance-29/output-1/host/include conftest.c >&5 configure:3931: $? = 0 configure:3931: result: yes configure:3945: checking sys/mman.h usability configure:3945: /usr/bin/gcc -c -O2 -I/nvmedata/autobuild/instance-29/output-1/host/include conftest.c >&5 configure:3945: $? = 0 configure:3945: result: yes configure:3945: checking sys/mman.h presence configure:3945: /usr/bin/gcc -E conftest.c configure:3945: $? = 0 configure:3945: result: yes configure:3945: checking for sys/mman.h configure:3945: result: yes configure:3963: checking for AF_UNIX configure:3988: /usr/bin/gcc -c -O2 -I/nvmedata/autobuild/instance-29/output-1/host/include conftest.c >&5 conftest.c: In function 'main': conftest.c:30:1: error: unknown type name 'sockaddr_un'; use 'struct' keyword to refer to the type 30 | sockaddr_un un; | ^~~~~~~~~~~ | struct conftest.c:31:3: error: request for member 'sun_family' in something not a structure or union 31 | un.sun_family = AF_UNSPEC; | ^ conftest.c:33:15: error: 'sockaddr' undeclared (first use in this function) 33 | connect (fd, (sockaddr *)&un, sizeof (un)); | ^~~~~~~~ conftest.c:33:15: note: each undeclared identifier is reported only once for each function it appears in conftest.c:33:25: error: expected expression before ')' token 33 | connect (fd, (sockaddr *)&un, sizeof (un)); | ^ conftest.c:33:1: error: too few arguments to function 'connect' 33 | connect (fd, (sockaddr *)&un, sizeof (un)); | ^~~~~~~ In file included from conftest.c:23: /usr/include/x86_64-linux-gnu/sys/socket.h:126:12: note: declared here 126 | extern int connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len); | ^~~~~~~ configure:3988: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define HOST_HAS_O_CLOEXEC 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_MMAN_H 1 | /* end confdefs.h. */ | | #include | #include | #include | #include | int | main () | { | | sockaddr_un un; | un.sun_family = AF_UNSPEC; | int fd = socket (AF_UNIX, SOCK_STREAM, 0); | connect (fd, (sockaddr *)&un, sizeof (un)); | ; | return 0; | } configure:3995: result: no configure:4005: checking for AF_INET6 configure:4042: /usr/bin/gcc -c -O2 -I/nvmedata/autobuild/instance-29/output-1/host/include conftest.c >&5 conftest.c: In function 'main': conftest.c:30:1: error: unknown type name 'sockaddr_in6'; use 'struct' keyword to refer to the type 30 | sockaddr_in6 in6; | ^~~~~~~~~~~~ | struct conftest.c:31:4: error: request for member 'sin6_family' in something not a structure or union 31 | in6.sin6_family = AF_UNSPEC; | ^ conftest.c:45:15: error: 'sockaddr' undeclared (first use in this function) 45 | connect (fd, (sockaddr *)&in6, sizeof (in6)); | ^~~~~~~~ conftest.c:45:15: note: each undeclared identifier is reported only once for each function it appears in conftest.c:45:25: error: expected expression before ')' token 45 | connect (fd, (sockaddr *)&in6, sizeof (in6)); | ^ conftest.c:45:1: error: too few arguments to function 'connect' 45 | connect (fd, (sockaddr *)&in6, sizeof (in6)); | ^~~~~~~ In file included from conftest.c:23: /usr/include/x86_64-linux-gnu/sys/socket.h:126:12: note: declared here 126 | extern int connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len); | ^~~~~~~ configure:4042: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define HOST_HAS_O_CLOEXEC 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_MMAN_H 1 | /* end confdefs.h. */ | | #include | #include | #include | #include | int | main () | { | | sockaddr_in6 in6; | in6.sin6_family = AF_UNSPEC; | struct addrinfo *addrs = 0; | struct addrinfo hints; | hints.ai_flags = 0; | hints.ai_family = AF_INET6; | hints.ai_socktype = SOCK_STREAM; | hints.ai_protocol = 0; | hints.ai_canonname = 0; | hints.ai_addr = 0; | hints.ai_next = 0; | int e = getaddrinfo ("localhost", 0, &hints, &addrs); | const char *str = gai_strerror (e); | freeaddrinfo (addrs); | int fd = socket (AF_INET6, SOCK_STREAM, 0); | connect (fd, (sockaddr *)&in6, sizeof (in6)); | ; | return 0; | } configure:4049: result: no configure:4059: checking for epoll configure:4083: /usr/bin/gcc -c -O2 -I/nvmedata/autobuild/instance-29/output-1/host/include conftest.c >&5 conftest.c: In function 'main': conftest.c:28:1: error: unknown type name 'epoll_event'; use 'struct' keyword to refer to the type 28 | epoll_event ev; | ^~~~~~~~~~~ | struct conftest.c:29:3: error: request for member 'events' in something not a structure or union 29 | ev.events = EPOLLIN; | ^ conftest.c:30:3: error: request for member 'data' in something not a structure or union 30 | ev.data.fd = 0; | ^ conftest.c:31:34: warning: passing argument 4 of 'epoll_ctl' from incompatible pointer type [-Wincompatible-pointer-types] 31 | epoll_ctl (fd, EPOLL_CTL_ADD, 0, &ev); | ^~~ | | | int * In file included from conftest.c:22: /usr/include/x86_64-linux-gnu/sys/epoll.h:110:29: note: expected 'struct epoll_event *' but argument is of type 'int *' 110 | struct epoll_event *__event) __THROW; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ configure:4083: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define HOST_HAS_O_CLOEXEC 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_MMAN_H 1 | /* end confdefs.h. */ | | #include | int | main () | { | | int fd = epoll_create (1); | epoll_event ev; | ev.events = EPOLLIN; | ev.data.fd = 0; | epoll_ctl (fd, EPOLL_CTL_ADD, 0, &ev); | epoll_pwait (fd, 0, 0, -1, 0); | ; | return 0; | } configure:4090: result: no configure:4100: checking for pselect configure:4119: /usr/bin/gcc -c -O2 -I/nvmedata/autobuild/instance-29/output-1/host/include conftest.c >&5 configure:4119: $? = 0 configure:4126: result: yes configure:4137: checking for select configure:4156: /usr/bin/gcc -c -O2 -I/nvmedata/autobuild/instance-29/output-1/host/include conftest.c >&5 configure:4156: $? = 0 configure:4163: result: yes configure:4173: checking for accept4 configure:4192: /usr/bin/gcc -c -O2 -I/nvmedata/autobuild/instance-29/output-1/host/include conftest.c >&5 conftest.c: In function 'main': conftest.c:29:11: warning: implicit declaration of function 'accept4'; did you mean 'accept'? [-Wimplicit-function-declaration] 29 | int err = accept4 (1, 0, 0, SOCK_NONBLOCK); | ^~~~~~~ | accept configure:4192: $? = 0 configure:4199: result: yes configure:4209: checking for inet_ntop configure:4231: /usr/bin/gcc -c -O2 -I/nvmedata/autobuild/instance-29/output-1/host/include conftest.c >&5 conftest.c: In function 'main': conftest.c:31:1: error: unknown type name 'sockaddr_in6'; use 'struct' keyword to refer to the type 31 | sockaddr_in6 in6; | ^~~~~~~~~~~~ | struct configure:4231: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define HOST_HAS_O_CLOEXEC 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_PSELECT 1 | #define HAVE_SELECT 1 | #define HAVE_ACCEPT4 1 | /* end confdefs.h. */ | | #include | #include | int | main () | { | | sockaddr_in6 in6; | char buf[INET6_ADDRSTRLEN]; | const char *str = inet_ntop (AF_INET6, &in6, buf, sizeof (buf)); | ; | return 0; | } configure:4238: result: no configure:4266: checking for library containing gethostbyname configure:4297: /usr/bin/gcc -o conftest -O2 -I/nvmedata/autobuild/instance-29/output-1/host/include -static-libstdc++ -static-libgcc -L/nvmedata/autobuild/instance-29/output-1/host/lib -Wl,-rpath,/nvmedata/autobuild/instance-29/output-1/host/lib conftest.c >&5 configure:4297: $? = 0 configure:4314: result: none required configure:4322: checking for library containing socket configure:4353: /usr/bin/gcc -o conftest -O2 -I/nvmedata/autobuild/instance-29/output-1/host/include -static-libstdc++ -static-libgcc -L/nvmedata/autobuild/instance-29/output-1/host/lib -Wl,-rpath,/nvmedata/autobuild/instance-29/output-1/host/lib conftest.c >&5 configure:4353: $? = 0 configure:4370: result: none required configure:4487: updating cache ./config.cache configure:4536: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by config.status, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on james-x399 config.status:825: creating Makefile config.status:825: creating config.h ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_accept4=yes ac_cv_af_inet6=no ac_cv_af_unix=no ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=/usr/bin/gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O2 -I/nvmedata/autobuild/instance-29/output-1/host/include' ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-O2 -I/nvmedata/autobuild/instance-29/output-1/host/include' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=/usr/bin/g++ ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-static-libstdc++ -static-libgcc -L/nvmedata/autobuild/instance-29/output-1/host/lib -Wl,-rpath,/nvmedata/autobuild/instance-29/output-1/host/lib' ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64-pc-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=x86_64-pc-linux-gnu ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=nios2-buildroot-linux-gnu ac_cv_epoll=no ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_mman_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_host=x86_64-pc-linux-gnu ac_cv_inet_ntop=no ac_cv_o_cloexec=yes ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_GREP=/bin/grep ac_cv_prog_AUTOCONF=autoconf ac_cv_prog_AUTOHEADER=autoheader ac_cv_prog_CC=/usr/bin/gcc ac_cv_prog_CPP='/usr/bin/gcc -E' ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_cxx_g=yes ac_cv_pselect=yes ac_cv_search_gethostbyname='none required' ac_cv_search_socket='none required' ac_cv_select=yes ac_cv_target=nios2-buildroot-linux-gnu gcc_cv_libc_provides_ssp=no ## ----------------- ## ## Output variables. ## ## ----------------- ## AUTOCONF='autoconf' AUTOHEADER='autoheader' CC='/usr/bin/gcc' CFLAGS='-O2 -I/nvmedata/autobuild/instance-29/output-1/host/include' CPP='/usr/bin/gcc -E' CPPFLAGS='' CXX='/usr/bin/g++' CXXFLAGS='-O2 -I/nvmedata/autobuild/instance-29/output-1/host/include' CXX_AUX_TOOLS='yes' DEFS='-DHAVE_CONFIG_H' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' GREP='/bin/grep' INSTALL_DATA='/usr/bin/install -c -m 644' INSTALL_PROGRAM='/usr/bin/install -c' INSTALL_SCRIPT='/usr/bin/install -c' LDFLAGS='-static-libstdc++ -static-libgcc -L/nvmedata/autobuild/instance-29/output-1/host/lib -Wl,-rpath,/nvmedata/autobuild/instance-29/output-1/host/lib' LIBOBJS='' LIBS='' LTLIBOBJS='' MAINTAINER='' NETLIBS='' OBJEXT='o' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_URL='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PIEFLAG='' SHELL='/bin/bash' ac_ct_CC='' ac_ct_CXX='' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='x86_64-pc-linux-gnu' build_cpu='x86_64' build_os='linux-gnu' build_vendor='pc' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE}' dvidir='${docdir}' exec_prefix='${prefix}' get_gcc_base_ver='cat' host='x86_64-pc-linux-gnu' host_alias='x86_64-pc-linux-gnu' host_cpu='x86_64' host_os='linux-gnu' host_vendor='pc' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/nvmedata/autobuild/instance-29/output-1/host' program_transform_name='s&^&nios2-buildroot-linux-gnu-&' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/nvmedata/autobuild/instance-29/output-1/host/etc' target='nios2-buildroot-linux-gnu' target_alias='nios2-buildroot-linux-gnu' target_cpu='nios2' target_noncanonical='nios2-buildroot-linux-gnu' target_os='linux-gnu' target_vendor='buildroot' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define HOST_HAS_O_CLOEXEC 1 #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_PSELECT 1 #define HAVE_SELECT 1 #define HAVE_ACCEPT4 1 configure: exit 0