This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by acpid configure 2.0.33, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --target=mips64-buildroot-linux-uclibc --host=mips64-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared ## --------- ## ## Platform. ## ## --------- ## hostname = james-x399 uname -m = x86_64 uname -r = 5.13.0-39-generic uname -s = Linux uname -v = #44~20.04.1-Ubuntu SMP Thu Mar 24 16:43:35 UTC 2022 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /nvmedata/autobuild/instance-7/output-1/host/bin PATH: /nvmedata/autobuild/instance-7/output-1/host/sbin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /snap/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2267: checking for a BSD-compatible install configure:2335: result: /usr/bin/install -c configure:2346: checking whether build environment is sane configure:2401: result: yes configure:2458: checking for mips64-buildroot-linux-uclibc-strip configure:2485: result: /bin/true configure:2550: checking for a thread-safe mkdir -p configure:2589: result: /bin/mkdir -p configure:2596: checking for gawk configure:2612: found /usr/bin/gawk configure:2623: result: gawk configure:2634: checking whether make sets $(MAKE) configure:2656: result: yes configure:2685: checking whether make supports nested variables configure:2702: result: yes configure:2781: checking how to create a pax tar archive configure:2792: tar --version tar (GNU tar) 1.30 Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. configure:2795: $? = 0 configure:2835: tardir=conftest.dir && eval tar --format=posix -chf - "$tardir" >conftest.tar configure:2838: $? = 0 configure:2842: tar -xf - &5 mips64-buildroot-linux-uclibc-gcc.br_real (Buildroot 2022.02-499-g4a9157705a) 10.3.0 Copyright (C) 2020 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:3405: $? = 0 configure:3394: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -v >&5 Using built-in specs. COLLECT_GCC=/nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc.br_real COLLECT_LTO_WRAPPER=/nvmedata/autobuild/instance-7/output-1/host/libexec/gcc/mips64-buildroot-linux-uclibc/10.3.0/lto-wrapper Target: mips64-buildroot-linux-uclibc Configured with: ./configure --prefix=/nvmedata/autobuild/instance-7/output-1/host --sysconfdir=/nvmedata/autobuild/instance-7/output-1/host/etc --enable-static --target=mips64-buildroot-linux-uclibc --with-sysroot=/nvmedata/autobuild/instance-7/output-1/host/mips64-buildroot-linux-uclibc/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/nvmedata/autobuild/instance-7/output-1/host --with-mpc=/nvmedata/autobuild/instance-7/output-1/host --with-mpfr=/nvmedata/autobuild/instance-7/output-1/host --with-pkgversion='Buildroot 2022.02-499-g4a9157705a' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --enable-tls --enable-threads --without-isl --without-cloog --with-float=soft --with-arch=i6400 --with-abi=n32 --with-nan=2008 --enable-languages=c --with-build-time-tools=/nvmedata/autobuild/instance-7/output-1/host/mips64-buildroot-linux-uclibc/bin --enable-shared --disable-libgomp Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.3.0 (Buildroot 2022.02-499-g4a9157705a) COMPILER_PATH=/nvmedata/autobuild/instance-7/output-1/host/libexec/gcc/mips64-buildroot-linux-uclibc/10.3.0/:/nvmedata/autobuild/instance-7/output-1/host/libexec/gcc/mips64-buildroot-linux-uclibc/10.3.0/:/nvmedata/autobuild/instance-7/output-1/host/libexec/gcc/mips64-buildroot-linux-uclibc/:/nvmedata/autobuild/instance-7/output-1/host/lib/gcc/mips64-buildroot-linux-uclibc/10.3.0/:/nvmedata/autobuild/instance-7/output-1/host/lib/gcc/mips64-buildroot-linux-uclibc/:/nvmedata/autobuild/instance-7/output-1/host/lib/gcc/mips64-buildroot-linux-uclibc/10.3.0/../../../../mips64-buildroot-linux-uclibc/bin/ LIBRARY_PATH=/nvmedata/autobuild/instance-7/output-1/host/lib/gcc/mips64-buildroot-linux-uclibc/10.3.0/:/nvmedata/autobuild/instance-7/output-1/host/lib/gcc/mips64-buildroot-linux-uclibc/10.3.0/../../../../mips64-buildroot-linux-uclibc/lib/../lib32/:/nvmedata/autobuild/instance-7/output-1/host/mips64-buildroot-linux-uclibc/sysroot/lib32/../lib32/:/nvmedata/autobuild/instance-7/output-1/host/mips64-buildroot-linux-uclibc/sysroot/usr/lib32/../lib32/:/nvmedata/autobuild/instance-7/output-1/host/lib/gcc/mips64-buildroot-linux-uclibc/10.3.0/../../../../mips64-buildroot-linux-uclibc/lib/:/nvmedata/autobuild/instance-7/output-1/host/mips64-buildroot-linux-uclibc/sysroot/lib32/:/nvmedata/autobuild/instance-7/output-1/host/mips64-buildroot-linux-uclibc/sysroot/usr/lib32/ ... rest of stderr output deleted ... configure:3405: $? = 1 configure:3394: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -V >&5 mips64-buildroot-linux-uclibc-gcc.br_real: error: unrecognized command-line option '-V' configure:3405: $? = 1 configure:3394: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -qversion >&5 mips64-buildroot-linux-uclibc-gcc.br_real: error: unrecognized command-line option '-qversion'; did you mean '--version'? configure:3405: $? = 1 configure:3425: checking whether the C compiler works configure:3447: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3451: $? = 0 configure:3499: result: yes configure:3502: checking for C compiler default output file name configure:3504: result: a.out configure:3510: checking for suffix of executables configure:3517: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3521: $? = 0 configure:3543: result: configure:3565: checking whether we are cross compiling configure:3603: result: yes configure:3608: checking for suffix of object files configure:3630: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3634: $? = 0 configure:3655: result: o configure:3659: checking whether we are using the GNU C compiler configure:3678: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3678: $? = 0 configure:3687: result: yes configure:3696: checking whether /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc accepts -g configure:3716: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3716: $? = 0 configure:3757: result: yes configure:3774: checking for /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc option to accept ISO C89 configure:3837: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3837: $? = 0 configure:3850: result: none needed configure:3875: checking whether /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc understands -c and -o together configure:3897: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c conftest.c -o conftest2.o configure:3900: $? = 0 configure:3897: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c conftest.c -o conftest2.o configure:3900: $? = 0 configure:3912: result: yes configure:3931: checking dependency style of /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc configure:4042: result: none configure:4061: checking for /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc option to accept ISO C99 configure:4210: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:54:9: error: unknown type name 'wchar_t' 54 | const wchar_t *name; | ^~~~~~~ configure:4210: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "acpid" | #define PACKAGE_TARNAME "acpid" | #define PACKAGE_VERSION "2.0.33" | #define PACKAGE_STRING "acpid 2.0.33" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "acpid" | #define VERSION "2.0.33" | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:4210: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -std=gnu99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:54:9: error: unknown type name 'wchar_t' 54 | const wchar_t *name; | ^~~~~~~ configure:4210: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "acpid" | #define PACKAGE_TARNAME "acpid" | #define PACKAGE_VERSION "2.0.33" | #define PACKAGE_STRING "acpid 2.0.33" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "acpid" | #define VERSION "2.0.33" | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:4210: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -std=c99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:54:9: error: unknown type name 'wchar_t' 54 | const wchar_t *name; | ^~~~~~~ configure:4210: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "acpid" | #define PACKAGE_TARNAME "acpid" | #define PACKAGE_VERSION "2.0.33" | #define PACKAGE_STRING "acpid 2.0.33" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "acpid" | #define VERSION "2.0.33" | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:4210: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 mips64-buildroot-linux-uclibc-gcc.br_real: error: unrecognized command-line option '-c99' configure:4210: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "acpid" | #define PACKAGE_TARNAME "acpid" | #define PACKAGE_VERSION "2.0.33" | #define PACKAGE_STRING "acpid 2.0.33" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "acpid" | #define VERSION "2.0.33" | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:4210: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -AC99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 : error: missing '(' after predicate conftest.c:54:9: error: unknown type name 'wchar_t' 54 | const wchar_t *name; | ^~~~~~~ configure:4210: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "acpid" | #define PACKAGE_TARNAME "acpid" | #define PACKAGE_VERSION "2.0.33" | #define PACKAGE_STRING "acpid 2.0.33" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "acpid" | #define VERSION "2.0.33" | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:4210: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -D_STDC_C99= -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:54:9: error: unknown type name 'wchar_t' 54 | const wchar_t *name; | ^~~~~~~ configure:4210: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "acpid" | #define PACKAGE_TARNAME "acpid" | #define PACKAGE_VERSION "2.0.33" | #define PACKAGE_STRING "acpid 2.0.33" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "acpid" | #define VERSION "2.0.33" | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:4210: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -qlanglvl=extc99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 mips64-buildroot-linux-uclibc-gcc.br_real: error: unrecognized command-line option '-qlanglvl=extc99' configure:4210: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "acpid" | #define PACKAGE_TARNAME "acpid" | #define PACKAGE_VERSION "2.0.33" | #define PACKAGE_STRING "acpid 2.0.33" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "acpid" | #define VERSION "2.0.33" | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:4226: result: unsupported configure:4236: checking for /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc option to accept ISO C89 configure:4312: result: none needed configure:4331: checking for /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc option to accept ISO Standard C configure:4342: result: none needed configure:4356: checking how to run the C preprocessor configure:4426: result: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-cpp configure:4446: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:4446: $? = 0 configure:4460: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory 11 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:4460: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "acpid" | #define PACKAGE_TARNAME "acpid" | #define PACKAGE_VERSION "2.0.33" | #define PACKAGE_STRING "acpid 2.0.33" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "acpid" | #define VERSION "2.0.33" | /* end confdefs.h. */ | #include configure:4489: checking for grep that handles long lines and -e configure:4547: result: /bin/grep configure:4552: checking for egrep configure:4614: result: /bin/grep -E configure:4619: checking for ANSI C header files configure:4639: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4639: $? = 0 configure:4723: result: yes configure:4736: checking for sys/types.h configure:4736: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4736: $? = 0 configure:4736: result: yes configure:4736: checking for sys/stat.h configure:4736: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4736: $? = 0 configure:4736: result: yes configure:4736: checking for stdlib.h configure:4736: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4736: $? = 0 configure:4736: result: yes configure:4736: checking for string.h configure:4736: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4736: $? = 0 configure:4736: result: yes configure:4736: checking for memory.h configure:4736: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4736: $? = 0 configure:4736: result: yes configure:4736: checking for strings.h configure:4736: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4736: $? = 0 configure:4736: result: yes configure:4736: checking for inttypes.h configure:4736: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4736: $? = 0 configure:4736: result: yes configure:4736: checking for stdint.h configure:4736: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4736: $? = 0 configure:4736: result: yes configure:4736: checking for unistd.h configure:4736: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4736: $? = 0 configure:4736: result: yes configure:4749: checking minix/config.h usability configure:4749: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:54:10: fatal error: minix/config.h: No such file or directory 54 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:4749: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "acpid" | #define PACKAGE_TARNAME "acpid" | #define PACKAGE_VERSION "2.0.33" | #define PACKAGE_STRING "acpid 2.0.33" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "acpid" | #define VERSION "2.0.33" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:4749: result: no configure:4749: checking minix/config.h presence configure:4749: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:21:10: fatal error: minix/config.h: No such file or directory 21 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:4749: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "acpid" | #define PACKAGE_TARNAME "acpid" | #define PACKAGE_VERSION "2.0.33" | #define PACKAGE_STRING "acpid 2.0.33" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "acpid" | #define VERSION "2.0.33" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include configure:4749: result: no configure:4749: checking for minix/config.h configure:4749: result: no configure:4770: checking whether it is safe to define __EXTENSIONS__ configure:4788: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4788: $? = 0 configure:4795: result: yes configure:4816: checking for special C compiler options needed for large files configure:4861: result: no configure:4867: checking for _FILE_OFFSET_BITS value needed for large files configure:4892: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4892: $? = 0 configure:4924: result: no configure:5010: checking whether make sets $(MAKE) configure:5032: result: yes configure:5048: checking arpa/inet.h usability configure:5048: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5048: $? = 0 configure:5048: result: yes configure:5048: checking arpa/inet.h presence configure:5048: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:5048: $? = 0 configure:5048: result: yes configure:5048: checking for arpa/inet.h configure:5048: result: yes configure:5048: checking fcntl.h usability configure:5048: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5048: $? = 0 configure:5048: result: yes configure:5048: checking fcntl.h presence configure:5048: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:5048: $? = 0 configure:5048: result: yes configure:5048: checking for fcntl.h configure:5048: result: yes configure:5048: checking malloc.h usability configure:5048: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5048: $? = 0 configure:5048: result: yes configure:5048: checking malloc.h presence configure:5048: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:5048: $? = 0 configure:5048: result: yes configure:5048: checking for malloc.h configure:5048: result: yes configure:5048: checking netinet/in.h usability configure:5048: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5048: $? = 0 configure:5048: result: yes configure:5048: checking netinet/in.h presence configure:5048: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:5048: $? = 0 configure:5048: result: yes configure:5048: checking for netinet/in.h configure:5048: result: yes configure:5048: checking for stdlib.h configure:5048: result: yes configure:5048: checking for string.h configure:5048: result: yes configure:5048: checking sys/ioctl.h usability configure:5048: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5048: $? = 0 configure:5048: result: yes configure:5048: checking sys/ioctl.h presence configure:5048: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:5048: $? = 0 configure:5048: result: yes configure:5048: checking for sys/ioctl.h configure:5048: result: yes configure:5048: checking sys/socket.h usability configure:5048: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5048: $? = 0 configure:5048: result: yes configure:5048: checking sys/socket.h presence configure:5048: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:5048: $? = 0 configure:5048: result: yes configure:5048: checking for sys/socket.h configure:5048: result: yes configure:5048: checking syslog.h usability configure:5048: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5048: $? = 0 configure:5048: result: yes configure:5048: checking syslog.h presence configure:5048: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:5048: $? = 0 configure:5048: result: yes configure:5048: checking for syslog.h configure:5048: result: yes configure:5048: checking for unistd.h configure:5048: result: yes configure:5060: checking for mode_t configure:5060: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5060: $? = 0 configure:5060: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:72:21: error: expected expression before ')' token 72 | if (sizeof ((mode_t))) | ^ configure:5060: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "acpid" | #define PACKAGE_TARNAME "acpid" | #define PACKAGE_VERSION "2.0.33" | #define PACKAGE_STRING "acpid 2.0.33" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "acpid" | #define VERSION "2.0.33" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof ((mode_t))) | return 0; | ; | return 0; | } configure:5060: result: yes configure:5071: checking for pid_t configure:5071: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5071: $? = 0 configure:5071: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:72:20: error: expected expression before ')' token 72 | if (sizeof ((pid_t))) | ^ configure:5071: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "acpid" | #define PACKAGE_TARNAME "acpid" | #define PACKAGE_VERSION "2.0.33" | #define PACKAGE_STRING "acpid 2.0.33" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "acpid" | #define VERSION "2.0.33" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof ((pid_t))) | return 0; | ; | return 0; | } configure:5071: result: yes configure:5082: checking for size_t configure:5082: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5082: $? = 0 configure:5082: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:72:21: error: expected expression before ')' token 72 | if (sizeof ((size_t))) | ^ configure:5082: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "acpid" | #define PACKAGE_TARNAME "acpid" | #define PACKAGE_VERSION "2.0.33" | #define PACKAGE_STRING "acpid 2.0.33" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "acpid" | #define VERSION "2.0.33" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof ((size_t))) | return 0; | ; | return 0; | } configure:5082: result: yes configure:5093: checking for ssize_t configure:5093: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5093: $? = 0 configure:5093: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:72:22: error: expected expression before ')' token 72 | if (sizeof ((ssize_t))) | ^ configure:5093: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "acpid" | #define PACKAGE_TARNAME "acpid" | #define PACKAGE_VERSION "2.0.33" | #define PACKAGE_STRING "acpid 2.0.33" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "acpid" | #define VERSION "2.0.33" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof ((ssize_t))) | return 0; | ; | return 0; | } configure:5093: result: yes configure:5108: checking vfork.h usability configure:5108: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:69:10: fatal error: vfork.h: No such file or directory 69 | #include | ^~~~~~~~~ compilation terminated. configure:5108: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "acpid" | #define PACKAGE_TARNAME "acpid" | #define PACKAGE_VERSION "2.0.33" | #define PACKAGE_STRING "acpid 2.0.33" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "acpid" | #define VERSION "2.0.33" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:5108: result: no configure:5108: checking vfork.h presence configure:5108: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:36:10: fatal error: vfork.h: No such file or directory 36 | #include | ^~~~~~~~~ compilation terminated. configure:5108: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "acpid" | #define PACKAGE_TARNAME "acpid" | #define PACKAGE_VERSION "2.0.33" | #define PACKAGE_STRING "acpid 2.0.33" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "acpid" | #define VERSION "2.0.33" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include configure:5108: result: no configure:5108: checking for vfork.h configure:5108: result: no configure:5121: checking for fork configure:5121: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:59:6: warning: conflicting types for built-in function 'fork'; expected 'int(void)' [-Wbuiltin-declaration-mismatch] 59 | char fork (); | ^~~~ configure:5121: $? = 0 configure:5121: result: yes configure:5121: checking for vfork configure:5121: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5121: $? = 0 configure:5121: result: yes configure:5131: checking for working fork configure:5163: result: cross configure:5179: WARNING: result yes guessed because of cross compilation configure:5184: checking for working vfork configure:5294: result: yes configure:5323: checking build system type configure:5337: result: x86_64-pc-linux-gnu configure:5357: checking host system type configure:5370: result: mips64-buildroot-linux-uclibc configure:5390: checking for working strnlen configure:5438: result: yes configure:5447: checking for fchown configure:5447: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5447: $? = 0 configure:5447: result: yes configure:5456: checking for chmod configure:5456: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5456: $? = 0 configure:5456: result: yes configure:5465: checking for fstat configure:5465: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5465: $? = 0 configure:5465: result: yes configure:5474: checking for fstatat configure:5474: /nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /nvmedata/autobuild/instance-7/output-1/host/lib/gcc/mips64-buildroot-linux-uclibc/10.3.0/../../../../mips64-buildroot-linux-uclibc/bin/ld: /tmp/ccZbRiI7.o: in function `main': conftest.c:(.text+0x14): undefined reference to `fstatat' /nvmedata/autobuild/instance-7/output-1/host/lib/gcc/mips64-buildroot-linux-uclibc/10.3.0/../../../../mips64-buildroot-linux-uclibc/bin/ld: conftest.c:(.text+0x18): undefined reference to `fstatat' collect2: error: ld returned 1 exit status configure:5474: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "acpid" | #define PACKAGE_TARNAME "acpid" | #define PACKAGE_VERSION "2.0.33" | #define PACKAGE_STRING "acpid 2.0.33" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "acpid" | #define VERSION "2.0.33" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_FCHOWN 1 | #define HAVE_CHMOD 1 | #define HAVE_FSTAT 1 | /* end confdefs.h. */ | /* Define fstatat to an innocuous variant, in case declares fstatat. | For example, HP-UX 11i declares gettimeofday. */ | #define fstatat innocuous_fstatat | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char fstatat (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef fstatat | | /* 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. */ | #ifdef __cplusplus | extern "C" | #endif | char fstatat (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_fstatat || defined __stub___fstatat | choke me | #endif | | int | main () | { | return fstatat (); | ; | return 0; | } configure:5474: result: no configure:5480: error: "fstatat() not found" ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_bigendian=yes ac_cv_c_compiler_gnu=yes ac_cv_env_CC_set=set ac_cv_env_CC_value=/nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 ' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' ac_cv_env_CPP_set=set ac_cv_env_CPP_value=/nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-cpp ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64-pc-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=mips64-buildroot-linux-uclibc ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=mips64-buildroot-linux-uclibc ac_cv_func_calloc_0_nonnull=yes ac_cv_func_chmod=yes ac_cv_func_fchown=yes ac_cv_func_fork=yes ac_cv_func_fork_works=yes ac_cv_func_fstat=yes ac_cv_func_fstatat=no ac_cv_func_malloc_0_nonnull=yes ac_cv_func_memcmp_working=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_realloc_0_nonnull=yes ac_cv_func_strnlen_working=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_fcntl_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_malloc_h=yes ac_cv_header_memory_h=yes ac_cv_header_minix_config_h=no ac_cv_header_netinet_in_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_ioctl_h=yes ac_cv_header_sys_socket_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_syslog_h=yes ac_cv_header_unistd_h=yes ac_cv_header_vfork_h=no ac_cv_host=mips64-buildroot-linux-uclibc ac_cv_lbl_unaligned_fail=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_path_mkdir=/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_CC=/nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc ac_cv_prog_CPP=/nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-cpp ac_cv_prog_STRIP=/bin/true 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_make_make_set=yes ac_cv_safe_to_define___extensions__=yes ac_cv_sys_file_offset_bits=no ac_cv_sys_largefile_CC=no ac_cv_type_mode_t=yes ac_cv_type_pid_t=yes ac_cv_type_size_t=yes ac_cv_type_ssize_t=yes am_cv_CC_dependencies_compiler_type=none am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=yes am_cv_prog_tar_pax=gnutar gl_cv_func_malloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec= ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /nvmedata/autobuild/instance-7/output-1/build/acpid-2.0.33/build-aux/missing aclocal-1.16' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='#' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_V='$(V)' AUTOCONF='${SHELL} /nvmedata/autobuild/instance-7/output-1/build/acpid-2.0.33/build-aux/missing autoconf' AUTOHEADER='${SHELL} /nvmedata/autobuild/instance-7/output-1/build/acpid-2.0.33/build-aux/missing autoheader' AUTOMAKE='${SHELL} /nvmedata/autobuild/instance-7/output-1/build/acpid-2.0.33/build-aux/missing automake-1.16' AWK='gawk' CC='/nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc' CCDEPMODE='depmode=none' CFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 ' CPP='/nvmedata/autobuild/instance-7/output-1/host/bin/mips64-buildroot-linux-uclibc-cpp' CPPFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' 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}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LDFLAGS='' LIBOBJS='' LIBS='' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} /nvmedata/autobuild/instance-7/output-1/build/acpid-2.0.33/build-aux/missing makeinfo' MKDIR_P='/bin/mkdir -p' OBJEXT='o' PACKAGE='acpid' PACKAGE_BUGREPORT='' PACKAGE_NAME='acpid' PACKAGE_STRING='acpid 2.0.33' PACKAGE_TARNAME='acpid' PACKAGE_URL='' PACKAGE_VERSION='2.0.33' PATH_SEPARATOR=':' SET_MAKE='' SHELL='/bin/bash' STRIP='/bin/true' VERSION='2.0.33' ac_ct_CC='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='#' am__include='include' am__isrc='' am__leading_dot='.' am__nodep='' am__quote='' am__tar='tar --format=posix -chf - "$$tardir"' am__untar='tar -xf -' 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='mips64-buildroot-linux-uclibc' host_alias='mips64-buildroot-linux-uclibc' host_cpu='mips64' host_os='linux-uclibc' host_vendor='buildroot' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /nvmedata/autobuild/instance-7/output-1/build/acpid-2.0.33/build-aux/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr' program_transform_name='s&^&&' psdir='${docdir}' runstatedir='${localstatedir}/run' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc' target_alias='mips64-buildroot-linux-uclibc' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "acpid" #define PACKAGE_TARNAME "acpid" #define PACKAGE_VERSION "2.0.33" #define PACKAGE_STRING "acpid 2.0.33" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define PACKAGE "acpid" #define VERSION "2.0.33" #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define __EXTENSIONS__ 1 #define _ALL_SOURCE 1 #define _GNU_SOURCE 1 #define _POSIX_PTHREAD_SEMANTICS 1 #define _TANDEM_SOURCE 1 #define HAVE_ARPA_INET_H 1 #define HAVE_FCNTL_H 1 #define HAVE_MALLOC_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_UNISTD_H 1 #define HAVE_FORK 1 #define HAVE_VFORK 1 #define HAVE_WORKING_VFORK 1 #define HAVE_WORKING_FORK 1 #define HAVE_FCHOWN 1 #define HAVE_CHMOD 1 #define HAVE_FSTAT 1 configure: exit 1