This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by vtun configure 3, which was generated by GNU Autoconf 2.71. Invocation command line was $ ./configure --target=arm-buildroot-linux-uclibcgnueabi --host=arm-buildroot-linux-uclibcgnueabi --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 --enable-static --disable-shared --with-ssl-headers=/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl --with-lzo-headers=/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/lzo --with-lzo-lib=/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib ## --------- ## ## Platform. ## ## --------- ## hostname = brautobuilder2 uname -m = x86_64 uname -r = 5.11.0-44-generic uname -s = Linux uname -v = #48-Ubuntu SMP Fri Dec 10 09:46:22 UTC 2021 /usr/bin/uname -p = x86_64 /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/ PATH: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/sbin/ PATH: /usr/local/sbin/ PATH: /usr/local/bin/ PATH: /usr/sbin/ PATH: /usr/bin/ PATH: /sbin/ PATH: /bin/ PATH: /usr/games/ PATH: /usr/local/games/ PATH: /snap/bin/ ## ----------- ## ## Core tests. ## ## ----------- ## configure:2390: looking for aux files: install-sh config.guess config.sub configure:2403: trying ./ configure:2414: ./install-sh found configure:2432: ./config.guess found configure:2432: ./config.sub found configure:2661: checking build system type configure:2676: result: x86_64-pc-linux-gnu configure:2696: checking host system type configure:2710: result: arm-buildroot-linux-uclibcgnueabi configure:2730: checking target system type configure:2744: result: arm-buildroot-linux-uclibcgnueabi configure:2776: checking for bison configure:2797: found /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/bison configure:2808: result: bison -y configure:2837: checking for arm-buildroot-linux-uclibcgnueabi-gcc configure:2869: result: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc configure:3267: checking for C compiler version configure:3276: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc --version >&5 arm-linux-gcc.br_real (Buildroot 2020.11.2) 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:3287: $? = 0 configure:3276: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -v >&5 Using built-in specs. COLLECT_GCC=/home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/arm-linux-gcc.br_real COLLECT_LTO_WRAPPER=/home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/lto-wrapper Target: arm-buildroot-linux-uclibcgnueabi Configured with: ./configure --prefix=/opt/br-arm-full-static-2020.11.2 --sysconfdir=/opt/br-arm-full-static-2020.11.2/etc --enable-static --target=arm-buildroot-linux-uclibcgnueabi --with-sysroot=/opt/br-arm-full-static-2020.11.2/arm-buildroot-linux-uclibcgnueabi/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/opt/br-arm-full-static-2020.11.2 --with-mpc=/opt/br-arm-full-static-2020.11.2 --with-mpfr=/opt/br-arm-full-static-2020.11.2 --with-pkgversion='Buildroot 2020.11.2' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --enable-tls --enable-threads --without-isl --without-cloog --with-float=soft --with-abi=aapcs-linux --with-cpu=arm926ej-s --with-float=soft --with-mode=arm --enable-languages=c,c++ --with-build-time-tools=/opt/br-arm-full-static-2020.11.2/arm-buildroot-linux-uclibcgnueabi/bin --disable-shared --disable-libgomp Thread model: posix gcc version 9.3.0 (Buildroot 2020.11.2) configure:3287: $? = 0 configure:3276: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -V >&5 arm-linux-gcc.br_real: error: unrecognized command line option '-V' arm-linux-gcc.br_real: fatal error: no input files compilation terminated. configure:3287: $? = 1 configure:3276: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -qversion >&5 arm-linux-gcc.br_real: error: unrecognized command line option '-qversion'; did you mean '--version'? arm-linux-gcc.br_real: fatal error: no input files compilation terminated. configure:3287: $? = 1 configure:3276: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -version >&5 arm-linux-gcc.br_real: error: unrecognized command line option '-version' arm-linux-gcc.br_real: fatal error: no input files compilation terminated. configure:3287: $? = 1 configure:3307: checking whether the C compiler works configure:3329: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -static conftest.c -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lssl -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -pthread -latomic -lcrypto -pthread -latomic -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib >&5 configure:3333: $? = 0 configure:3383: result: yes configure:3386: checking for C compiler default output file name configure:3388: result: a.out configure:3394: checking for suffix of executables configure:3401: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -static conftest.c -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lssl -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -pthread -latomic -lcrypto -pthread -latomic -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib >&5 configure:3405: $? = 0 configure:3428: result: configure:3450: checking whether we are cross compiling configure:3488: result: yes configure:3493: checking for suffix of object files configure:3516: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 configure:3520: $? = 0 configure:3542: result: o configure:3546: checking whether the compiler supports GNU C configure:3566: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 configure:3566: $? = 0 configure:3576: result: yes configure:3587: checking whether /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc accepts -g configure:3608: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 configure:3608: $? = 0 configure:3652: result: yes configure:3672: checking for /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc option to enable C11 features configure:3687: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 conftest.c:61:3: error: #error "Compiler does not advertise C99 conformance" 61 | # error "Compiler does not advertise C99 conformance" | ^~~~~ conftest.c:116:29: error: expected ';', ',' or ')' before 'text' 116 | test_restrict (ccp restrict text) | ^~~~ conftest.c:165:3: error: #error "Compiler does not advertise C11 conformance" 165 | # error "Compiler does not advertise C11 conformance" | ^~~~~ conftest.c:196:12: error: 'syntax' undeclared here (not in a function) 196 | #define u8 syntax error! | ^~~~~~ conftest.c:197:29: note: in expansion of macro 'u8' 197 | char const utf8_literal[] = u8"happens to be ASCII" "another string"; | ^~ conftest.c:196:19: error: expected ',' or ';' before 'error' 196 | #define u8 syntax error! | ^~~~~ conftest.c:197:29: note: in expansion of macro 'u8' 197 | char const utf8_literal[] = u8"happens to be ASCII" "another string"; | ^~ conftest.c: In function 'main': conftest.c:230:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar' 230 | char *restrict newvar = "Another string"; | ^~~~~~ conftest.c:230:18: error: 'newvar' undeclared (first use in this function) conftest.c:230:18: note: each undeclared identifier is reported only once for each function it appears in conftest.c:240:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode 240 | for (int i = 0; i < ia->datasize; ++i) | ^~~ conftest.c:240:3: note: use option '-std=c99', '-std=gnu99', '-std=c11' or '-std=gnu11' to compile your code configure:3687: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "vtun" | #define PACKAGE_TARNAME "vtun" | #define PACKAGE_VERSION "3" | #define PACKAGE_STRING "vtun 3" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | /* Does the compiler advertise C89 conformance? | Do not test the value of __STDC__, because some compilers set it to 0 | while being otherwise adequately conformant. */ | #if !defined __STDC__ | # error "Compiler does not advertise C89 conformance" | #endif | | #include | #include | struct stat; | /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ | struct buf { int x; }; | struct buf * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not \xHH hex character constants. | These do not provoke an error unfortunately, instead are silently treated | as an "x". The following induces an error, until -std is added to get | proper ANSI mode. Curiously \x00 != x always comes out true, for an | array size at least. It is necessary to write \x00 == 0 to get something | that is true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), | int, int); | | // Does the compiler advertise C99 conformance? | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L | # error "Compiler does not advertise C99 conformance" | #endif | | #include | extern int puts (const char *); | extern int printf (const char *, ...); | extern int dprintf (int, const char *, ...); | extern void *malloc (size_t); | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | // dprintf is used instead of fprintf to avoid needing to declare | // FILE and stderr. | #define debug(...) dprintf (2, __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 | #error "your preprocessor is broken" | #endif | #if BIG_OK | #else | #error "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 bool | 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 = 0; | float fnumber = 0; | | 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); | | return *str && number && fnumber; | } | | | // Does the compiler advertise C11 conformance? | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L | # error "Compiler does not advertise C11 conformance" | #endif | | // Check _Alignas. | char _Alignas (double) aligned_as_double; | char _Alignas (0) no_special_alignment; | extern char aligned_as_int; | char _Alignas (0) _Alignas (int) aligned_as_int; | | // Check _Alignof. | enum | { | int_alignment = _Alignof (int), | int_array_alignment = _Alignof (int[100]), | char_alignment = _Alignof (char) | }; | _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); | | // Check _Noreturn. | int _Noreturn does_not_return (void) { for (;;) continue; } | | // Check _Static_assert. | struct test_static_assert | { | int x; | _Static_assert (sizeof (int) <= sizeof (long int), | "_Static_assert does not work in struct"); | long int y; | }; | | // Check UTF-8 literals. | #define u8 syntax error! | char const utf8_literal[] = u8"happens to be ASCII" "another string"; | | // Check duplicate typedefs. | typedef long *long_ptr; | typedef long int *long_ptr; | typedef long_ptr long_ptr; | | // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. | struct anonymous | { | union { | struct { int i; int j; }; | struct { int k; long int l; } w; | }; | int m; | } v1; | | | int | main (int argc, char **argv) | { | int ok = 0; | | ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); | | | // Check bool. | _Bool success = false; | success |= (argc != 0); | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | success &= 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[0] = argv[0][0]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | | _Static_assert ((offsetof (struct anonymous, i) | == offsetof (struct anonymous, w.k)), | "Anonymous union alignment botch"); | v1.i = 2; | v1.w.k = 5; | ok |= v1.i != 5; | | return ok; | } | configure:3687: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -std=gnu11 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 conftest.c:61:3: error: #error "Compiler does not advertise C99 conformance" 61 | # error "Compiler does not advertise C99 conformance" | ^~~~~ conftest.c:116:29: error: expected ';', ',' or ')' before 'text' 116 | test_restrict (ccp restrict text) | ^~~~ conftest.c:165:3: error: #error "Compiler does not advertise C11 conformance" 165 | # error "Compiler does not advertise C11 conformance" | ^~~~~ conftest.c:196:12: error: 'syntax' undeclared here (not in a function) 196 | #define u8 syntax error! | ^~~~~~ conftest.c:197:29: note: in expansion of macro 'u8' 197 | char const utf8_literal[] = u8"happens to be ASCII" "another string"; | ^~ conftest.c:196:19: error: expected ',' or ';' before 'error' 196 | #define u8 syntax error! | ^~~~~ conftest.c:197:29: note: in expansion of macro 'u8' 197 | char const utf8_literal[] = u8"happens to be ASCII" "another string"; | ^~ conftest.c: In function 'main': conftest.c:230:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar' 230 | char *restrict newvar = "Another string"; | ^~~~~~ conftest.c:230:18: error: 'newvar' undeclared (first use in this function) conftest.c:230:18: note: each undeclared identifier is reported only once for each function it appears in conftest.c:240:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode 240 | for (int i = 0; i < ia->datasize; ++i) | ^~~ conftest.c:240:3: note: use option '-std=c99', '-std=gnu99', '-std=c11' or '-std=gnu11' to compile your code configure:3687: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "vtun" | #define PACKAGE_TARNAME "vtun" | #define PACKAGE_VERSION "3" | #define PACKAGE_STRING "vtun 3" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | /* Does the compiler advertise C89 conformance? | Do not test the value of __STDC__, because some compilers set it to 0 | while being otherwise adequately conformant. */ | #if !defined __STDC__ | # error "Compiler does not advertise C89 conformance" | #endif | | #include | #include | struct stat; | /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ | struct buf { int x; }; | struct buf * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not \xHH hex character constants. | These do not provoke an error unfortunately, instead are silently treated | as an "x". The following induces an error, until -std is added to get | proper ANSI mode. Curiously \x00 != x always comes out true, for an | array size at least. It is necessary to write \x00 == 0 to get something | that is true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), | int, int); | | // Does the compiler advertise C99 conformance? | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L | # error "Compiler does not advertise C99 conformance" | #endif | | #include | extern int puts (const char *); | extern int printf (const char *, ...); | extern int dprintf (int, const char *, ...); | extern void *malloc (size_t); | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | // dprintf is used instead of fprintf to avoid needing to declare | // FILE and stderr. | #define debug(...) dprintf (2, __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 | #error "your preprocessor is broken" | #endif | #if BIG_OK | #else | #error "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 bool | 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 = 0; | float fnumber = 0; | | 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); | | return *str && number && fnumber; | } | | | // Does the compiler advertise C11 conformance? | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L | # error "Compiler does not advertise C11 conformance" | #endif | | // Check _Alignas. | char _Alignas (double) aligned_as_double; | char _Alignas (0) no_special_alignment; | extern char aligned_as_int; | char _Alignas (0) _Alignas (int) aligned_as_int; | | // Check _Alignof. | enum | { | int_alignment = _Alignof (int), | int_array_alignment = _Alignof (int[100]), | char_alignment = _Alignof (char) | }; | _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); | | // Check _Noreturn. | int _Noreturn does_not_return (void) { for (;;) continue; } | | // Check _Static_assert. | struct test_static_assert | { | int x; | _Static_assert (sizeof (int) <= sizeof (long int), | "_Static_assert does not work in struct"); | long int y; | }; | | // Check UTF-8 literals. | #define u8 syntax error! | char const utf8_literal[] = u8"happens to be ASCII" "another string"; | | // Check duplicate typedefs. | typedef long *long_ptr; | typedef long int *long_ptr; | typedef long_ptr long_ptr; | | // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. | struct anonymous | { | union { | struct { int i; int j; }; | struct { int k; long int l; } w; | }; | int m; | } v1; | | | int | main (int argc, char **argv) | { | int ok = 0; | | ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); | | | // Check bool. | _Bool success = false; | success |= (argc != 0); | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | success &= 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[0] = argv[0][0]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | | _Static_assert ((offsetof (struct anonymous, i) | == offsetof (struct anonymous, w.k)), | "Anonymous union alignment botch"); | v1.i = 2; | v1.w.k = 5; | ok |= v1.i != 5; | | return ok; | } | configure:3700: result: unsupported configure:3718: checking for /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc option to enable C99 features configure:3733: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 conftest.c:61:3: error: #error "Compiler does not advertise C99 conformance" 61 | # error "Compiler does not advertise C99 conformance" | ^~~~~ conftest.c:116:29: error: expected ';', ',' or ')' before 'text' 116 | test_restrict (ccp restrict text) | ^~~~ conftest.c: In function 'main': conftest.c:178:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar' 178 | char *restrict newvar = "Another string"; | ^~~~~~ conftest.c:178:18: error: 'newvar' undeclared (first use in this function) conftest.c:178:18: note: each undeclared identifier is reported only once for each function it appears in conftest.c:188:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode 188 | for (int i = 0; i < ia->datasize; ++i) | ^~~ conftest.c:188:3: note: use option '-std=c99', '-std=gnu99', '-std=c11' or '-std=gnu11' to compile your code configure:3733: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "vtun" | #define PACKAGE_TARNAME "vtun" | #define PACKAGE_VERSION "3" | #define PACKAGE_STRING "vtun 3" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | /* Does the compiler advertise C89 conformance? | Do not test the value of __STDC__, because some compilers set it to 0 | while being otherwise adequately conformant. */ | #if !defined __STDC__ | # error "Compiler does not advertise C89 conformance" | #endif | | #include | #include | struct stat; | /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ | struct buf { int x; }; | struct buf * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not \xHH hex character constants. | These do not provoke an error unfortunately, instead are silently treated | as an "x". The following induces an error, until -std is added to get | proper ANSI mode. Curiously \x00 != x always comes out true, for an | array size at least. It is necessary to write \x00 == 0 to get something | that is true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), | int, int); | | // Does the compiler advertise C99 conformance? | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L | # error "Compiler does not advertise C99 conformance" | #endif | | #include | extern int puts (const char *); | extern int printf (const char *, ...); | extern int dprintf (int, const char *, ...); | extern void *malloc (size_t); | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | // dprintf is used instead of fprintf to avoid needing to declare | // FILE and stderr. | #define debug(...) dprintf (2, __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 | #error "your preprocessor is broken" | #endif | #if BIG_OK | #else | #error "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 bool | 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 = 0; | float fnumber = 0; | | 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); | | return *str && number && fnumber; | } | | | int | main (int argc, char **argv) | { | int ok = 0; | | ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); | | | // Check bool. | _Bool success = false; | success |= (argc != 0); | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | success &= 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[0] = argv[0][0]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | return ok; | } | configure:3733: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -std=gnu99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 conftest.c:61:3: error: #error "Compiler does not advertise C99 conformance" 61 | # error "Compiler does not advertise C99 conformance" | ^~~~~ conftest.c:116:29: error: expected ';', ',' or ')' before 'text' 116 | test_restrict (ccp restrict text) | ^~~~ conftest.c: In function 'main': conftest.c:178:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar' 178 | char *restrict newvar = "Another string"; | ^~~~~~ conftest.c:178:18: error: 'newvar' undeclared (first use in this function) conftest.c:178:18: note: each undeclared identifier is reported only once for each function it appears in conftest.c:188:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode 188 | for (int i = 0; i < ia->datasize; ++i) | ^~~ conftest.c:188:3: note: use option '-std=c99', '-std=gnu99', '-std=c11' or '-std=gnu11' to compile your code configure:3733: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "vtun" | #define PACKAGE_TARNAME "vtun" | #define PACKAGE_VERSION "3" | #define PACKAGE_STRING "vtun 3" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | /* Does the compiler advertise C89 conformance? | Do not test the value of __STDC__, because some compilers set it to 0 | while being otherwise adequately conformant. */ | #if !defined __STDC__ | # error "Compiler does not advertise C89 conformance" | #endif | | #include | #include | struct stat; | /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ | struct buf { int x; }; | struct buf * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not \xHH hex character constants. | These do not provoke an error unfortunately, instead are silently treated | as an "x". The following induces an error, until -std is added to get | proper ANSI mode. Curiously \x00 != x always comes out true, for an | array size at least. It is necessary to write \x00 == 0 to get something | that is true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), | int, int); | | // Does the compiler advertise C99 conformance? | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L | # error "Compiler does not advertise C99 conformance" | #endif | | #include | extern int puts (const char *); | extern int printf (const char *, ...); | extern int dprintf (int, const char *, ...); | extern void *malloc (size_t); | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | // dprintf is used instead of fprintf to avoid needing to declare | // FILE and stderr. | #define debug(...) dprintf (2, __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 | #error "your preprocessor is broken" | #endif | #if BIG_OK | #else | #error "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 bool | 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 = 0; | float fnumber = 0; | | 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); | | return *str && number && fnumber; | } | | | int | main (int argc, char **argv) | { | int ok = 0; | | ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); | | | // Check bool. | _Bool success = false; | success |= (argc != 0); | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | success &= 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[0] = argv[0][0]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | return ok; | } | configure:3733: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -std=c99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 conftest.c:61:3: error: #error "Compiler does not advertise C99 conformance" 61 | # error "Compiler does not advertise C99 conformance" | ^~~~~ conftest.c:116:29: error: expected ';', ',' or ')' before 'text' 116 | test_restrict (ccp restrict text) | ^~~~ conftest.c: In function 'main': conftest.c:178:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar' 178 | char *restrict newvar = "Another string"; | ^~~~~~ conftest.c:178:18: error: 'newvar' undeclared (first use in this function) conftest.c:178:18: note: each undeclared identifier is reported only once for each function it appears in conftest.c:188:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode 188 | for (int i = 0; i < ia->datasize; ++i) | ^~~ conftest.c:188:3: note: use option '-std=c99', '-std=gnu99', '-std=c11' or '-std=gnu11' to compile your code configure:3733: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "vtun" | #define PACKAGE_TARNAME "vtun" | #define PACKAGE_VERSION "3" | #define PACKAGE_STRING "vtun 3" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | /* Does the compiler advertise C89 conformance? | Do not test the value of __STDC__, because some compilers set it to 0 | while being otherwise adequately conformant. */ | #if !defined __STDC__ | # error "Compiler does not advertise C89 conformance" | #endif | | #include | #include | struct stat; | /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ | struct buf { int x; }; | struct buf * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not \xHH hex character constants. | These do not provoke an error unfortunately, instead are silently treated | as an "x". The following induces an error, until -std is added to get | proper ANSI mode. Curiously \x00 != x always comes out true, for an | array size at least. It is necessary to write \x00 == 0 to get something | that is true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), | int, int); | | // Does the compiler advertise C99 conformance? | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L | # error "Compiler does not advertise C99 conformance" | #endif | | #include | extern int puts (const char *); | extern int printf (const char *, ...); | extern int dprintf (int, const char *, ...); | extern void *malloc (size_t); | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | // dprintf is used instead of fprintf to avoid needing to declare | // FILE and stderr. | #define debug(...) dprintf (2, __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 | #error "your preprocessor is broken" | #endif | #if BIG_OK | #else | #error "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 bool | 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 = 0; | float fnumber = 0; | | 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); | | return *str && number && fnumber; | } | | | int | main (int argc, char **argv) | { | int ok = 0; | | ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); | | | // Check bool. | _Bool success = false; | success |= (argc != 0); | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | success &= 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[0] = argv[0][0]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | return ok; | } | configure:3733: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -c99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 arm-linux-gcc.br_real: error: unrecognized command line option '-c99' configure:3733: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "vtun" | #define PACKAGE_TARNAME "vtun" | #define PACKAGE_VERSION "3" | #define PACKAGE_STRING "vtun 3" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | /* Does the compiler advertise C89 conformance? | Do not test the value of __STDC__, because some compilers set it to 0 | while being otherwise adequately conformant. */ | #if !defined __STDC__ | # error "Compiler does not advertise C89 conformance" | #endif | | #include | #include | struct stat; | /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ | struct buf { int x; }; | struct buf * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not \xHH hex character constants. | These do not provoke an error unfortunately, instead are silently treated | as an "x". The following induces an error, until -std is added to get | proper ANSI mode. Curiously \x00 != x always comes out true, for an | array size at least. It is necessary to write \x00 == 0 to get something | that is true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), | int, int); | | // Does the compiler advertise C99 conformance? | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L | # error "Compiler does not advertise C99 conformance" | #endif | | #include | extern int puts (const char *); | extern int printf (const char *, ...); | extern int dprintf (int, const char *, ...); | extern void *malloc (size_t); | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | // dprintf is used instead of fprintf to avoid needing to declare | // FILE and stderr. | #define debug(...) dprintf (2, __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 | #error "your preprocessor is broken" | #endif | #if BIG_OK | #else | #error "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 bool | 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 = 0; | float fnumber = 0; | | 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); | | return *str && number && fnumber; | } | | | int | main (int argc, char **argv) | { | int ok = 0; | | ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); | | | // Check bool. | _Bool success = false; | success |= (argc != 0); | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | success &= 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[0] = argv[0][0]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | return ok; | } | configure:3733: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -qlanglvl=extc1x -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 arm-linux-gcc.br_real: error: unrecognized command line option '-qlanglvl=extc1x' configure:3733: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "vtun" | #define PACKAGE_TARNAME "vtun" | #define PACKAGE_VERSION "3" | #define PACKAGE_STRING "vtun 3" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | /* Does the compiler advertise C89 conformance? | Do not test the value of __STDC__, because some compilers set it to 0 | while being otherwise adequately conformant. */ | #if !defined __STDC__ | # error "Compiler does not advertise C89 conformance" | #endif | | #include | #include | struct stat; | /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ | struct buf { int x; }; | struct buf * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not \xHH hex character constants. | These do not provoke an error unfortunately, instead are silently treated | as an "x". The following induces an error, until -std is added to get | proper ANSI mode. Curiously \x00 != x always comes out true, for an | array size at least. It is necessary to write \x00 == 0 to get something | that is true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), | int, int); | | // Does the compiler advertise C99 conformance? | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L | # error "Compiler does not advertise C99 conformance" | #endif | | #include | extern int puts (const char *); | extern int printf (const char *, ...); | extern int dprintf (int, const char *, ...); | extern void *malloc (size_t); | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | // dprintf is used instead of fprintf to avoid needing to declare | // FILE and stderr. | #define debug(...) dprintf (2, __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 | #error "your preprocessor is broken" | #endif | #if BIG_OK | #else | #error "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 bool | 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 = 0; | float fnumber = 0; | | 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); | | return *str && number && fnumber; | } | | | int | main (int argc, char **argv) | { | int ok = 0; | | ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); | | | // Check bool. | _Bool success = false; | success |= (argc != 0); | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | success &= 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[0] = argv[0][0]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | return ok; | } | configure:3733: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -qlanglvl=extc99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 arm-linux-gcc.br_real: error: unrecognized command line option '-qlanglvl=extc99' configure:3733: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "vtun" | #define PACKAGE_TARNAME "vtun" | #define PACKAGE_VERSION "3" | #define PACKAGE_STRING "vtun 3" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | /* Does the compiler advertise C89 conformance? | Do not test the value of __STDC__, because some compilers set it to 0 | while being otherwise adequately conformant. */ | #if !defined __STDC__ | # error "Compiler does not advertise C89 conformance" | #endif | | #include | #include | struct stat; | /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ | struct buf { int x; }; | struct buf * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not \xHH hex character constants. | These do not provoke an error unfortunately, instead are silently treated | as an "x". The following induces an error, until -std is added to get | proper ANSI mode. Curiously \x00 != x always comes out true, for an | array size at least. It is necessary to write \x00 == 0 to get something | that is true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), | int, int); | | // Does the compiler advertise C99 conformance? | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L | # error "Compiler does not advertise C99 conformance" | #endif | | #include | extern int puts (const char *); | extern int printf (const char *, ...); | extern int dprintf (int, const char *, ...); | extern void *malloc (size_t); | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | // dprintf is used instead of fprintf to avoid needing to declare | // FILE and stderr. | #define debug(...) dprintf (2, __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 | #error "your preprocessor is broken" | #endif | #if BIG_OK | #else | #error "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 bool | 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 = 0; | float fnumber = 0; | | 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); | | return *str && number && fnumber; | } | | | int | main (int argc, char **argv) | { | int ok = 0; | | ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); | | | // Check bool. | _Bool success = false; | success |= (argc != 0); | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | success &= 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[0] = argv[0][0]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | return ok; | } | configure:3733: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -AC99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 : error: missing '(' after predicate conftest.c:61:3: error: #error "Compiler does not advertise C99 conformance" 61 | # error "Compiler does not advertise C99 conformance" | ^~~~~ conftest.c:116:29: error: expected ';', ',' or ')' before 'text' 116 | test_restrict (ccp restrict text) | ^~~~ conftest.c: In function 'main': conftest.c:178:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar' 178 | char *restrict newvar = "Another string"; | ^~~~~~ conftest.c:178:18: error: 'newvar' undeclared (first use in this function) conftest.c:178:18: note: each undeclared identifier is reported only once for each function it appears in conftest.c:188:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode 188 | for (int i = 0; i < ia->datasize; ++i) | ^~~ conftest.c:188:3: note: use option '-std=c99', '-std=gnu99', '-std=c11' or '-std=gnu11' to compile your code configure:3733: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "vtun" | #define PACKAGE_TARNAME "vtun" | #define PACKAGE_VERSION "3" | #define PACKAGE_STRING "vtun 3" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | /* Does the compiler advertise C89 conformance? | Do not test the value of __STDC__, because some compilers set it to 0 | while being otherwise adequately conformant. */ | #if !defined __STDC__ | # error "Compiler does not advertise C89 conformance" | #endif | | #include | #include | struct stat; | /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ | struct buf { int x; }; | struct buf * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not \xHH hex character constants. | These do not provoke an error unfortunately, instead are silently treated | as an "x". The following induces an error, until -std is added to get | proper ANSI mode. Curiously \x00 != x always comes out true, for an | array size at least. It is necessary to write \x00 == 0 to get something | that is true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), | int, int); | | // Does the compiler advertise C99 conformance? | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L | # error "Compiler does not advertise C99 conformance" | #endif | | #include | extern int puts (const char *); | extern int printf (const char *, ...); | extern int dprintf (int, const char *, ...); | extern void *malloc (size_t); | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | // dprintf is used instead of fprintf to avoid needing to declare | // FILE and stderr. | #define debug(...) dprintf (2, __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 | #error "your preprocessor is broken" | #endif | #if BIG_OK | #else | #error "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 bool | 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 = 0; | float fnumber = 0; | | 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); | | return *str && number && fnumber; | } | | | int | main (int argc, char **argv) | { | int ok = 0; | | ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); | | | // Check bool. | _Bool success = false; | success |= (argc != 0); | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | success &= 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[0] = argv[0][0]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | return ok; | } | configure:3733: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -D_STDC_C99= -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 conftest.c:61:3: error: #error "Compiler does not advertise C99 conformance" 61 | # error "Compiler does not advertise C99 conformance" | ^~~~~ conftest.c:116:29: error: expected ';', ',' or ')' before 'text' 116 | test_restrict (ccp restrict text) | ^~~~ conftest.c: In function 'main': conftest.c:178:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar' 178 | char *restrict newvar = "Another string"; | ^~~~~~ conftest.c:178:18: error: 'newvar' undeclared (first use in this function) conftest.c:178:18: note: each undeclared identifier is reported only once for each function it appears in conftest.c:188:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode 188 | for (int i = 0; i < ia->datasize; ++i) | ^~~ conftest.c:188:3: note: use option '-std=c99', '-std=gnu99', '-std=c11' or '-std=gnu11' to compile your code configure:3733: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "vtun" | #define PACKAGE_TARNAME "vtun" | #define PACKAGE_VERSION "3" | #define PACKAGE_STRING "vtun 3" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | /* Does the compiler advertise C89 conformance? | Do not test the value of __STDC__, because some compilers set it to 0 | while being otherwise adequately conformant. */ | #if !defined __STDC__ | # error "Compiler does not advertise C89 conformance" | #endif | | #include | #include | struct stat; | /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ | struct buf { int x; }; | struct buf * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not \xHH hex character constants. | These do not provoke an error unfortunately, instead are silently treated | as an "x". The following induces an error, until -std is added to get | proper ANSI mode. Curiously \x00 != x always comes out true, for an | array size at least. It is necessary to write \x00 == 0 to get something | that is true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), | int, int); | | // Does the compiler advertise C99 conformance? | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L | # error "Compiler does not advertise C99 conformance" | #endif | | #include | extern int puts (const char *); | extern int printf (const char *, ...); | extern int dprintf (int, const char *, ...); | extern void *malloc (size_t); | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | // dprintf is used instead of fprintf to avoid needing to declare | // FILE and stderr. | #define debug(...) dprintf (2, __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 | #error "your preprocessor is broken" | #endif | #if BIG_OK | #else | #error "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 bool | 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 = 0; | float fnumber = 0; | | 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); | | return *str && number && fnumber; | } | | | int | main (int argc, char **argv) | { | int ok = 0; | | ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); | | | // Check bool. | _Bool success = false; | success |= (argc != 0); | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | success &= 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[0] = argv[0][0]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | return ok; | } | configure:3746: result: unsupported configure:3764: checking for /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc option to enable C89 features configure:3779: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 configure:3779: $? = 0 configure:3797: result: none needed configure:3820: checking for flex configure:3841: found /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/flex configure:3852: result: flex configure:3901: checking for lex output file root configure:3914: flex conftest.l configure:3918: $? = 0 configure:3926: result: lex.yy configure:3941: checking for lex library configure:3966: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -static conftest.c -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lssl -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -pthread -latomic -lcrypto -pthread -latomic -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib >&5 configure:3966: $? = 0 configure:3979: result: none needed configure:3994: checking for library containing yywrap configure:4024: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -static conftest.c >&5 /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /tmp/ccTmyFZZ.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `yywrap' collect2: error: ld returned 1 exit status configure:4024: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "vtun" | #define PACKAGE_TARNAME "vtun" | #define PACKAGE_VERSION "3" | #define PACKAGE_STRING "vtun 3" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | char yywrap (); | int | main (void) | { | return yywrap (); | ; | return 0; | } configure:4024: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -static conftest.c -lfl >&5 /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: cannot find -lfl collect2: error: ld returned 1 exit status configure:4024: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "vtun" | #define PACKAGE_TARNAME "vtun" | #define PACKAGE_VERSION "3" | #define PACKAGE_STRING "vtun 3" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | char yywrap (); | int | main (void) | { | return yywrap (); | ; | return 0; | } configure:4024: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -static conftest.c -ll >&5 /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: cannot find -ll collect2: error: ld returned 1 exit status configure:4024: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "vtun" | #define PACKAGE_TARNAME "vtun" | #define PACKAGE_VERSION "3" | #define PACKAGE_STRING "vtun 3" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | char yywrap (); | int | main (void) | { | return yywrap (); | ; | return 0; | } configure:4044: result: no configure:4060: checking whether yytext is a pointer configure:4076: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 configure:4076: $? = 0 configure:4083: result: yes configure:4103: checking for arm-buildroot-linux-uclibcgnueabi-gcc configure:4135: result: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc configure:4533: checking for C compiler version configure:4542: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc --version >&5 arm-linux-gcc.br_real (Buildroot 2020.11.2) 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:4553: $? = 0 configure:4542: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -v >&5 Using built-in specs. COLLECT_GCC=/home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/arm-linux-gcc.br_real COLLECT_LTO_WRAPPER=/home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/lto-wrapper Target: arm-buildroot-linux-uclibcgnueabi Configured with: ./configure --prefix=/opt/br-arm-full-static-2020.11.2 --sysconfdir=/opt/br-arm-full-static-2020.11.2/etc --enable-static --target=arm-buildroot-linux-uclibcgnueabi --with-sysroot=/opt/br-arm-full-static-2020.11.2/arm-buildroot-linux-uclibcgnueabi/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/opt/br-arm-full-static-2020.11.2 --with-mpc=/opt/br-arm-full-static-2020.11.2 --with-mpfr=/opt/br-arm-full-static-2020.11.2 --with-pkgversion='Buildroot 2020.11.2' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --enable-tls --enable-threads --without-isl --without-cloog --with-float=soft --with-abi=aapcs-linux --with-cpu=arm926ej-s --with-float=soft --with-mode=arm --enable-languages=c,c++ --with-build-time-tools=/opt/br-arm-full-static-2020.11.2/arm-buildroot-linux-uclibcgnueabi/bin --disable-shared --disable-libgomp Thread model: posix gcc version 9.3.0 (Buildroot 2020.11.2) configure:4553: $? = 0 configure:4542: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -V >&5 arm-linux-gcc.br_real: error: unrecognized command line option '-V' arm-linux-gcc.br_real: fatal error: no input files compilation terminated. configure:4553: $? = 1 configure:4542: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -qversion >&5 arm-linux-gcc.br_real: error: unrecognized command line option '-qversion'; did you mean '--version'? arm-linux-gcc.br_real: fatal error: no input files compilation terminated. configure:4553: $? = 1 configure:4542: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -version >&5 arm-linux-gcc.br_real: error: unrecognized command line option '-version' arm-linux-gcc.br_real: fatal error: no input files compilation terminated. configure:4553: $? = 1 configure:4557: checking whether the compiler supports GNU C configure:4587: result: yes configure:4598: checking whether /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc accepts -g configure:4663: result: yes configure:4683: checking for /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc option to enable C11 features configure:4711: result: unsupported configure:4729: checking for /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc option to enable C99 features configure:4757: result: unsupported configure:4775: checking for /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc option to enable C89 features configure:4808: result: none needed configure:4841: checking for a BSD-compatible install configure:4914: result: /usr/bin/install -c configure:4926: checking for an ANSI C-conforming const configure:4993: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 configure:4993: $? = 0 configure:5001: result: yes configure:5009: checking for inline configure:5026: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 configure:5026: $? = 0 configure:5035: result: inline configure:5058: checking for stdio.h configure:5058: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 configure:5058: $? = 0 configure:5058: result: yes configure:5058: checking for stdlib.h configure:5058: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 configure:5058: $? = 0 configure:5058: result: yes configure:5058: checking for string.h configure:5058: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 configure:5058: $? = 0 configure:5058: result: yes configure:5058: checking for inttypes.h configure:5058: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 configure:5058: $? = 0 configure:5058: result: yes configure:5058: checking for stdint.h configure:5058: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 configure:5058: $? = 0 configure:5058: result: yes configure:5058: checking for strings.h configure:5058: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 configure:5058: $? = 0 configure:5058: result: yes configure:5058: checking for sys/stat.h configure:5058: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 configure:5058: $? = 0 configure:5058: result: yes configure:5058: checking for sys/types.h configure:5058: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 configure:5058: $? = 0 configure:5058: result: yes configure:5058: checking for unistd.h configure:5058: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 configure:5058: $? = 0 configure:5058: result: yes configure:5058: checking for vfork.h configure:5058: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 conftest.c:47:10: fatal error: vfork.h: No such file or directory 47 | #include | ^~~~~~~~~ compilation terminated. configure:5058: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "vtun" | #define PACKAGE_TARNAME "vtun" | #define PACKAGE_VERSION "3" | #define PACKAGE_STRING "vtun 3" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define YYTEXT_POINTER 1 | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:5058: result: no configure:5083: checking for grep that handles long lines and -e configure:5147: result: /usr/bin/grep configure:5155: checking for egrep configure:5223: result: /usr/bin/grep -E configure:5229: checking for sys/resource.h configure:5229: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 configure:5229: $? = 0 configure:5229: result: yes configure:5235: checking for netdb.h configure:5235: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 configure:5235: $? = 0 configure:5235: result: yes configure:5241: checking for sched.h configure:5241: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 configure:5241: $? = 0 configure:5241: result: yes configure:5247: checking for resolv.h configure:5247: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 configure:5247: $? = 0 configure:5247: result: yes configure:5253: checking for arpa/inet.h configure:5253: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 configure:5253: $? = 0 configure:5253: result: yes configure:5260: checking for netinet/ip.h configure:5260: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 configure:5260: $? = 0 configure:5260: result: yes configure:5266: checking for netinet/in.h configure:5266: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 configure:5266: $? = 0 configure:5266: result: yes configure:5272: checking for netinet/tcp.h configure:5272: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 configure:5272: $? = 0 configure:5272: result: yes configure:5278: checking for netinet/in_systm.h configure:5278: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 configure:5278: $? = 0 configure:5278: result: yes configure:5285: checking for libutil.h configure:5285: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 conftest.c:57:10: fatal error: libutil.h: No such file or directory 57 | #include | ^~~~~~~~~~~ compilation terminated. configure:5285: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "vtun" | #define PACKAGE_TARNAME "vtun" | #define PACKAGE_VERSION "3" | #define PACKAGE_STRING "vtun 3" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define YYTEXT_POINTER 1 | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_RESOLV_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:5285: result: no configure:5291: checking for sys/sockio.h configure:5291: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 conftest.c:57:10: fatal error: sys/sockio.h: No such file or directory 57 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:5291: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "vtun" | #define PACKAGE_TARNAME "vtun" | #define PACKAGE_VERSION "3" | #define PACKAGE_STRING "vtun 3" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define YYTEXT_POINTER 1 | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_RESOLV_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:5291: result: no configure:5299: checking for library containing socket configure:5329: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -static conftest.c -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lssl -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -pthread -latomic -lcrypto -pthread -latomic -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib >&5 configure:5329: $? = 0 configure:5349: result: none required configure:5359: checking for library containing inet_ntoa configure:5389: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -static conftest.c -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lssl -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -pthread -latomic -lcrypto -pthread -latomic -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib >&5 configure:5389: $? = 0 configure:5409: result: none required configure:5419: checking for library containing gethostbyname configure:5449: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -static conftest.c -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lssl -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -pthread -latomic -lcrypto -pthread -latomic -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib >&5 configure:5449: $? = 0 configure:5469: result: none required configure:5479: checking for library containing nanosleep configure:5509: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -static conftest.c -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lssl -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -pthread -latomic -lcrypto -pthread -latomic -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib >&5 configure:5509: $? = 0 configure:5529: result: none required configure:5539: checking for library containing setproctitle configure:5569: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -static conftest.c -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lssl -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -pthread -latomic -lcrypto -pthread -latomic -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib >&5 /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /tmp/ccH9gq7J.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `setproctitle' collect2: error: ld returned 1 exit status configure:5569: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "vtun" | #define PACKAGE_TARNAME "vtun" | #define PACKAGE_VERSION "3" | #define PACKAGE_STRING "vtun 3" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define YYTEXT_POINTER 1 | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_RESOLV_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | char setproctitle (); | int | main (void) | { | return setproctitle (); | ; | return 0; | } configure:5569: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -static conftest.c -lutil -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lssl -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -pthread -latomic -lcrypto -pthread -latomic -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib >&5 /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /tmp/ccqDHRBN.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `setproctitle' collect2: error: ld returned 1 exit status configure:5569: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "vtun" | #define PACKAGE_TARNAME "vtun" | #define PACKAGE_VERSION "3" | #define PACKAGE_STRING "vtun 3" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define YYTEXT_POINTER 1 | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_RESOLV_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | char setproctitle (); | int | main (void) | { | return setproctitle (); | ; | return 0; | } configure:5569: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -static conftest.c -lbsd -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lssl -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -pthread -latomic -lcrypto -pthread -latomic -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib >&5 /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: cannot find -lbsd collect2: error: ld returned 1 exit status configure:5569: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "vtun" | #define PACKAGE_TARNAME "vtun" | #define PACKAGE_VERSION "3" | #define PACKAGE_STRING "vtun 3" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define YYTEXT_POINTER 1 | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_RESOLV_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | char setproctitle (); | int | main (void) | { | return setproctitle (); | ; | return 0; | } configure:5589: result: no configure:5602: checking for pid_t configure:5602: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 configure:5602: $? = 0 configure:5602: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 conftest.c: In function 'main': conftest.c:61:20: error: expected expression before ')' token 61 | if (sizeof ((pid_t))) | ^ configure:5602: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "vtun" | #define PACKAGE_TARNAME "vtun" | #define PACKAGE_VERSION "3" | #define PACKAGE_STRING "vtun 3" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define YYTEXT_POINTER 1 | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_RESOLV_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | | int | main (void) | { | if (sizeof ((pid_t))) | return 0; | ; | return 0; | } configure:5602: result: yes configure:5643: checking for fork configure:5643: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -static conftest.c -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lssl -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -pthread -latomic -lcrypto -pthread -latomic -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib >&5 conftest.c:45:6: warning: conflicting types for built-in function 'fork'; expected 'int(void)' [-Wbuiltin-declaration-mismatch] 45 | char fork (); | ^~~~ configure:5643: $? = 0 configure:5643: result: yes configure:5643: checking for vfork configure:5643: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -static conftest.c -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lssl -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -pthread -latomic -lcrypto -pthread -latomic -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib >&5 configure:5643: $? = 0 configure:5643: result: yes configure:5656: checking for working fork configure:5691: result: cross configure:5707: WARNING: result yes guessed because of cross compilation configure:5712: checking for working vfork configure:5841: result: yes configure:5874: result: configure:5876: checking for ZLIB Library and Header files ... ... configure:5878: checking for deflate in -lz configure:5901: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -static conftest.c -lz -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lssl -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -pthread -latomic -lcrypto -pthread -latomic -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib >&5 configure:5901: $? = 0 configure:5911: result: yes configure:5928: result: configure:5930: checking for LZO Library and Header files ... ... configure:5933: checking "for lzo_asm.h" configure:5966: result: (/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/lzo) yes configure:6025: checking for lzo1x_decompress in -llzo2 configure:6048: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/lzo -static conftest.c -llzo2 -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lssl -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -pthread -latomic -lcrypto -pthread -latomic -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lz >&5 configure:6048: $? = 0 configure:6059: result: yes configure:6084: result: configure:6086: checking for md5 Library and Header files ... ... configure:6089: checking "for md5.h" configure:6122: result: (/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl) yes configure:6135: result: configure:6137: checking for blowfish Library and Header files ... ... configure:6140: checking "for blowfish.h" configure:6173: result: (/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl) yes configure:6175: checking for BF_set_key in -lcrypto configure:6198: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/lzo -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -static conftest.c -lcrypto -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lssl -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -pthread -latomic -lcrypto -pthread -latomic -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lz -llzo2 >&5 configure:6198: $? = 0 configure:6208: result: yes configure:6236: result: configure:6238: checking for AES Library and Header files ... ... configure:6241: checking "for aes.h" configure:6274: result: (/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl) yes configure:6276: checking for AES_set_encrypt_key in -lcrypto configure:6299: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/lzo -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -static conftest.c -lcrypto -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lssl -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -pthread -latomic -lcrypto -pthread -latomic -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lz -llzo2 -lcrypto >&5 configure:6299: $? = 0 configure:6309: result: yes configure:6333: result: configure:6335: checking for EVP Library and Header files ... ... configure:6338: checking "for evp.h" configure:6371: result: (/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl) yes configure:6373: checking for EVP_EncryptInit in -lcrypto configure:6396: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/lzo -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -static conftest.c -lcrypto -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lssl -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -pthread -latomic -lcrypto -pthread -latomic -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lz -llzo2 -lcrypto >&5 configure:6396: $? = 0 configure:6406: result: yes configure:6533: result: configure:6536: checking for getpt configure:6536: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/lzo -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -static conftest.c -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lssl -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -pthread -latomic -lcrypto -pthread -latomic -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lz -llzo2 -lcrypto >&5 configure:6536: $? = 0 configure:6536: result: yes configure:6542: checking for grantpt configure:6542: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/lzo -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -static conftest.c -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lssl -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -pthread -latomic -lcrypto -pthread -latomic -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lz -llzo2 -lcrypto >&5 configure:6542: $? = 0 configure:6542: result: yes configure:6548: checking for unlockpt configure:6548: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/lzo -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -static conftest.c -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lssl -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -pthread -latomic -lcrypto -pthread -latomic -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lz -llzo2 -lcrypto >&5 configure:6548: $? = 0 configure:6548: result: yes configure:6554: checking for ptsname configure:6554: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/lzo -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -static conftest.c -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lssl -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -pthread -latomic -lcrypto -pthread -latomic -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lz -llzo2 -lcrypto >&5 configure:6554: $? = 0 configure:6554: result: yes configure:6566: checking for linux/if_tun.h configure:6566: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/lzo -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl conftest.c >&5 configure:6566: $? = 0 configure:6566: result: yes configure:6589: result: creating driver and protocol links ... configure:6595: result: linking generic/tun_dev.c to tun_dev.c configure:6595: result: linking generic/tap_dev.c to tap_dev.c configure:6595: result: linking generic/pty_dev.c to pty_dev.c configure:6595: result: linking generic/pipe_dev.c to pipe_dev.c configure:6595: result: linking generic/tcp_proto.c to tcp_proto.c configure:6595: result: linking generic/udp_proto.c to udp_proto.c configure:6605: result: linking linux/tun_dev.c to tun_dev.c configure:6605: result: linking linux/tap_dev.c to tap_dev.c configure:6614: result: configure:6735: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by vtun config.status 3, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on brautobuilder2 config.status:846: creating Makefile config.status:949: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status:846: creating config.h configure:7890: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-dependency-tracking, --enable-ipv6, --disable-nls, --enable-static, --disable-shared ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_bigendian=no ac_cv_c_compiler_gnu=yes ac_cv_c_const=yes ac_cv_c_inline=inline ac_cv_env_CC_set=set ac_cv_env_CC_value=/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89' 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_LDFLAGS_set=set ac_cv_env_LDFLAGS_value=' -static' ac_cv_env_LIBS_set=set ac_cv_env_LIBS_value='-L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lssl -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -pthread -latomic -lcrypto -pthread -latomic ' 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=arm-buildroot-linux-uclibcgnueabi ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=arm-buildroot-linux-uclibcgnueabi ac_cv_func_calloc_0_nonnull=yes ac_cv_func_fork=yes ac_cv_func_fork_works=yes ac_cv_func_getpt=yes ac_cv_func_grantpt=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_memcmp_working=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_ptsname=yes ac_cv_func_realloc_0_nonnull=yes ac_cv_func_unlockpt=yes ac_cv_func_vfork=yes ac_cv_func_vfork_works=yes ac_cv_have_decl_malloc=yes ac_cv_header_arpa_inet_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_libutil_h=no ac_cv_header_linux_if_tun_h=yes ac_cv_header_netdb_h=yes ac_cv_header_netinet_in_h=yes ac_cv_header_netinet_in_systm_h=yes ac_cv_header_netinet_ip_h=yes ac_cv_header_netinet_tcp_h=yes ac_cv_header_resolv_h=yes ac_cv_header_sched_h=yes ac_cv_header_stdint_h=yes ac_cv_header_stdio_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_resource_h=yes ac_cv_header_sys_sockio_h=no ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_header_vfork_h=no ac_cv_host=arm-buildroot-linux-uclibcgnueabi ac_cv_lbl_unaligned_fail=yes ac_cv_lib_crypto_AES_set_encrypt_key=yes ac_cv_lib_crypto_BF_set_key=yes ac_cv_lib_crypto_EVP_EncryptInit=yes ac_cv_lib_lex='none needed' ac_cv_lib_lzo2_lzo1x_decompress=yes ac_cv_lib_z_deflate=yes ac_cv_objext=o ac_cv_path_EGREP='/usr/bin/grep -E' ac_cv_path_GREP=/usr/bin/grep ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_CC=/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc ac_cv_prog_LEX=flex ac_cv_prog_YACC='bison -y' ac_cv_prog_cc_c11=no ac_cv_prog_cc_c89= ac_cv_prog_cc_c99=no ac_cv_prog_cc_g=yes ac_cv_prog_cc_stdc= ac_cv_prog_lex_root=lex.yy ac_cv_prog_lex_yytext_pointer=yes ac_cv_search_gethostbyname='none required' ac_cv_search_inet_ntoa='none required' ac_cv_search_nanosleep='none required' ac_cv_search_setproctitle=no ac_cv_search_socket='none required' ac_cv_search_yywrap=no ac_cv_target=arm-buildroot-linux-uclibcgnueabi ac_cv_type_pid_t=yes gl_cv_func_malloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec= ## ----------------- ## ## Output variables. ## ## ----------------- ## CC='/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc' CFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -std=gnu89' CPPFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/lzo -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl -I/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/openssl' DEFS='-DHAVE_CONFIG_H' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/usr/bin/grep -E' EXEEXT='' GREP='/usr/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' LDFLAGS=' -static' LEX='flex' LEXLIB='' LEX_OUTPUT_ROOT='lex.yy' LIBOBJS='' LIBS='-L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lssl -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -pthread -latomic -lcrypto -pthread -latomic -L/home/giuliobenetti/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lz -llzo2 -lcrypto' LTLIBOBJS='' OBJEXT='o' PACKAGE_BUGREPORT='' PACKAGE_NAME='vtun' PACKAGE_STRING='vtun 3' PACKAGE_TARNAME='vtun' PACKAGE_URL='' PACKAGE_VERSION='3' PATH_SEPARATOR=':' SHELL='/bin/bash' YACC='bison -y' YFLAGS='' ac_ct_CC='' 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='arm-buildroot-linux-uclibcgnueabi' host_alias='arm-buildroot-linux-uclibcgnueabi' host_cpu='arm' host_os='linux-uclibcgnueabi' 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='arm-buildroot-linux-uclibcgnueabi' target_alias='arm-buildroot-linux-uclibcgnueabi' target_cpu='arm' target_os='linux-uclibcgnueabi' target_vendor='buildroot' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "vtun" #define PACKAGE_TARNAME "vtun" #define PACKAGE_VERSION "3" #define PACKAGE_STRING "vtun 3" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define YYTEXT_POINTER 1 #define HAVE_STDIO_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_STRINGS_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 #define STDC_HEADERS 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_NETDB_H 1 #define HAVE_SCHED_H 1 #define HAVE_RESOLV_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_FORK 1 #define HAVE_VFORK 1 #define HAVE_WORKING_VFORK 1 #define HAVE_WORKING_FORK 1 #define HAVE_SHAPER 1 #define HAVE_ZLIB 1 #define HAVE_LZO 1 #define HAVE_SSL 1 #define HAVE_SSL_BLOWFISH 1 #define HAVE_SSL_AES 1 #define HAVE_SSL_EVP 1 #define ENABLE_NAT_HACK 1 #define HAVE_GETPT 1 #define HAVE_GRANTPT 1 #define HAVE_UNLOCKPT 1 #define HAVE_PTSNAME 1 #define HAVE_LINUX_IF_TUN_H 1 #define VTUN_VER "3.X 01/10/2022" configure: exit 0