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=aarch64-unknown-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var runstatedir=/run --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 = asahi-mini uname -m = aarch64 uname -r = 5.19.0-asahi-5-1-ARCH uname -s = Linux uname -v = #1 SMP PREEMPT_DYNAMIC Sat, 20 Aug 2022 09:23:11 +0000 /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/autobuild/autobuild/instance-13/output-1/host/bin PATH: /home/autobuild/autobuild/instance-13/output-1/host/sbin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/bin PATH: /usr/lib/jvm/default/bin PATH: /usr/bin/site_perl PATH: /usr/bin/vendor_perl PATH: /usr/bin/core_perl ## ----------- ## ## Core tests. ## ## ----------- ## configure:2271: checking for a BSD-compatible install configure:2339: result: /usr/bin/install -c configure:2350: checking whether build environment is sane configure:2405: result: yes configure:2464: checking for mips64-buildroot-linux-uclibc-strip configure:2491: result: /bin/true configure:2556: checking for a thread-safe mkdir -p configure:2595: result: /usr/bin/mkdir -p configure:2602: checking for gawk configure:2618: found /usr/bin/gawk configure:2629: result: gawk configure:2640: checking whether make sets $(MAKE) configure:2662: result: yes configure:2691: checking whether make supports nested variables configure:2708: result: yes configure:2787: checking how to create a pax tar archive configure:2798: tar --version tar (GNU tar) 1.34 Copyright (C) 2021 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:2801: $? = 0 configure:2841: tardir=conftest.dir && eval tar --format=posix -chf - "$tardir" >conftest.tar configure:2844: $? = 0 configure:2848: tar -xf - &5 mips64-buildroot-linux-uclibc-gcc.br_real (Buildroot 2022.08-rc1-155-g628f3dc54c) 11.3.0 Copyright (C) 2021 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:3411: $? = 0 configure:3400: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -v >&5 Using built-in specs. COLLECT_GCC=/home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc.br_real COLLECT_LTO_WRAPPER=/home/autobuild/autobuild/instance-13/output-1/host/libexec/gcc/mips64-buildroot-linux-uclibc/11.3.0/lto-wrapper Target: mips64-buildroot-linux-uclibc Configured with: ./configure --prefix=/home/autobuild/autobuild/instance-13/output-1/host --sysconfdir=/home/autobuild/autobuild/instance-13/output-1/host/etc --enable-static --target=mips64-buildroot-linux-uclibc --with-sysroot=/home/autobuild/autobuild/instance-13/output-1/host/mips64-buildroot-linux-uclibc/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --enable-plugins --enable-lto --with-gmp=/home/autobuild/autobuild/instance-13/output-1/host --with-mpc=/home/autobuild/autobuild/instance-13/output-1/host --with-mpfr=/home/autobuild/autobuild/instance-13/output-1/host --with-pkgversion='Buildroot 2022.08-rc1-155-g628f3dc54c' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --disable-libsanitizer --enable-tls --enable-threads --without-isl --without-cloog --with-arch=mips64 --with-abi=n32 --with-nan=legacy --enable-languages=c --with-build-time-tools=/home/autobuild/autobuild/instance-13/output-1/host/mips64-buildroot-linux-uclibc/bin --enable-shared --disable-libgomp Thread model: posix Supported LTO compression algorithms: zlib gcc version 11.3.0 (Buildroot 2022.08-rc1-155-g628f3dc54c) COMPILER_PATH=/home/autobuild/autobuild/instance-13/output-1/host/libexec/gcc/mips64-buildroot-linux-uclibc/11.3.0/:/home/autobuild/autobuild/instance-13/output-1/host/libexec/gcc/mips64-buildroot-linux-uclibc/11.3.0/:/home/autobuild/autobuild/instance-13/output-1/host/libexec/gcc/mips64-buildroot-linux-uclibc/:/home/autobuild/autobuild/instance-13/output-1/host/lib/gcc/mips64-buildroot-linux-uclibc/11.3.0/:/home/autobuild/autobuild/instance-13/output-1/host/lib/gcc/mips64-buildroot-linux-uclibc/:/home/autobuild/autobuild/instance-13/output-1/host/lib/gcc/mips64-buildroot-linux-uclibc/11.3.0/../../../../mips64-buildroot-linux-uclibc/bin/ LIBRARY_PATH=/home/autobuild/autobuild/instance-13/output-1/host/lib/gcc/mips64-buildroot-linux-uclibc/11.3.0/:/home/autobuild/autobuild/instance-13/output-1/host/lib/gcc/mips64-buildroot-linux-uclibc/11.3.0/../../../../mips64-buildroot-linux-uclibc/lib/../lib32/:/home/autobuild/autobuild/instance-13/output-1/host/mips64-buildroot-linux-uclibc/sysroot/lib32/../lib32/:/home/autobuild/autobuild/instance-13/output-1/host/mips64-buildroot-linux-uclibc/sysroot/usr/lib32/../lib32/:/home/autobuild/autobuild/instance-13/output-1/host/lib/gcc/mips64-buildroot-linux-uclibc/11.3.0/../../../../mips64-buildroot-linux-uclibc/lib/:/home/autobuild/autobuild/instance-13/output-1/host/mips64-buildroot-linux-uclibc/sysroot/lib32/:/home/autobuild/autobuild/instance-13/output-1/host/mips64-buildroot-linux-uclibc/sysroot/usr/lib32/ ... rest of stderr output deleted ... configure:3411: $? = 1 configure:3400: /home/autobuild/autobuild/instance-13/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:3411: $? = 1 configure:3400: /home/autobuild/autobuild/instance-13/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:3411: $? = 1 configure:3431: checking whether the C compiler works configure:3453: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3457: $? = 0 configure:3505: result: yes configure:3508: checking for C compiler default output file name configure:3510: result: a.out configure:3516: checking for suffix of executables configure:3523: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3527: $? = 0 configure:3549: result: configure:3571: checking whether we are cross compiling configure:3609: result: yes configure:3614: checking for suffix of object files configure:3636: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3640: $? = 0 configure:3661: result: o configure:3665: checking whether we are using the GNU C compiler configure:3684: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3684: $? = 0 configure:3693: result: yes configure:3702: checking whether /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc accepts -g configure:3722: /home/autobuild/autobuild/instance-13/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:3722: $? = 0 configure:3763: result: yes configure:3780: checking for /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc option to accept ISO C89 configure:3843: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3843: $? = 0 configure:3856: result: none needed configure:3881: checking whether /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc understands -c and -o together configure:3903: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c conftest.c -o conftest2.o configure:3906: $? = 0 configure:3903: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c conftest.c -o conftest2.o configure:3906: $? = 0 configure:3918: result: yes configure:3937: checking dependency style of /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc configure:4048: result: none configure:4067: checking for /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc option to accept ISO C99 configure:4216: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -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:4216: $? = 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:4216: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -std=gnu99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -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:4216: $? = 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:4216: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -std=c99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -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:4216: $? = 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:4216: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -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:4216: $? = 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:4216: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -AC99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -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:4216: $? = 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:4216: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -D_STDC_C99= -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -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:4216: $? = 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:4216: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -qlanglvl=extc99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -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:4216: $? = 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:4232: result: unsupported configure:4242: checking for /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc option to accept ISO C89 configure:4318: result: none needed configure:4337: checking for /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc option to accept ISO Standard C configure:4348: result: none needed configure:4362: checking how to run the C preprocessor configure:4432: result: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-cpp configure:4452: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:4452: $? = 0 configure:4466: /home/autobuild/autobuild/instance-13/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:4466: $? = 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:4495: checking for grep that handles long lines and -e configure:4553: result: /usr/bin/grep configure:4558: checking for egrep configure:4620: result: /usr/bin/grep -E configure:4625: checking for ANSI C header files configure:4645: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4645: $? = 0 configure:4729: result: yes configure:4742: checking for sys/types.h configure:4742: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4742: $? = 0 configure:4742: result: yes configure:4742: checking for sys/stat.h configure:4742: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4742: $? = 0 configure:4742: result: yes configure:4742: checking for stdlib.h configure:4742: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4742: $? = 0 configure:4742: result: yes configure:4742: checking for string.h configure:4742: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4742: $? = 0 configure:4742: result: yes configure:4742: checking for memory.h configure:4742: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4742: $? = 0 configure:4742: result: yes configure:4742: checking for strings.h configure:4742: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4742: $? = 0 configure:4742: result: yes configure:4742: checking for inttypes.h configure:4742: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4742: $? = 0 configure:4742: result: yes configure:4742: checking for stdint.h configure:4742: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4742: $? = 0 configure:4742: result: yes configure:4742: checking for unistd.h configure:4742: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4742: $? = 0 configure:4742: result: yes configure:4755: checking minix/config.h usability configure:4755: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -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:4755: $? = 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:4755: result: no configure:4755: checking minix/config.h presence configure:4755: /home/autobuild/autobuild/instance-13/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:4755: $? = 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:4755: result: no configure:4755: checking for minix/config.h configure:4755: result: no configure:4776: checking whether it is safe to define __EXTENSIONS__ configure:4794: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4794: $? = 0 configure:4801: result: yes configure:4822: checking for special C compiler options needed for large files configure:4867: result: no configure:4873: checking for _FILE_OFFSET_BITS value needed for large files configure:4898: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4898: $? = 0 configure:4930: result: no configure:5016: checking whether make sets $(MAKE) configure:5038: result: yes configure:5054: checking arpa/inet.h usability configure:5054: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5054: $? = 0 configure:5054: result: yes configure:5054: checking arpa/inet.h presence configure:5054: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:5054: $? = 0 configure:5054: result: yes configure:5054: checking for arpa/inet.h configure:5054: result: yes configure:5054: checking fcntl.h usability configure:5054: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5054: $? = 0 configure:5054: result: yes configure:5054: checking fcntl.h presence configure:5054: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:5054: $? = 0 configure:5054: result: yes configure:5054: checking for fcntl.h configure:5054: result: yes configure:5054: checking malloc.h usability configure:5054: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5054: $? = 0 configure:5054: result: yes configure:5054: checking malloc.h presence configure:5054: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:5054: $? = 0 configure:5054: result: yes configure:5054: checking for malloc.h configure:5054: result: yes configure:5054: checking netinet/in.h usability configure:5054: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5054: $? = 0 configure:5054: result: yes configure:5054: checking netinet/in.h presence configure:5054: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:5054: $? = 0 configure:5054: result: yes configure:5054: checking for netinet/in.h configure:5054: result: yes configure:5054: checking for stdlib.h configure:5054: result: yes configure:5054: checking for string.h configure:5054: result: yes configure:5054: checking sys/ioctl.h usability configure:5054: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5054: $? = 0 configure:5054: result: yes configure:5054: checking sys/ioctl.h presence configure:5054: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:5054: $? = 0 configure:5054: result: yes configure:5054: checking for sys/ioctl.h configure:5054: result: yes configure:5054: checking sys/socket.h usability configure:5054: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5054: $? = 0 configure:5054: result: yes configure:5054: checking sys/socket.h presence configure:5054: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:5054: $? = 0 configure:5054: result: yes configure:5054: checking for sys/socket.h configure:5054: result: yes configure:5054: checking syslog.h usability configure:5054: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5054: $? = 0 configure:5054: result: yes configure:5054: checking syslog.h presence configure:5054: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:5054: $? = 0 configure:5054: result: yes configure:5054: checking for syslog.h configure:5054: result: yes configure:5054: checking for unistd.h configure:5054: result: yes configure:5066: checking for mode_t configure:5066: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5066: $? = 0 configure:5066: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -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:5066: $? = 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:5066: result: yes configure:5077: checking for pid_t configure:5077: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5077: $? = 0 configure:5077: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -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:5077: $? = 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:5077: result: yes configure:5088: checking for size_t configure:5088: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5088: $? = 0 configure:5088: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -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:5088: $? = 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:5088: result: yes configure:5099: checking for ssize_t configure:5099: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5099: $? = 0 configure:5099: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -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:5099: $? = 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:5099: result: yes configure:5114: checking vfork.h usability configure:5114: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -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:5114: $? = 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:5114: result: no configure:5114: checking vfork.h presence configure:5114: /home/autobuild/autobuild/instance-13/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:5114: $? = 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:5114: result: no configure:5114: checking for vfork.h configure:5114: result: no configure:5127: checking for fork configure:5127: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -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:5127: $? = 0 configure:5127: result: yes configure:5127: checking for vfork configure:5127: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5127: $? = 0 configure:5127: result: yes configure:5137: checking for working fork configure:5169: result: cross configure:5185: WARNING: result yes guessed because of cross compilation configure:5190: checking for working vfork configure:5300: result: yes configure:5329: checking build system type configure:5343: result: aarch64-unknown-linux-gnu configure:5363: checking host system type configure:5376: result: mips64-buildroot-linux-uclibc configure:5396: checking for working strnlen configure:5444: result: yes configure:5453: checking for fchown configure:5453: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5453: $? = 0 configure:5453: result: yes configure:5462: checking for chmod configure:5462: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5462: $? = 0 configure:5462: result: yes configure:5471: checking for fstat configure:5471: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5471: $? = 0 configure:5471: result: yes configure:5480: checking for fstatat configure:5480: /home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/autobuild/autobuild/instance-13/output-1/host/lib/gcc/mips64-buildroot-linux-uclibc/11.3.0/../../../../mips64-buildroot-linux-uclibc/bin/ld: /tmp/ccQmpK4U.o: in function `main': conftest.c:(.text.startup+0x14): undefined reference to `fstatat' /home/autobuild/autobuild/instance-13/output-1/host/lib/gcc/mips64-buildroot-linux-uclibc/11.3.0/../../../../mips64-buildroot-linux-uclibc/bin/ld: conftest.c:(.text.startup+0x1c): undefined reference to `fstatat' collect2: error: ld returned 1 exit status configure:5480: $? = 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:5480: result: no configure:5486: error: "fstatat() not found" ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=aarch64-unknown-linux-gnu ac_cv_c_bigendian=yes ac_cv_c_compiler_gnu=yes ac_cv_env_CC_set=set ac_cv_env_CC_value=/home/autobuild/autobuild/instance-13/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 -O2 -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=/home/autobuild/autobuild/instance-13/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=aarch64-unknown-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='/usr/bin/grep -E' ac_cv_path_GREP=/usr/bin/grep ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/usr/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_CC=/home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc ac_cv_prog_CPP=/home/autobuild/autobuild/instance-13/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} /home/autobuild/autobuild/instance-13/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} /home/autobuild/autobuild/instance-13/output-1/build/acpid-2.0.33/build-aux/missing autoconf' AUTOHEADER='${SHELL} /home/autobuild/autobuild/instance-13/output-1/build/acpid-2.0.33/build-aux/missing autoheader' AUTOMAKE='${SHELL} /home/autobuild/autobuild/instance-13/output-1/build/acpid-2.0.33/build-aux/missing automake-1.16' AWK='gawk' CC='/home/autobuild/autobuild/instance-13/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc' CCDEPMODE='depmode=none' CFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 ' CPP='/home/autobuild/autobuild/instance-13/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='/usr/bin/grep -E' EXEEXT='' GREP='/usr/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} /home/autobuild/autobuild/instance-13/output-1/build/acpid-2.0.33/build-aux/missing makeinfo' MKDIR_P='/usr/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/sh' 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='aarch64-unknown-linux-gnu' build_alias='aarch64-unknown-linux-gnu' build_cpu='aarch64' build_os='linux-gnu' build_vendor='unknown' 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} /home/autobuild/autobuild/instance-13/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='/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