This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.71. Invocation command line was $ ./configure --prefix=/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host --sysconfdir=/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/etc --localstatedir=/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/var --enable-shared --disable-static --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --disable-debug --with-xmlto=no --with-fop=no --disable-nls --disable-dependency-tracking --without-javac --with-ssl=/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host --without-termcap 'CFLAGS=-O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include' 'LDFLAGS=-L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib -Wl,-rpath,/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib' --disable-option-checking --cache-file=/dev/null --srcdir=/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/host-erlang-22.2/lib/wx ## --------- ## ## Platform. ## ## --------- ## hostname = linuxtest5810 uname -m = x86_64 uname -r = 3.10.0-1160.15.2.el7.x86_64 uname -s = Linux uname -v = #1 SMP Thu Jan 21 16:15:07 EST 2021 /usr/bin/uname -p = x86_64 /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/bin/ PATH: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/sbin/ PATH: /usr/lfs/v0/bin/ PATH: /accts/mlweber1/python/ PATH: /accts/mlweber1/.local/bin/ PATH: /accts/mlweber1/.local/bin/ PATH: /accts/mlweber1/python/Python-2.7.11/ PATH: /usr/lfs/v0/bin/ PATH: /accts/mlweber1/python/ PATH: /usr/bin/ PATH: /bin/ ## ----------- ## ## Core tests. ## ## ----------- ## configure:2856: looking for aux files: config.guess config.sub configure:2869: trying ./autoconf/ configure:2898: ./autoconf/config.guess found configure:2898: ./autoconf/config.sub found configure:3035: checking build system type configure:3050: result: x86_64-pc-linux-gnu configure:3070: checking host system type configure:3084: result: x86_64-pc-linux-gnu configure:3183: checking for gcc configure:3215: result: /usr/bin/gcc configure:3568: checking for C compiler version configure:3577: /usr/bin/gcc --version >&5 gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) Copyright (C) 2015 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:3588: $? = 0 configure:3577: /usr/bin/gcc -v >&5 Using built-in specs. COLLECT_GCC=/usr/bin/gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux Thread model: posix gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) configure:3588: $? = 0 configure:3577: /usr/bin/gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:3588: $? = 4 configure:3577: /usr/bin/gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:3588: $? = 4 configure:3577: /usr/bin/gcc -version >&5 gcc: error: unrecognized command line option '-version' gcc: fatal error: no input files compilation terminated. configure:3588: $? = 4 configure:3608: checking whether the C compiler works configure:3630: /usr/bin/gcc -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib -Wl,-rpath,/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib conftest.c >&5 configure:3634: $? = 0 configure:3684: result: yes configure:3687: checking for C compiler default output file name configure:3689: result: a.out configure:3695: checking for suffix of executables configure:3702: /usr/bin/gcc -o conftest -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib -Wl,-rpath,/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib conftest.c >&5 configure:3706: $? = 0 configure:3729: result: configure:3751: checking whether we are cross compiling configure:3759: /usr/bin/gcc -o conftest -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib -Wl,-rpath,/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib conftest.c >&5 configure:3763: $? = 0 configure:3770: ./conftest configure:3774: $? = 0 configure:3789: result: no configure:3794: checking for suffix of object files configure:3817: /usr/bin/gcc -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c >&5 configure:3821: $? = 0 configure:3843: result: o configure:3847: checking whether the compiler supports GNU C configure:3867: /usr/bin/gcc -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c >&5 configure:3867: $? = 0 configure:3877: result: yes configure:3888: checking whether /usr/bin/gcc accepts -g configure:3909: /usr/bin/gcc -c -g -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c >&5 configure:3909: $? = 0 configure:3953: result: yes configure:3973: checking for /usr/bin/gcc option to enable C11 features configure:3988: /usr/bin/gcc -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c >&5 conftest.c:61:3: error: #error "Compiler does not advertise C99 conformance" # error "Compiler does not advertise C99 conformance" ^ conftest.c:116:29: error: expected ';', ',' or ')' before 'text' test_restrict (ccp restrict text) ^ conftest.c:165:3: error: #error "Compiler does not advertise C11 conformance" # error "Compiler does not advertise C11 conformance" ^ conftest.c:196:12: error: 'syntax' undeclared here (not in a function) #define u8 syntax error! ^ conftest.c:197:29: note: in expansion of macro 'u8' char const utf8_literal[] = u8"happens to be ASCII" "another string"; ^ conftest.c:196:19: error: expected ',' or ';' before 'error' #define u8 syntax error! ^ conftest.c:197:29: note: in expansion of macro 'u8' char const utf8_literal[] = u8"happens to be ASCII" "another string"; ^ conftest.c: In function 'main': conftest.c:230:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar' char *restrict newvar = "Another string"; ^ conftest.c:230:18: error: 'newvar' undeclared (first use in this function) conftest.c:230:18: note: each undeclared identifier is reported only once for each function it appears in conftest.c:240:3: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < ia->datasize; ++i) ^ conftest.c:240:3: note: use option -std=c99 or -std=gnu99 to compile your code configure:3988: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | /* Does the compiler advertise C89 conformance? | Do not test the value of __STDC__, because some compilers set it to 0 | while being otherwise adequately conformant. */ | #if !defined __STDC__ | # error "Compiler does not advertise C89 conformance" | #endif | | #include | #include | struct stat; | /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ | struct buf { int x; }; | struct buf * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not \xHH hex character constants. | These do not provoke an error unfortunately, instead are silently treated | as an "x". The following induces an error, until -std is added to get | proper ANSI mode. Curiously \x00 != x always comes out true, for an | array size at least. It is necessary to write \x00 == 0 to get something | that is true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), | int, int); | | // Does the compiler advertise C99 conformance? | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L | # error "Compiler does not advertise C99 conformance" | #endif | | #include | extern int puts (const char *); | extern int printf (const char *, ...); | extern int dprintf (int, const char *, ...); | extern void *malloc (size_t); | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | // dprintf is used instead of fprintf to avoid needing to declare | // FILE and stderr. | #define debug(...) dprintf (2, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | #error "your preprocessor is broken" | #endif | #if BIG_OK | #else | #error "your preprocessor is broken" | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static bool | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str = ""; | int number = 0; | float fnumber = 0; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | | return *str && number && fnumber; | } | | | // Does the compiler advertise C11 conformance? | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L | # error "Compiler does not advertise C11 conformance" | #endif | | // Check _Alignas. | char _Alignas (double) aligned_as_double; | char _Alignas (0) no_special_alignment; | extern char aligned_as_int; | char _Alignas (0) _Alignas (int) aligned_as_int; | | // Check _Alignof. | enum | { | int_alignment = _Alignof (int), | int_array_alignment = _Alignof (int[100]), | char_alignment = _Alignof (char) | }; | _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); | | // Check _Noreturn. | int _Noreturn does_not_return (void) { for (;;) continue; } | | // Check _Static_assert. | struct test_static_assert | { | int x; | _Static_assert (sizeof (int) <= sizeof (long int), | "_Static_assert does not work in struct"); | long int y; | }; | | // Check UTF-8 literals. | #define u8 syntax error! | char const utf8_literal[] = u8"happens to be ASCII" "another string"; | | // Check duplicate typedefs. | typedef long *long_ptr; | typedef long int *long_ptr; | typedef long_ptr long_ptr; | | // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. | struct anonymous | { | union { | struct { int i; int j; }; | struct { int k; long int l; } w; | }; | int m; | } v1; | | | int | main (int argc, char **argv) | { | int ok = 0; | | ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); | | | // Check bool. | _Bool success = false; | success |= (argc != 0); | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | success &= test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[0] = argv[0][0]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | | _Static_assert ((offsetof (struct anonymous, i) | == offsetof (struct anonymous, w.k)), | "Anonymous union alignment botch"); | v1.i = 2; | v1.w.k = 5; | ok |= v1.i != 5; | | return ok; | } | configure:3988: /usr/bin/gcc -std=gnu11 -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c >&5 configure:3988: $? = 0 configure:4009: result: -std=gnu11 configure:4244: checking for C++ compiler version configure:4253: /usr/bin/g++ --version >&5 g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) Copyright (C) 2015 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:4264: $? = 0 configure:4253: /usr/bin/g++ -v >&5 Using built-in specs. COLLECT_GCC=/usr/bin/g++ COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux Thread model: posix gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) configure:4264: $? = 0 configure:4253: /usr/bin/g++ -V >&5 g++: error: unrecognized command line option '-V' g++: fatal error: no input files compilation terminated. configure:4264: $? = 4 configure:4253: /usr/bin/g++ -qversion >&5 g++: error: unrecognized command line option '-qversion' g++: fatal error: no input files compilation terminated. configure:4264: $? = 4 configure:4268: checking whether the compiler supports GNU C++ configure:4288: /usr/bin/g++ -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.cpp >&5 configure:4288: $? = 0 configure:4298: result: yes configure:4309: checking whether /usr/bin/g++ accepts -g configure:4330: /usr/bin/g++ -c -g -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.cpp >&5 configure:4330: $? = 0 configure:4374: result: yes configure:4394: checking for /usr/bin/g++ option to enable C++11 features configure:4409: /usr/bin/g++ -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.cpp >&5 conftest.cpp:55:3: error: #error "Compiler does not advertise C++11 conformance" # error "Compiler does not advertise C++11 conformance" ^ conftest.cpp:60:3: error: 'constexpr' does not name a type constexpr int get_val() { return 20; } ^ conftest.cpp:60:3: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 conftest.cpp: In constructor 'cxx11test::delegate::delegate()': conftest.cpp:72:30: warning: delegating constructors only available with -std=c++11 or -std=gnu++11 [enabled by default] delegate(): delegate(2354) {} ^ conftest.cpp: At global scope: conftest.cpp:83:24: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 [enabled by default] virtual int getval() override final { return this->n * 2; } ^ conftest.cpp:83:26: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 [enabled by default] virtual int getval() override final { return this->n * 2; } ^ conftest.cpp:90:16: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default] nocopy() = default; ^ conftest.cpp:91:29: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default] nocopy(const nocopy&) = delete; ^ conftest.cpp:92:41: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default] nocopy & operator=(const nocopy&) = delete; ^ conftest.cpp:104:46: error: ISO C++ forbids declaration of 'sum' with no type [-fpermissive] template auto sum(V first) -> V ^ conftest.cpp:104:46: error: top-level declaration of 'sum' specifies 'auto' conftest.cpp:104:46: error: trailing return type only available with -std=c++11 or -std=gnu++11 conftest.cpp:108:33: warning: variadic templates only available with -std=c++11 or -std=gnu++11 [enabled by default] template auto sum(V first, Args... rest) -> V ^ conftest.cpp:108:69: warning: variadic templates only available with -std=c++11 or -std=gnu++11 [enabled by default] template auto sum(V first, Args... rest) -> V ^ conftest.cpp:108:78: error: ISO C++ forbids declaration of 'sum' with no type [-fpermissive] template auto sum(V first, Args... rest) -> V ^ conftest.cpp:108:78: error: top-level declaration of 'sum' specifies 'auto' conftest.cpp:108:78: error: trailing return type only available with -std=c++11 or -std=gnu++11 conftest.cpp: In function 'int main(int, char**)': conftest.cpp:132:8: error: 'a1' does not name a type auto a1 = 6538; ^ conftest.cpp:133:8: error: 'a2' does not name a type auto a2 = 48573953.4; ^ conftest.cpp:134:8: error: 'a3' does not name a type auto a3 = "String literal"; ^ conftest.cpp:137:13: error: 'i' does not name a type for (auto i = a3; *i; ++i) { total += *i; } ^ conftest.cpp:137:21: error: expected ';' before '*' token for (auto i = a3; *i; ++i) { total += *i; } ^ conftest.cpp:137:22: error: 'i' was not declared in this scope for (auto i = a3; *i; ++i) { total += *i; } ^ conftest.cpp:139:12: error: 'a2' was not declared in this scope decltype(a2) a4 = 34895.034; ^ conftest.cpp:139:14: error: 'decltype' was not declared in this scope decltype(a2) a4 = 34895.034; ^ conftest.cpp:139:16: error: expected ';' before 'a4' decltype(a2) a4 = 34895.034; ^ conftest.cpp:143:12: error: 'get_val' is not a member of 'cxx11test' short sa[cxx11test::get_val()] = { 0 }; ^ conftest.cpp:153:14: error: ISO C++ forbids declaration of 'x' with no type [-fpermissive] for (auto &x : array) { x += 23; } ^ conftest.cpp:153:18: error: range-based 'for' loops are not allowed in C++98 mode for (auto &x : array) { x += 23; } ^ conftest.cpp:158:41: warning: lambda expressions only available with -std=c++11 or -std=gnu++11 [enabled by default] assert (eval ([](int x) { return x*2; }, 21) == 42); ^ conftest.cpp:158:46: error: no matching function for call to 'eval(main(int, char**)::__lambda0, int)' assert (eval ([](int x) { return x*2; }, 21) == 42); ^ conftest.cpp:158:46: note: candidate is: conftest.cpp:98:44: note: template Ret cxx11test::eval(Fn, Ret) template Ret eval(Fn f, Ret v) ^ conftest.cpp:98:44: note: template argument deduction/substitution failed: conftest.cpp: In substitution of 'template Ret cxx11test::eval(Fn, Ret) [with Ret = int; Fn = main(int, char**)::__lambda0]': conftest.cpp:158:46: required from here conftest.cpp:158:46: error: template argument for 'template Ret cxx11test::eval(Fn, Ret)' uses local type 'main(int, char**)::__lambda0' assert (eval ([](int x) { return x*2; }, 21) == 42); ^ conftest.cpp:158:46: error: trying to instantiate 'template Ret cxx11test::eval(Fn, Ret)' conftest.cpp:160:48: warning: lambda expressions only available with -std=c++11 or -std=gnu++11 [enabled by default] assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); ^ conftest.cpp:160:54: error: no matching function for call to 'eval(main(int, char**)::__lambda1, double)' assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); ^ conftest.cpp:160:54: note: candidate is: conftest.cpp:98:44: note: template Ret cxx11test::eval(Fn, Ret) template Ret eval(Fn f, Ret v) ^ conftest.cpp:98:44: note: template argument deduction/substitution failed: conftest.cpp: In substitution of 'template Ret cxx11test::eval(Fn, Ret) [with Ret = double; Fn = main(int, char**)::__lambda1]': conftest.cpp:160:54: required from here conftest.cpp:160:54: error: template argument for 'template Ret cxx11test::eval(Fn, Ret)' uses local type 'main(int, char**)::__lambda1' assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); ^ conftest.cpp:160:54: error: trying to instantiate 'template Ret cxx11test::eval(Fn, Ret)' conftest.cpp:162:56: warning: lambda expressions only available with -std=c++11 or -std=gnu++11 [enabled by default] assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); ^ conftest.cpp:162:62: error: no matching function for call to 'eval(main(int, char**)::__lambda2, double)' assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); ^ conftest.cpp:162:62: note: candidate is: conftest.cpp:98:44: note: template Ret cxx11test::eval(Fn, Ret) template Ret eval(Fn f, Ret v) ^ conftest.cpp:98:44: note: template argument deduction/substitution failed: conftest.cpp: In substitution of 'template Ret cxx11test::eval(Fn, Ret) [with Ret = double; Fn = main(int, char**)::__lambda2]': conftest.cpp:162:62: required from here conftest.cpp:162:62: error: template argument for 'template Ret cxx11test::eval(Fn, Ret)' uses local type 'main(int, char**)::__lambda2' assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); ^ conftest.cpp:162:62: error: trying to instantiate 'template Ret cxx11test::eval(Fn, Ret)' conftest.cpp:167:20: error: 'cxx11test::sum' has not been declared using cxx11test::sum; ^ conftest.cpp:168:8: error: 'a' does not name a type auto a = sum(1); ^ conftest.cpp:169:8: error: 'b' does not name a type auto b = sum(1, 2); ^ conftest.cpp:170:8: error: 'c' does not name a type auto c = sum(1.0, 2.0, 3.0); ^ conftest.cpp:184:13: error: 'nullptr' was not declared in this scope char *c = nullptr; ^ conftest.cpp:188:36: error: '>>' should be '> >' within a nested template argument list test_template<::test_template> v(test_template(12)); ^ conftest.cpp:188:16: error: '<::' cannot begin a template-argument list [-fpermissive] test_template<::test_template> v(test_template(12)); ^ conftest.cpp:188:16: note: '<:' is an alternate spelling for '['. Insert whitespace between '<' and '::' conftest.cpp:188:16: note: (if you use '-fpermissive' or '-std=c++11', or '-std=gnu++11' G++ will accept your code) conftest.cpp:192:22: error: 'u8' was not declared in this scope char const *utf8 = u8"UTF-8 string \u2500"; ^ conftest.cpp:193:3: error: 'char16_t' was not declared in this scope char16_t const *utf16 = u"UTF-8 string \u2500"; ^ conftest.cpp:193:12: error: expected ';' before 'const' char16_t const *utf16 = u"UTF-8 string \u2500"; ^ conftest.cpp:194:3: error: 'char32_t' was not declared in this scope char32_t const *utf32 = U"UTF-32 string \u2500"; ^ conftest.cpp:194:12: error: expected ';' before 'const' char32_t const *utf32 = U"UTF-32 string \u2500"; ^ configure:4409: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | // Does the compiler advertise C++98 conformance? | #if !defined __cplusplus || __cplusplus < 199711L | # error "Compiler does not advertise C++98 conformance" | #endif | | // These inclusions are to reject old compilers that | // lack the unsuffixed header files. | #include | #include | | // and are *not* freestanding headers in C++98. | extern void assert (int); | namespace std { | extern int strcmp (const char *, const char *); | } | | // Namespaces, exceptions, and templates were all added after "C++ 2.0". | using std::exception; | using std::strcmp; | | namespace { | | void test_exception_syntax() | { | try { | throw "test"; | } catch (const char *s) { | // Extra parentheses suppress a warning when building autoconf itself, | // due to lint rules shared with more typical C programs. | assert (!(strcmp) (s, "test")); | } | } | | template struct test_template | { | T const val; | explicit test_template(T t) : val(t) {} | template T add(U u) { return static_cast(u) + val; } | }; | | } // anonymous namespace | | | // Does the compiler advertise C++ 2011 conformance? | #if !defined __cplusplus || __cplusplus < 201103L | # error "Compiler does not advertise C++11 conformance" | #endif | | namespace cxx11test | { | constexpr int get_val() { return 20; } | | struct testinit | { | int i; | double d; | }; | | class delegate | { | public: | delegate(int n) : n(n) {} | delegate(): delegate(2354) {} | | virtual int getval() { return this->n; }; | protected: | int n; | }; | | class overridden : public delegate | { | public: | overridden(int n): delegate(n) {} | virtual int getval() override final { return this->n * 2; } | }; | | class nocopy | { | public: | nocopy(int i): i(i) {} | nocopy() = default; | nocopy(const nocopy&) = delete; | nocopy & operator=(const nocopy&) = delete; | private: | int i; | }; | | // for testing lambda expressions | template Ret eval(Fn f, Ret v) | { | return f(v); | } | | // for testing variadic templates and trailing return types | template auto sum(V first) -> V | { | return first; | } | template auto sum(V first, Args... rest) -> V | { | return first + sum(rest...); | } | } | | | int | main (int argc, char **argv) | { | int ok = 0; | | assert (argc); | assert (! argv[0]); | { | test_exception_syntax (); | test_template tt (2.0); | assert (tt.add (4) == 6.0); | assert (true && !false); | } | | | { | // Test auto and decltype | auto a1 = 6538; | auto a2 = 48573953.4; | auto a3 = "String literal"; | | int total = 0; | for (auto i = a3; *i; ++i) { total += *i; } | | decltype(a2) a4 = 34895.034; | } | { | // Test constexpr | short sa[cxx11test::get_val()] = { 0 }; | } | { | // Test initializer lists | cxx11test::testinit il = { 4323, 435234.23544 }; | } | { | // Test range-based for | int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, | 14, 19, 17, 8, 6, 20, 16, 2, 11, 1}; | for (auto &x : array) { x += 23; } | } | { | // Test lambda expressions | using cxx11test::eval; | assert (eval ([](int x) { return x*2; }, 21) == 42); | double d = 2.0; | assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); | assert (d == 5.0); | assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); | assert (d == 5.0); | } | { | // Test use of variadic templates | using cxx11test::sum; | auto a = sum(1); | auto b = sum(1, 2); | auto c = sum(1.0, 2.0, 3.0); | } | { | // Test constructor delegation | cxx11test::delegate d1; | cxx11test::delegate d2(); | cxx11test::delegate d3(45); | } | { | // Test override and final | cxx11test::overridden o1(55464); | } | { | // Test nullptr | char *c = nullptr; | } | { | // Test template brackets | test_template<::test_template> v(test_template(12)); | } | { | // Unicode literals | char const *utf8 = u8"UTF-8 string \u2500"; | char16_t const *utf16 = u"UTF-8 string \u2500"; | char32_t const *utf32 = U"UTF-32 string \u2500"; | } | | return ok; | } | configure:4427: result: none needed configure:4539: checking for ranlib configure:4571: result: /usr/bin/ranlib configure:4598: checking how to run the C preprocessor configure:4666: result: /usr/bin/cpp configure:4680: /usr/bin/cpp -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c configure:4680: $? = 0 configure:4695: /usr/bin/cpp -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory #include ^ compilation terminated. configure:4695: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #include configure:4746: /usr/bin/g++ -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.cpp >&5 configure:4746: $? = 0 configure:4767: Building for linux-gnu configure:4778: checking for mixed cygwin or msys and native VC++ environment configure:4801: result: no configure:4817: checking for mixed cygwin and native MinGW environment configure:4833: result: no configure:4842: checking if we mix cygwin with any native compiler configure:4848: result: no configure:4854: checking if we mix msys with another native compiler configure:4860: result: no configure:4880: checking for stdio.h configure:4880: /usr/bin/gcc -std=gnu11 -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c >&5 configure:4880: $? = 0 configure:4880: result: yes configure:4880: checking for stdlib.h configure:4880: /usr/bin/gcc -std=gnu11 -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c >&5 configure:4880: $? = 0 configure:4880: result: yes configure:4880: checking for string.h configure:4880: /usr/bin/gcc -std=gnu11 -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c >&5 configure:4880: $? = 0 configure:4880: result: yes configure:4880: checking for inttypes.h configure:4880: /usr/bin/gcc -std=gnu11 -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c >&5 configure:4880: $? = 0 configure:4880: result: yes configure:4880: checking for stdint.h configure:4880: /usr/bin/gcc -std=gnu11 -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c >&5 configure:4880: $? = 0 configure:4880: result: yes configure:4880: checking for strings.h configure:4880: /usr/bin/gcc -std=gnu11 -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c >&5 configure:4880: $? = 0 configure:4880: result: yes configure:4880: checking for sys/stat.h configure:4880: /usr/bin/gcc -std=gnu11 -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c >&5 configure:4880: $? = 0 configure:4880: result: yes configure:4880: checking for sys/types.h configure:4880: /usr/bin/gcc -std=gnu11 -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c >&5 configure:4880: $? = 0 configure:4880: result: yes configure:4880: checking for unistd.h configure:4880: /usr/bin/gcc -std=gnu11 -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c >&5 configure:4880: $? = 0 configure:4880: result: yes configure:4909: checking size of void * configure:4915: /usr/bin/gcc -std=gnu11 -o conftest -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib -Wl,-rpath,/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib conftest.c >&5 configure:4915: $? = 0 configure:4915: ./conftest configure:4915: $? = 0 configure:4930: result: 8 configure:5099: checking if we can add -fno-move-loop-invariants to CXXNOOPT (via CFLAGS) configure:5114: /usr/bin/gcc -std=gnu11 -c -fno-move-loop-invariants -O1 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -D_GNU_SOURCE -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 configure:5114: $? = 0 configure:5123: result: yes configure:5137: checking for GL/gl.h configure:5137: /usr/bin/gcc -std=gnu11 -c -Wall -fPIC -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -Wno-deprecated-declarations -fomit-frame-pointer -fno-strict-aliasing -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -D_GNU_SOURCE -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 conftest.c:48:19: fatal error: GL/gl.h: No such file or directory #include ^ compilation terminated. configure:5137: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define SIZEOF_VOID_P 8 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:5137: result: no configure:5143: checking for OpenGL/gl.h configure:5143: /usr/bin/gcc -std=gnu11 -c -Wall -fPIC -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -Wno-deprecated-declarations -fomit-frame-pointer -fno-strict-aliasing -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -D_GNU_SOURCE -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 conftest.c:48:23: fatal error: OpenGL/gl.h: No such file or directory #include ^ compilation terminated. configure:5143: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define SIZEOF_VOID_P 8 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:5143: result: no configure:5157: Checking for OpenGL headers in /usr/X11R6 configure:5161: checking for GL/gl.h configure:5161: /usr/bin/gcc -std=gnu11 -c -Wall -fPIC -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -Wno-deprecated-declarations -fomit-frame-pointer -fno-strict-aliasing -isystem /usr/X11R6/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -D_GNU_SOURCE -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 conftest.c:48:19: fatal error: GL/gl.h: No such file or directory #include ^ compilation terminated. configure:5161: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define SIZEOF_VOID_P 8 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:5161: result: no configure:5169: Checking for OpenGL headers in /usr/local configure:5173: checking for GL/gl.h configure:5173: /usr/bin/gcc -std=gnu11 -c -Wall -fPIC -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -Wno-deprecated-declarations -fomit-frame-pointer -fno-strict-aliasing -isystem /usr/local/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -D_GNU_SOURCE -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 conftest.c:48:19: fatal error: GL/gl.h: No such file or directory #include ^ compilation terminated. configure:5173: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define SIZEOF_VOID_P 8 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:5173: result: no configure:5181: WARNING: No OpenGL headers found, wx will NOT be usable configure:5207: checking for GL/glu.h configure:5207: /usr/bin/gcc -std=gnu11 -c -Wall -fPIC -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -Wno-deprecated-declarations -fomit-frame-pointer -fno-strict-aliasing -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -D_GNU_SOURCE -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 conftest.c:48:20: fatal error: GL/glu.h: No such file or directory #include ^ compilation terminated. configure:5207: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define SIZEOF_VOID_P 8 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:5207: result: no configure:5213: checking for OpenGL/glu.h configure:5213: /usr/bin/gcc -std=gnu11 -c -Wall -fPIC -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -Wno-deprecated-declarations -fomit-frame-pointer -fno-strict-aliasing -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -D_GNU_SOURCE -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 conftest.c:48:24: fatal error: OpenGL/glu.h: No such file or directory #include ^ compilation terminated. configure:5213: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define SIZEOF_VOID_P 8 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:5213: result: no configure:5226: WARNING: No GLU headers found, wx will NOT be usable configure:5377: checking for debug build of wxWidgets configure:5411: checking for wx-config configure:5448: result: no configure:5659: checking for standard build of wxWidgets configure:5692: checking for wx-config configure:5729: result: no configure:5963: WARNING: wxWidgets must be installed on your system. Please check that wx-config is in path, the directory where wxWidgets libraries are installed (returned by 'wx-config --libs' or 'wx-config --static --libs' command) is in LD_LIBRARY_PATH or equivalent variable and wxWidgets version is 2.8.4 or above. configure:6415: checking if we can add -Werror=return-type to CFLAGS (via CFLAGS) configure:6430: /usr/bin/gcc -std=gnu11 -c -Werror=return-type -Wall -fPIC -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -Wno-deprecated-declarations -fomit-frame-pointer -fno-strict-aliasing -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -D_GNU_SOURCE -D_THREAD_SAFE -D_REENTRANT -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -D_GNU_SOURCE -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 configure:6430: $? = 0 configure:6439: result: yes configure:6448: checking if we can add -Werror=return-type to CXXFLAGS (via CFLAGS) configure:6463: /usr/bin/gcc -std=gnu11 -c -Werror=return-type -Wall -fPIC -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -Wno-deprecated-declarations -fomit-frame-pointer -fno-strict-aliasing -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -D_GNU_SOURCE -D_THREAD_SAFE -D_REENTRANT -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -D_GNU_SOURCE -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 configure:6463: $? = 0 configure:6472: result: yes configure:6682: creating x86_64-pc-linux-gnu/config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by config.status, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ x86_64-pc-linux-gnu/config.status on linuxtest5810 config.status:779: creating config.mk config.status:779: creating c_src/Makefile ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=/usr/bin/gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value=-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include ac_cv_env_CPP_set=set ac_cv_env_CPP_value=/usr/bin/cpp ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=/usr/bin/g++ ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib -Wl,-rpath,/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib' ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_header_GL_gl_h=no ac_cv_header_GL_glu_h=no ac_cv_header_OpenGL_gl_h=no ac_cv_header_OpenGL_glu_h=no ac_cv_header_inttypes_h=yes ac_cv_header_stdint_h=yes ac_cv_header_stdio_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_host=x86_64-pc-linux-gnu ac_cv_objext=o ac_cv_path_WX_CONFIG_PATH=no ac_cv_prog_CPP=/usr/bin/cpp ac_cv_prog_ac_ct_CC=/usr/bin/gcc ac_cv_prog_ac_ct_RANLIB=/usr/bin/ranlib ac_cv_prog_cc_c11=-std=gnu11 ac_cv_prog_cc_g=yes ac_cv_prog_cc_stdc=-std=gnu11 ac_cv_prog_cxx_11=no ac_cv_prog_cxx_g=yes ac_cv_prog_cxx_stdcxx= ac_cv_sizeof_void_p=8 ## ----------------- ## ## Output variables. ## ## ----------------- ## CC='/usr/bin/gcc -std=gnu11' CFLAGS='-Werror=return-type -Wall -fPIC -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -Wno-deprecated-declarations -fomit-frame-pointer -fno-strict-aliasing -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -D_GNU_SOURCE -D_THREAD_SAFE -D_REENTRANT ' CPP='/usr/bin/cpp' CPPFLAGS='-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -D_GNU_SOURCE -D_THREAD_SAFE -D_REENTRANT' CXX='/usr/bin/g++' CXXFLAGS='-Werror=return-type -Wall -fPIC -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -Wno-deprecated-declarations -fomit-frame-pointer -fno-strict-aliasing -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -D_GNU_SOURCE -D_THREAD_SAFE -D_REENTRANT' CXXNOOPTFLAGS=' -Wall -fPIC -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -Wno-deprecated-declarations -fomit-frame-pointer -fno-strict-aliasing -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -D_GNU_SOURCE -D_THREAD_SAFE -D_REENTRANT -fno-move-loop-invariants -O1' DEBUG_CFLAGS='-g -Wall -fPIC -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -Wno-deprecated-declarations -DDEBUG -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -D_GNU_SOURCE -D_THREAD_SAFE -D_REENTRANT ' DEBUG_CXXFLAGS=' -g -Wall -fPIC -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -Wno-deprecated-declarations -DDEBUG -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -D_GNU_SOURCE -D_THREAD_SAFE -D_REENTRANT' DEBUG_WX_CFLAGS='' DEBUG_WX_CXXFLAGS='' DEBUG_WX_LIBS='' DEBUG_WX_LIBS_STATIC='' DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8' ECHO_C='' ECHO_N='-n' ECHO_T='' ERLANG_ROOT_DIR='/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/host-erlang-22.2' ERLC='erlc' EXEEXT='' FORCED_DEBUG_BUILD='' GL_LIBS='-lGL -lGLU' HAVE_GL_SUPPORT='' LDFLAGS='-shared -fPIC -L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib -Wl,-rpath,/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib' LIBOBJS='' LIBS='' LTLIBOBJS='' MIXED_CYGWIN='no' MIXED_CYGWIN_MINGW='no' MIXED_CYGWIN_VC='no' MIXED_MSYS='no' MIXED_MSYS_VC='no' MIXED_VC='no' OBJC_CC='/usr/bin/gcc -std=gnu11' OBJC_CFLAGS='' OBJEXT='o' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_URL='' PACKAGE_VERSION='' PATH_SEPARATOR=':' RANLIB='/usr/bin/ranlib' RC_FILE_TYPE='o' RUN_ERL='erl' SHELL='/bin/sh' SO_EXT='.so' TARGET='x86_64-pc-linux-gnu' TESS_CB_TIGER_STYLE='' WXERL_CAN_BUILD_DRIVER='false' WXERL_SYS_TYPE='x86_64-pc-linux-gnu' WX_BUILDING_INSIDE_ERLSRC='true' WX_CFLAGS='' WX_CFLAGS_ONLY='' WX_CONFIG_PATH='no' WX_CPPFLAGS='' WX_CXXFLAGS='' WX_CXXFLAGS_ONLY='' WX_HAVE_STATIC_LIBS='false' WX_LIBS='' WX_LIBS_STATIC='' WX_RESCOMP='' WX_VERSION='' WX_VERSION_MAJOR='' WX_VERSION_MICRO='' WX_VERSION_MINOR='' ac_ct_CC='/usr/bin/gcc' ac_ct_CXX='' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='pc' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE}' dvidir='${docdir}' exec_prefix='${prefix}' host='x86_64-pc-linux-gnu' host_alias='' host_cpu='x86_64' host_os='linux-gnu' host_vendor='pc' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/var' mandir='${datarootdir}/man' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host' program_transform_name='s,x,x,' psdir='${docdir}' runstatedir='${localstatedir}/run' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define HAVE_STDIO_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_STRINGS_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 #define STDC_HEADERS 1 #define SIZEOF_VOID_P 8 configure: exit 0