This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by pcap configure 1.10.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --target=microblazeel-buildroot-linux-uclibc --host=microblazeel-buildroot-linux-uclibc --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 --disable-nls --disable-static --enable-shared --disable-yydebug --with-pcap=linux --without-dag --without-dpdk --disable-dbus --disable-bluetooth --with-libnl ## --------- ## ## Platform. ## ## --------- ## hostname = james-x399 uname -m = x86_64 uname -r = 5.4.0-62-generic uname -s = Linux uname -v = #70-Ubuntu SMP Tue Jan 12 12:45:47 UTC 2021 /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: /tmp/instance-1/output-1/host/bin PATH: /tmp/instance-1/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:2482: checking build system type configure:2496: result: x86_64-pc-linux-gnu configure:2516: checking host system type configure:2529: result: microblazeel-buildroot-linux-uclibc configure:2549: checking target system type configure:2562: result: microblazeel-buildroot-linux-uclibc configure:2675: checking for microblazeel-buildroot-linux-uclibc-gcc configure:2702: result: /tmp/instance-1/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gcc configure:2971: checking for C compiler version configure:2980: /tmp/instance-1/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gcc --version >&5 microblazeel-buildroot-linux-uclibc-gcc.br_real (Buildroot 2020.11-974-gb13a590545) 9.3.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:2991: $? = 0 configure:2980: /tmp/instance-1/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gcc -v >&5 Using built-in specs. COLLECT_GCC=/tmp/instance-1/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gcc.br_real COLLECT_LTO_WRAPPER=/tmp/instance-1/output-1/host/libexec/gcc/microblazeel-buildroot-linux-uclibc/9.3.0/lto-wrapper Target: microblazeel-buildroot-linux-uclibc Configured with: ./configure --prefix=/tmp/instance-1/output-1/host --sysconfdir=/tmp/instance-1/output-1/host/etc --enable-static --target=microblazeel-buildroot-linux-uclibc --with-sysroot=/tmp/instance-1/output-1/host/microblazeel-buildroot-linux-uclibc/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/tmp/instance-1/output-1/host --with-mpc=/tmp/instance-1/output-1/host --with-mpfr=/tmp/instance-1/output-1/host --with-pkgversion='Buildroot 2020.11-974-gb13a590545' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --enable-tls --enable-threads --without-isl --without-cloog --enable-languages=c --with-build-time-tools=/tmp/instance-1/output-1/host/microblazeel-buildroot-linux-uclibc/bin --enable-shared --disable-libgomp Thread model: posix gcc version 9.3.0 (Buildroot 2020.11-974-gb13a590545) configure:2991: $? = 0 configure:2980: /tmp/instance-1/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gcc -V >&5 microblazeel-buildroot-linux-uclibc-gcc.br_real: error: unrecognized command line option '-V' microblazeel-buildroot-linux-uclibc-gcc.br_real: fatal error: no input files compilation terminated. configure:2991: $? = 1 configure:2980: /tmp/instance-1/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gcc -qversion >&5 microblazeel-buildroot-linux-uclibc-gcc.br_real: error: unrecognized command line option '-qversion'; did you mean '--version'? microblazeel-buildroot-linux-uclibc-gcc.br_real: fatal error: no input files compilation terminated. configure:2991: $? = 1 configure:3011: checking whether the C compiler works configure:3033: /tmp/instance-1/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3037: $? = 0 configure:3085: result: yes configure:3088: checking for C compiler default output file name configure:3090: result: a.out configure:3096: checking for suffix of executables configure:3103: /tmp/instance-1/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3107: $? = 0 configure:3129: result: configure:3151: checking whether we are cross compiling configure:3189: result: yes configure:3194: checking for suffix of object files configure:3216: /tmp/instance-1/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3220: $? = 0 configure:3241: result: o configure:3245: checking whether we are using the GNU C compiler configure:3264: /tmp/instance-1/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3264: $? = 0 configure:3273: result: yes configure:3282: checking whether /tmp/instance-1/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gcc accepts -g configure:3302: /tmp/instance-1/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gcc -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3302: $? = 0 configure:3343: result: yes configure:3360: checking for /tmp/instance-1/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gcc option to accept ISO C89 configure:3423: /tmp/instance-1/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3423: $? = 0 configure:3436: result: none needed configure:3456: checking for /tmp/instance-1/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gcc option to accept ISO C99 configure:3605: /tmp/instance-1/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:52:9: error: unknown type name 'wchar_t' 52 | const wchar_t *name; | ^~~~~~~ configure:3605: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "pcap" | #define PACKAGE_TARNAME "pcap" | #define PACKAGE_VERSION "1.10.0" | #define PACKAGE_STRING "pcap 1.10.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:3605: /tmp/instance-1/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gcc -std=gnu99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:52:9: error: unknown type name 'wchar_t' 52 | const wchar_t *name; | ^~~~~~~ configure:3605: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "pcap" | #define PACKAGE_TARNAME "pcap" | #define PACKAGE_VERSION "1.10.0" | #define PACKAGE_STRING "pcap 1.10.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:3605: /tmp/instance-1/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gcc -std=c99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:52:9: error: unknown type name 'wchar_t' 52 | const wchar_t *name; | ^~~~~~~ configure:3605: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "pcap" | #define PACKAGE_TARNAME "pcap" | #define PACKAGE_VERSION "1.10.0" | #define PACKAGE_STRING "pcap 1.10.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:3605: /tmp/instance-1/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gcc -c99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 microblazeel-buildroot-linux-uclibc-gcc.br_real: error: unrecognized command line option '-c99' configure:3605: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "pcap" | #define PACKAGE_TARNAME "pcap" | #define PACKAGE_VERSION "1.10.0" | #define PACKAGE_STRING "pcap 1.10.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:3605: /tmp/instance-1/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gcc -AC99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 : error: missing '(' after predicate conftest.c:52:9: error: unknown type name 'wchar_t' 52 | const wchar_t *name; | ^~~~~~~ configure:3605: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "pcap" | #define PACKAGE_TARNAME "pcap" | #define PACKAGE_VERSION "1.10.0" | #define PACKAGE_STRING "pcap 1.10.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:3605: /tmp/instance-1/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gcc -D_STDC_C99= -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:52:9: error: unknown type name 'wchar_t' 52 | const wchar_t *name; | ^~~~~~~ configure:3605: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "pcap" | #define PACKAGE_TARNAME "pcap" | #define PACKAGE_VERSION "1.10.0" | #define PACKAGE_STRING "pcap 1.10.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:3605: /tmp/instance-1/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gcc -qlanglvl=extc99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 microblazeel-buildroot-linux-uclibc-gcc.br_real: error: unrecognized command line option '-qlanglvl=extc99' configure:3605: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "pcap" | #define PACKAGE_TARNAME "pcap" | #define PACKAGE_VERSION "1.10.0" | #define PACKAGE_STRING "pcap 1.10.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:3621: result: unsupported configure:3634: error: The C compiler does not support C99 ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_bigendian=no ac_cv_c_compiler_gnu=yes ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=/tmp/instance-1/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' ac_cv_env_CPP_set=set ac_cv_env_CPP_value=/tmp/instance-1/output-1/host/bin/microblazeel-buildroot-linux-uclibc-cpp ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=no ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_YACC_set= ac_cv_env_YACC_value= ac_cv_env_YFLAGS_set= ac_cv_env_YFLAGS_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=microblazeel-buildroot-linux-uclibc ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=microblazeel-buildroot-linux-uclibc ac_cv_func_calloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_memcmp_working=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_realloc_0_nonnull=yes ac_cv_have_decl_malloc=yes ac_cv_header_linux_wireless_h=yes ac_cv_host=microblazeel-buildroot-linux-uclibc ac_cv_lbl_unaligned_fail=yes ac_cv_objext=o ac_cv_prog_CC=/tmp/instance-1/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gcc ac_cv_prog_cc_c89= ac_cv_prog_cc_c99=no ac_cv_prog_cc_g=yes ac_cv_target=microblazeel-buildroot-linux-uclibc gl_cv_func_malloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec= ## ----------------- ## ## Output variables. ## ## ----------------- ## ADDLARCHIVEOBJS='' ADDLOBJS='' AR='/tmp/instance-1/output-1/host/bin/microblazeel-buildroot-linux-uclibc-ar' BUILD_RPCAPD='' CC='/tmp/instance-1/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gcc' CFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC' CPP='/tmp/instance-1/output-1/host/bin/microblazeel-buildroot-linux-uclibc-cpp' CPPFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' CXX='no' CXXFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' DEFS='' DEPENDENCY_CFLAG='' DYEXT='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' EXTRA_NETWORK_LIBS='' GREP='' INSTALL_DATA='' INSTALL_PROGRAM='' INSTALL_RPCAPD='' INSTALL_SCRIPT='' LDFLAGS='' LEX='' LEXLIB='' LEX_OUTPUT_ROOT='' LIBOBJS='' LIBS='' LN_S='' LTLIBOBJS='' MAN_ADMIN_COMMANDS='' MAN_DEVICES='' MAN_FILE_FORMATS='' MAN_MISC_INFO='' MKDEP='' MODULE_C_SRC='' OBJEXT='o' PACKAGE_BUGREPORT='' PACKAGE_NAME='pcap' PACKAGE_STRING='pcap 1.10.0' PACKAGE_TARNAME='pcap' PACKAGE_URL='' PACKAGE_VERSION='1.10.0' PATH_SEPARATOR=':' PCAP_SUPPORT_BT='' PCAP_SUPPORT_DBUS='' PCAP_SUPPORT_DPDK='' PCAP_SUPPORT_LINUX_USBMON='' PCAP_SUPPORT_NETFILTER='' PCAP_SUPPORT_NETMAP='' PCAP_SUPPORT_RDMASNIFF='' PKGCONFIG='' PLATFORM_CXX_SRC='' PLATFORM_C_SRC='' PTHREAD_LIBS='' RANLIB='/tmp/instance-1/output-1/host/bin/microblazeel-buildroot-linux-uclibc-ranlib' REENTRANT_PARSER='' REMOTE_C_SRC='' RPCAPD_LIBS='' SHELL='/bin/bash' SHLICC2='' VALGRINDTEST_SRC='' V_CCOPT='' V_DEFS='' V_INCLS='' V_LEX='' V_LIB_CCOPT_FAT='' V_LIB_LDFLAGS_FAT='' V_PROG_CCOPT_FAT='' V_PROG_LDFLAGS_FAT='' V_RPATH_OPT='' V_SHLIB_CCOPT='' V_SHLIB_CMD='' V_SHLIB_OPT='' V_SONAME_OPT='' V_YACC='' YACC='' YFLAGS='' 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_TARNAME}' dvidir='${docdir}' exec_prefix='/usr' host='microblazeel-buildroot-linux-uclibc' host_alias='microblazeel-buildroot-linux-uclibc' host_cpu='microblazeel' host_os='linux-uclibc' host_vendor='buildroot' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/var' mandir='${datarootdir}/man' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr' program_transform_name='s,x,x,' psdir='${docdir}' runstatedir='${localstatedir}/run' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc' target='microblazeel-buildroot-linux-uclibc' target_alias='microblazeel-buildroot-linux-uclibc' target_cpu='microblazeel' target_os='linux-uclibc' target_vendor='buildroot' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "pcap" #define PACKAGE_TARNAME "pcap" #define PACKAGE_VERSION "1.10.0" #define PACKAGE_STRING "pcap 1.10.0" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" configure: exit 1