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=mips64el-buildroot-linux-uclibc --host=mips64el-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --enable-nls --disable-static --enable-shared --with-ssl-headers=/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl --with-lzo-headers=/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/lzo --with-lzo-lib=/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/lib ## --------- ## ## Platform. ## ## --------- ## hostname = gcc123.bak.milne.osuosl.org uname -m = x86_64 uname -r = 4.19.0-17-amd64 uname -s = Linux uname -v = #1 SMP Debian 4.19.194-3 (2021-07-18) /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/peko/autobuild/instance-0/output-1/host/bin/ PATH: /home/peko/autobuild/instance-0/output-1/host/sbin/ PATH: /usr/local/bin/ PATH: /usr/bin/ PATH: /bin/ PATH: /usr/local/games/ PATH: /usr/games/ ## ----------- ## ## Core tests. ## ## ----------- ## configure:2386: looking for aux files: install-sh config.guess config.sub configure:2399: trying ./ configure:2410: ./install-sh found configure:2428: ./config.guess found configure:2428: ./config.sub found configure:2657: checking build system type configure:2672: result: x86_64-pc-linux-gnu configure:2692: checking host system type configure:2706: result: mips64el-buildroot-linux-uclibc configure:2726: checking target system type configure:2740: result: mips64el-buildroot-linux-uclibc configure:2772: checking for bison configure:2793: found /home/peko/autobuild/instance-0/output-1/host/bin/bison configure:2804: result: bison -y configure:2833: checking for mips64el-buildroot-linux-uclibc-gcc configure:2865: result: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc configure:3263: checking for C compiler version configure:3272: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc --version >&5 mips64el-linux-gcc.br_real (Buildroot 2020.11.2) 8.4.0 Copyright (C) 2018 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:3283: $? = 0 configure:3272: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -v >&5 Using built-in specs. COLLECT_GCC=/home/peko/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/mips64el-linux-gcc.br_real COLLECT_LTO_WRAPPER=/home/peko/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/mips64el-buildroot-linux-uclibc/8.4.0/lto-wrapper Target: mips64el-buildroot-linux-uclibc Configured with: ./configure --prefix=/opt/br-mips64-n64-full-2020.11.2 --sysconfdir=/opt/br-mips64-n64-full-2020.11.2/etc --enable-static --target=mips64el-buildroot-linux-uclibc --with-sysroot=/opt/br-mips64-n64-full-2020.11.2/mips64el-buildroot-linux-uclibc/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/opt/br-mips64-n64-full-2020.11.2 --with-mpc=/opt/br-mips64-n64-full-2020.11.2 --with-mpfr=/opt/br-mips64-n64-full-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-arch=mips64r2 --with-abi=64 --with-nan=legacy --enable-languages=c,c++ --with-build-time-tools=/opt/br-mips64-n64-full-2020.11.2/mips64el-buildroot-linux-uclibc/bin --enable-shared --disable-libgomp Thread model: posix gcc version 8.4.0 (Buildroot 2020.11.2) COMPILER_PATH=/home/peko/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/mips64el-buildroot-linux-uclibc/8.4.0/:/home/peko/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/:/home/peko/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mips64el-buildroot-linux-uclibc/8.4.0/../../../../mips64el-buildroot-linux-uclibc/bin/ LIBRARY_PATH=/home/peko/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mips64el-buildroot-linux-uclibc/8.4.0/:/home/peko/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/:/home/peko/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mips64el-buildroot-linux-uclibc/8.4.0/../../../../mips64el-buildroot-linux-uclibc/lib/../lib64/:/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/lib64/../lib64/:/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/lib64/../lib64/:/home/peko/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mips64el-buildroot-linux-uclibc/8.4.0/../../../../mips64el-buildroot-linux-uclibc/lib/:/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/lib64/:/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/lib64/ COLLECT_GCC_OPTIONS='-mabi=64' '-mnan=legacy' '-EL' '-march=mips64' '-fPIE' '-pie' '-v' '-mllsc' '-mips64' ... rest of stderr output deleted ... configure:3283: $? = 1 configure:3272: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -V >&5 mips64el-linux-gcc.br_real: error: unrecognized command line option '-V' configure:3283: $? = 1 configure:3272: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -qversion >&5 mips64el-linux-gcc.br_real: error: unrecognized command line option '-qversion'; did you mean '--version'? configure:3283: $? = 1 configure:3272: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -version >&5 mips64el-linux-gcc.br_real: error: unrecognized command line option '-version' configure:3283: $? = 1 configure:3303: checking whether the C compiler works configure:3325: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c -L/home/peko/autobuild/instance-0/output-1/host/bin/../mips64el-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto -L/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/lib >&5 configure:3329: $? = 0 configure:3379: result: yes configure:3382: checking for C compiler default output file name configure:3384: result: a.out configure:3390: checking for suffix of executables configure:3397: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c -L/home/peko/autobuild/instance-0/output-1/host/bin/../mips64el-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto -L/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/lib >&5 configure:3401: $? = 0 configure:3424: result: configure:3446: checking whether we are cross compiling configure:3484: result: yes configure:3489: checking for suffix of object files configure:3512: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 configure:3516: $? = 0 configure:3538: result: o configure:3542: checking whether the compiler supports GNU C configure:3562: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 configure:3562: $? = 0 configure:3572: result: yes configure:3583: checking whether /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc accepts -g configure:3604: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 configure:3604: $? = 0 configure:3648: result: yes configure:3668: checking for /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc option to enable C11 features configure:3683: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 conftest.c:61:3: error: #error "Compiler does not advertise C99 conformance" # error "Compiler does not advertise C99 conformance" ^~~~~ conftest.c:116:29: error: expected ';', ',' or ')' before 'text' test_restrict (ccp restrict text) ^~~~ conftest.c:165:3: error: #error "Compiler does not advertise C11 conformance" # error "Compiler does not advertise C11 conformance" ^~~~~ conftest.c:196:12: error: 'syntax' undeclared here (not in a function); did you mean 'stat'? #define u8 syntax error! ^~~~~~ conftest.c:197:29: note: in expansion of macro 'u8' char const utf8_literal[] = u8"happens to be ASCII" "another string"; ^~ conftest.c:196:19: error: expected ',' or ';' before 'error' #define u8 syntax error! ^~~~~ conftest.c:197:29: note: in expansion of macro 'u8' 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' 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 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:3683: $? = 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:3683: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -std=gnu11 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 conftest.c:61:3: error: #error "Compiler does not advertise C99 conformance" # error "Compiler does not advertise C99 conformance" ^~~~~ conftest.c:116:29: error: expected ';', ',' or ')' before 'text' test_restrict (ccp restrict text) ^~~~ conftest.c:165:3: error: #error "Compiler does not advertise C11 conformance" # error "Compiler does not advertise C11 conformance" ^~~~~ conftest.c:196:12: error: 'syntax' undeclared here (not in a function); did you mean 'stat'? #define u8 syntax error! ^~~~~~ conftest.c:197:29: note: in expansion of macro 'u8' char const utf8_literal[] = u8"happens to be ASCII" "another string"; ^~ conftest.c:196:19: error: expected ',' or ';' before 'error' #define u8 syntax error! ^~~~~ conftest.c:197:29: note: in expansion of macro 'u8' 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' 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 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:3683: $? = 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:3696: result: unsupported configure:3714: checking for /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc option to enable C99 features configure:3729: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 conftest.c:61:3: error: #error "Compiler does not advertise C99 conformance" # error "Compiler does not advertise C99 conformance" ^~~~~ conftest.c:116:29: error: expected ';', ',' or ')' before 'text' test_restrict (ccp restrict text) ^~~~ conftest.c: In function 'main': conftest.c:178:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar' 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 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:3729: $? = 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:3729: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -std=gnu99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 conftest.c:61:3: error: #error "Compiler does not advertise C99 conformance" # error "Compiler does not advertise C99 conformance" ^~~~~ conftest.c:116:29: error: expected ';', ',' or ')' before 'text' test_restrict (ccp restrict text) ^~~~ conftest.c: In function 'main': conftest.c:178:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar' 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 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:3729: $? = 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:3729: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -std=c99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 conftest.c:61:3: error: #error "Compiler does not advertise C99 conformance" # error "Compiler does not advertise C99 conformance" ^~~~~ conftest.c:116:29: error: expected ';', ',' or ')' before 'text' test_restrict (ccp restrict text) ^~~~ conftest.c: In function 'main': conftest.c:178:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar' 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 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:3729: $? = 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:3729: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -c99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 mips64el-linux-gcc.br_real: error: unrecognized command line option '-c99' configure:3729: $? = 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:3729: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -qlanglvl=extc1x -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 mips64el-linux-gcc.br_real: error: unrecognized command line option '-qlanglvl=extc1x' configure:3729: $? = 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:3729: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -qlanglvl=extc99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 mips64el-linux-gcc.br_real: error: unrecognized command line option '-qlanglvl=extc99' configure:3729: $? = 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:3729: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -AC99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 : error: missing '(' after predicate conftest.c:61:3: error: #error "Compiler does not advertise C99 conformance" # error "Compiler does not advertise C99 conformance" ^~~~~ conftest.c:116:29: error: expected ';', ',' or ')' before 'text' test_restrict (ccp restrict text) ^~~~ conftest.c: In function 'main': conftest.c:178:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar' 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 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:3729: $? = 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:3729: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -D_STDC_C99= -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 conftest.c:61:3: error: #error "Compiler does not advertise C99 conformance" # error "Compiler does not advertise C99 conformance" ^~~~~ conftest.c:116:29: error: expected ';', ',' or ')' before 'text' test_restrict (ccp restrict text) ^~~~ conftest.c: In function 'main': conftest.c:178:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar' 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 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:3729: $? = 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:3742: result: unsupported configure:3760: checking for /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc option to enable C89 features configure:3775: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 configure:3775: $? = 0 configure:3793: result: none needed configure:3816: checking for flex configure:3837: found /home/peko/autobuild/instance-0/output-1/host/bin/flex configure:3848: result: flex configure:3897: checking for lex output file root configure:3910: flex conftest.l configure:3914: $? = 0 configure:3922: result: lex.yy configure:3937: checking for lex library configure:3962: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c -L/home/peko/autobuild/instance-0/output-1/host/bin/../mips64el-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto -L/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/lib >&5 configure:3962: $? = 0 configure:3975: result: none needed configure:3990: checking for library containing yywrap configure:4020: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 /home/peko/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mips64el-buildroot-linux-uclibc/8.4.0/../../../../mips64el-buildroot-linux-uclibc/bin/ld: /tmp/ccMSOn7D.o: in function `main': conftest.c:(.text.startup+0x14): undefined reference to `yywrap' /home/peko/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mips64el-buildroot-linux-uclibc/8.4.0/../../../../mips64el-buildroot-linux-uclibc/bin/ld: conftest.c:(.text.startup+0x1c): undefined reference to `yywrap' collect2: error: ld returned 1 exit status configure:4020: $? = 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:4020: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c -lfl >&5 /home/peko/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mips64el-buildroot-linux-uclibc/8.4.0/../../../../mips64el-buildroot-linux-uclibc/bin/ld: cannot find -lfl collect2: error: ld returned 1 exit status configure:4020: $? = 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:4020: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c -ll >&5 /home/peko/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mips64el-buildroot-linux-uclibc/8.4.0/../../../../mips64el-buildroot-linux-uclibc/bin/ld: cannot find -ll collect2: error: ld returned 1 exit status configure:4020: $? = 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:4040: result: no configure:4056: checking whether yytext is a pointer configure:4072: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 configure:4072: $? = 0 configure:4079: result: yes configure:3921: checking for mips64el-buildroot-linux-uclibc-gcc configure:3953: result: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc configure:4351: checking for C compiler version configure:4360: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc --version >&5 mips64el-linux-gcc.br_real (Buildroot 2020.11.2) 8.4.0 Copyright (C) 2018 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:4371: $? = 0 configure:4360: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -v >&5 Using built-in specs. COLLECT_GCC=/home/peko/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/mips64el-linux-gcc.br_real COLLECT_LTO_WRAPPER=/home/peko/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/mips64el-buildroot-linux-uclibc/8.4.0/lto-wrapper Target: mips64el-buildroot-linux-uclibc Configured with: ./configure --prefix=/opt/br-mips64-n64-full-2020.11.2 --sysconfdir=/opt/br-mips64-n64-full-2020.11.2/etc --enable-static --target=mips64el-buildroot-linux-uclibc --with-sysroot=/opt/br-mips64-n64-full-2020.11.2/mips64el-buildroot-linux-uclibc/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/opt/br-mips64-n64-full-2020.11.2 --with-mpc=/opt/br-mips64-n64-full-2020.11.2 --with-mpfr=/opt/br-mips64-n64-full-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-arch=mips64r2 --with-abi=64 --with-nan=legacy --enable-languages=c,c++ --with-build-time-tools=/opt/br-mips64-n64-full-2020.11.2/mips64el-buildroot-linux-uclibc/bin --enable-shared --disable-libgomp Thread model: posix gcc version 8.4.0 (Buildroot 2020.11.2) COMPILER_PATH=/home/peko/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/mips64el-buildroot-linux-uclibc/8.4.0/:/home/peko/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/:/home/peko/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mips64el-buildroot-linux-uclibc/8.4.0/../../../../mips64el-buildroot-linux-uclibc/bin/ LIBRARY_PATH=/home/peko/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mips64el-buildroot-linux-uclibc/8.4.0/:/home/peko/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/:/home/peko/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mips64el-buildroot-linux-uclibc/8.4.0/../../../../mips64el-buildroot-linux-uclibc/lib/../lib64/:/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/lib64/../lib64/:/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/lib64/../lib64/:/home/peko/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mips64el-buildroot-linux-uclibc/8.4.0/../../../../mips64el-buildroot-linux-uclibc/lib/:/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/lib64/:/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/lib64/ COLLECT_GCC_OPTIONS='-mabi=64' '-mnan=legacy' '-EL' '-march=mips64' '-fPIE' '-pie' '-v' '-mllsc' '-mips64' ... rest of stderr output deleted ... configure:4371: $? = 1 configure:4360: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -V >&5 mips64el-linux-gcc.br_real: error: unrecognized command line option '-V' configure:4371: $? = 1 configure:4360: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -qversion >&5 mips64el-linux-gcc.br_real: error: unrecognized command line option '-qversion'; did you mean '--version'? configure:4371: $? = 1 configure:4360: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -version >&5 mips64el-linux-gcc.br_real: error: unrecognized command line option '-version' configure:4371: $? = 1 configure:4375: checking whether the compiler supports GNU C configure:4405: result: yes configure:4416: checking whether /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc accepts -g configure:4481: result: yes configure:4501: checking for /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc option to enable C11 features configure:4529: result: unsupported configure:4547: checking for /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc option to enable C99 features configure:4575: result: unsupported configure:4593: checking for /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc option to enable C89 features configure:4626: result: none needed configure:4659: checking for a BSD-compatible install configure:4732: result: /usr/bin/install -c configure:4744: checking for an ANSI C-conforming const configure:4811: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 configure:4811: $? = 0 configure:4819: result: yes configure:4827: checking for inline configure:4844: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 configure:4844: $? = 0 configure:4853: result: inline configure:4876: checking for stdio.h configure:4876: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 configure:4876: $? = 0 configure:4876: result: yes configure:4876: checking for stdlib.h configure:4876: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 configure:4876: $? = 0 configure:4876: result: yes configure:4876: checking for string.h configure:4876: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 configure:4876: $? = 0 configure:4876: result: yes configure:4876: checking for inttypes.h configure:4876: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 configure:4876: $? = 0 configure:4876: result: yes configure:4876: checking for stdint.h configure:4876: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 configure:4876: $? = 0 configure:4876: result: yes configure:4876: checking for strings.h configure:4876: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 configure:4876: $? = 0 configure:4876: result: yes configure:4876: checking for sys/stat.h configure:4876: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 configure:4876: $? = 0 configure:4876: result: yes configure:4876: checking for sys/types.h configure:4876: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 configure:4876: $? = 0 configure:4876: result: yes configure:4876: checking for unistd.h configure:4876: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 configure:4876: $? = 0 configure:4876: result: yes configure:4876: checking for vfork.h configure:4876: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 conftest.c:47:10: fatal error: vfork.h: No such file or directory #include ^~~~~~~~~ compilation terminated. configure:4876: $? = 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:4876: result: no configure:4901: checking for grep that handles long lines and -e configure:4965: result: /bin/grep configure:4973: checking for egrep configure:5041: result: /bin/grep -E configure:5047: checking for sys/resource.h configure:5047: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 configure:5047: $? = 0 configure:5047: result: yes configure:5053: checking for netdb.h configure:5053: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 configure:5053: $? = 0 configure:5053: result: yes configure:5059: checking for sched.h configure:5059: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 configure:5059: $? = 0 configure:5059: result: yes configure:5065: checking for resolv.h configure:5065: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 configure:5065: $? = 0 configure:5065: result: yes configure:5071: checking for arpa/inet.h configure:5071: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 configure:5071: $? = 0 configure:5071: result: yes configure:5078: checking for netinet/ip.h configure:5078: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 configure:5078: $? = 0 configure:5078: result: yes configure:5084: checking for netinet/in.h configure:5084: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 configure:5084: $? = 0 configure:5084: result: yes configure:5090: checking for netinet/tcp.h configure:5090: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 configure:5090: $? = 0 configure:5090: result: yes configure:5096: checking for netinet/in_systm.h configure:5096: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 configure:5096: $? = 0 configure:5096: result: yes configure:5103: checking for libutil.h configure:5103: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 conftest.c:57:10: fatal error: libutil.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. configure:5103: $? = 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:5103: result: no configure:5109: checking for sys/sockio.h configure:5109: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 conftest.c:57:10: fatal error: sys/sockio.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. configure:5109: $? = 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:5109: result: no configure:5117: checking for library containing socket configure:5147: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c -L/home/peko/autobuild/instance-0/output-1/host/bin/../mips64el-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto -L/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/lib >&5 configure:5147: $? = 0 configure:5167: result: none required configure:5177: checking for library containing inet_ntoa configure:5207: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c -L/home/peko/autobuild/instance-0/output-1/host/bin/../mips64el-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto -L/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/lib >&5 configure:5207: $? = 0 configure:5227: result: none required configure:5237: checking for library containing gethostbyname configure:5267: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c -L/home/peko/autobuild/instance-0/output-1/host/bin/../mips64el-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto -L/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/lib >&5 configure:5267: $? = 0 configure:5287: result: none required configure:5297: checking for library containing nanosleep configure:5327: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c -L/home/peko/autobuild/instance-0/output-1/host/bin/../mips64el-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto -L/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/lib >&5 configure:5327: $? = 0 configure:5347: result: none required configure:5357: checking for library containing setproctitle configure:5387: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c -L/home/peko/autobuild/instance-0/output-1/host/bin/../mips64el-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto -L/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/lib >&5 /home/peko/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mips64el-buildroot-linux-uclibc/8.4.0/../../../../mips64el-buildroot-linux-uclibc/bin/ld: /tmp/ccUkgOQN.o: in function `main': conftest.c:(.text.startup+0x14): undefined reference to `setproctitle' /home/peko/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mips64el-buildroot-linux-uclibc/8.4.0/../../../../mips64el-buildroot-linux-uclibc/bin/ld: conftest.c:(.text.startup+0x1c): undefined reference to `setproctitle' collect2: error: ld returned 1 exit status configure:5387: $? = 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:5387: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c -lutil -L/home/peko/autobuild/instance-0/output-1/host/bin/../mips64el-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto -L/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/lib >&5 /home/peko/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mips64el-buildroot-linux-uclibc/8.4.0/../../../../mips64el-buildroot-linux-uclibc/bin/ld: /tmp/cc49DZWV.o: in function `main': conftest.c:(.text.startup+0x14): undefined reference to `setproctitle' /home/peko/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mips64el-buildroot-linux-uclibc/8.4.0/../../../../mips64el-buildroot-linux-uclibc/bin/ld: conftest.c:(.text.startup+0x1c): undefined reference to `setproctitle' collect2: error: ld returned 1 exit status configure:5387: $? = 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:5387: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c -lbsd -L/home/peko/autobuild/instance-0/output-1/host/bin/../mips64el-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto -L/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/lib >&5 /home/peko/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mips64el-buildroot-linux-uclibc/8.4.0/../../../../mips64el-buildroot-linux-uclibc/bin/ld: cannot find -lbsd collect2: error: ld returned 1 exit status configure:5387: $? = 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:5407: result: no configure:5420: checking for pid_t configure:5420: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 configure:5420: $? = 0 configure:5420: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 conftest.c: In function 'main': conftest.c:61:20: error: expected expression before ')' token if (sizeof ((pid_t))) ^ configure:5420: $? = 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:5420: result: yes configure:5461: checking for fork configure:5461: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c -L/home/peko/autobuild/instance-0/output-1/host/bin/../mips64el-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto -L/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/lib >&5 conftest.c:45:6: warning: conflicting types for built-in function 'fork' [-Wbuiltin-declaration-mismatch] char fork (); ^~~~ configure:5461: $? = 0 configure:5461: result: yes configure:5461: checking for vfork configure:5461: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c -L/home/peko/autobuild/instance-0/output-1/host/bin/../mips64el-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto -L/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/lib >&5 configure:5461: $? = 0 configure:5461: result: yes configure:5474: checking for working fork configure:5509: result: cross configure:5525: WARNING: result yes guessed because of cross compilation configure:5530: checking for working vfork configure:5659: result: yes configure:5692: result: configure:5694: checking for ZLIB Library and Header files ... ... configure:5696: checking for deflate in -lz configure:5719: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c -lz -L/home/peko/autobuild/instance-0/output-1/host/bin/../mips64el-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto -L/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/lib >&5 configure:5719: $? = 0 configure:5729: result: yes configure:5746: result: configure:5748: checking for LZO Library and Header files ... ... configure:5751: checking "for lzo_asm.h" configure:5784: result: (/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/lzo) yes configure:5843: checking for lzo1x_decompress in -llzo2 configure:5866: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/lzo conftest.c -llzo2 -L/home/peko/autobuild/instance-0/output-1/host/bin/../mips64el-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto -L/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/lib -lz >&5 configure:5866: $? = 0 configure:5877: result: yes configure:5902: result: configure:5904: checking for md5 Library and Header files ... ... configure:5907: checking "for md5.h" configure:5940: result: (/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl) yes configure:5953: result: configure:5955: checking for blowfish Library and Header files ... ... configure:5958: checking "for blowfish.h" configure:5991: result: (/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl) yes configure:5993: checking for BF_set_key in -lcrypto configure:6016: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/lzo -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c -lcrypto -L/home/peko/autobuild/instance-0/output-1/host/bin/../mips64el-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto -L/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/lib -lz -llzo2 >&5 configure:6016: $? = 0 configure:6026: result: yes configure:6054: result: configure:6056: checking for AES Library and Header files ... ... configure:6059: checking "for aes.h" configure:6092: result: (/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl) yes configure:6094: checking for AES_set_encrypt_key in -lcrypto configure:6117: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/lzo -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c -lcrypto -L/home/peko/autobuild/instance-0/output-1/host/bin/../mips64el-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto -L/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/lib -lz -llzo2 -lcrypto >&5 configure:6117: $? = 0 configure:6127: result: yes configure:6151: result: configure:6153: checking for EVP Library and Header files ... ... configure:6156: checking "for evp.h" configure:6189: result: (/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl) yes configure:6191: checking for EVP_EncryptInit in -lcrypto configure:6214: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/lzo -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c -lcrypto -L/home/peko/autobuild/instance-0/output-1/host/bin/../mips64el-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto -L/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/lib -lz -llzo2 -lcrypto >&5 configure:6214: $? = 0 configure:6224: result: yes configure:6351: result: configure:6354: checking for getpt configure:6354: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/lzo -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c -L/home/peko/autobuild/instance-0/output-1/host/bin/../mips64el-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto -L/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/lib -lz -llzo2 -lcrypto >&5 configure:6354: $? = 0 configure:6354: result: yes configure:6360: checking for grantpt configure:6360: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/lzo -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c -L/home/peko/autobuild/instance-0/output-1/host/bin/../mips64el-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto -L/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/lib -lz -llzo2 -lcrypto >&5 configure:6360: $? = 0 configure:6360: result: yes configure:6366: checking for unlockpt configure:6366: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/lzo -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c -L/home/peko/autobuild/instance-0/output-1/host/bin/../mips64el-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto -L/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/lib -lz -llzo2 -lcrypto >&5 configure:6366: $? = 0 configure:6366: result: yes configure:6372: checking for ptsname configure:6372: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/lzo -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c -L/home/peko/autobuild/instance-0/output-1/host/bin/../mips64el-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto -L/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/lib -lz -llzo2 -lcrypto >&5 configure:6372: $? = 0 configure:6372: result: yes configure:6384: checking for linux/if_tun.h configure:6384: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/lzo -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl conftest.c >&5 configure:6384: $? = 0 configure:6384: result: yes configure:6407: result: creating driver and protocol links ... configure:6413: result: linking generic/tun_dev.c to tun_dev.c configure:6413: result: linking generic/tap_dev.c to tap_dev.c configure:6413: result: linking generic/pty_dev.c to pty_dev.c configure:6413: result: linking generic/pipe_dev.c to pipe_dev.c configure:6413: result: linking generic/tcp_proto.c to tcp_proto.c configure:6413: result: linking generic/udp_proto.c to udp_proto.c configure:6423: result: linking linux/tun_dev.c to tun_dev.c configure:6423: result: linking linux/tap_dev.c to tap_dev.c configure:6432: result: configure:6553: 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 gcc123.bak.milne.osuosl.org config.status:840: creating Makefile config.status:943: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status:840: creating config.h configure:7708: 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, --enable-nls, --disable-static, --enable-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/peko/autobuild/instance-0/output-1/host/bin/mips64el-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 -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= ac_cv_env_LIBS_set=set ac_cv_env_LIBS_value='-L/home/peko/autobuild/instance-0/output-1/host/bin/../mips64el-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 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=mips64el-buildroot-linux-uclibc ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=mips64el-buildroot-linux-uclibc 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=mips64el-buildroot-linux-uclibc 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='/bin/grep -E' ac_cv_path_GREP=/bin/grep ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_CC=/home/peko/autobuild/instance-0/output-1/host/bin/mips64el-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=mips64el-buildroot-linux-uclibc ac_cv_type_pid_t=yes gl_cv_func_malloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec= ## ----------------- ## ## Output variables. ## ## ----------------- ## CC='/home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc' CFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -std=gnu89' CPPFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/lzo -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl -I/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/openssl' DEFS='-DHAVE_CONFIG_H' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' GREP='/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' LDFLAGS='' LEX='flex' LEXLIB='' LEX_OUTPUT_ROOT='lex.yy' LIBOBJS='' LIBS='-L/home/peko/autobuild/instance-0/output-1/host/bin/../mips64el-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto -L/home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/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='mips64el-buildroot-linux-uclibc' host_alias='mips64el-buildroot-linux-uclibc' host_cpu='mips64el' host_os='linux-uclibc' host_vendor='buildroot' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/var' mandir='${datarootdir}/man' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr' program_transform_name='s,x,x,' psdir='${docdir}' runstatedir='${localstatedir}/run' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc' target='mips64el-buildroot-linux-uclibc' target_alias='mips64el-buildroot-linux-uclibc' target_cpu='mips64el' target_os='linux-uclibc' 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