Hello I'm trying to compile "Protocol Buffers 3.3.0", downloaded from the release section, under platform powerpc-ibm-os400 that has a CPU set based on AIX 5.3. As long as I haven't installed yet the xlC v9 I'm trying to build without it, using gcc, so I launched ./configure everything went fine until I launched
make make all-recursive Making all in . La destinazione "all-am" è aggiornata. Making all in src depbase=`echo google/protobuf/compiler/main.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DHAVE_PTHREAD=1 -Wall -Wno-sign-compare -O2 -g -DNDEBUG -MT google/protobuf/compiler/main.o -MD -MP -MF $depbase.Tpo -c -o google/protobuf/compiler/main.o google/protobuf/compiler/main.cc && mv -f $depbase.Tpo $depbase.Po depbase=`echo google/protobuf/stubs/atomicops_internals_x86_gcc.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DHAVE_PTHREAD=1 -Wall -Wno-sign-compare -O2 -g -DNDEBUG -MT google/protobuf/stubs/atomicops_internals_x86_gcc.lo -MD -MP -MF $depbase.Tpo -c -o google/protobuf/stubs/atomicops_internals_x86_gcc.lo google/protobuf/stubs/atomicops_internals_x86_gcc.cc && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DHAVE_PTHREAD=1 -Wall -Wno-sign-compare -O2 -g -DNDEBUG -MT google/protobuf/stubs/atomicops_internals_x86_gcc.lo -MD -MP -MF google/protobuf/stubs/.deps/atomicops_internals_x86_gcc.Tpo -c google/protobuf/stubs/atomicops_internals_x86_gcc.cc -o google/protobuf/stubs/atomicops_internals_x86_gcc.o depbase=`echo google/protobuf/stubs/atomicops_internals_x86_msvc.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DHAVE_PTHREAD=1 -Wall -Wno-sign-compare -O2 -g -DNDEBUG -MT google/protobuf/stubs/atomicops_internals_x86_msvc.lo -MD -MP -MF $depbase.Tpo -c -o google/protobuf/stubs/atomicops_internals_x86_msvc.lo google/protobuf/stubs/atomicops_internals_x86_msvc.cc && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DHAVE_PTHREAD=1 -Wall -Wno-sign-compare -O2 -g -DNDEBUG -MT google/protobuf/stubs/atomicops_internals_x86_msvc.lo -MD -MP -MF google/protobuf/stubs/.deps/atomicops_internals_x86_msvc.Tpo -c google/protobuf/stubs/atomicops_internals_x86_msvc.cc -o google/protobuf/stubs/atomicops_internals_x86_msvc.o depbase=`echo google/protobuf/stubs/bytestream.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DHAVE_PTHREAD=1 -Wall -Wno-sign-compare -O2 -g -DNDEBUG -MT google/protobuf/stubs/bytestream.lo -MD -MP -MF $depbase.Tpo -c -o google/protobuf/stubs/bytestream.lo google/protobuf/stubs/bytestream.cc && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DHAVE_PTHREAD=1 -Wall -Wno-sign-compare -O2 -g -DNDEBUG -MT google/protobuf/stubs/bytestream.lo -MD -MP -MF google/protobuf/stubs/.deps/bytestream.Tpo -c google/protobuf/stubs/bytestream.cc -o google/protobuf/stubs/bytestream.o depbase=`echo google/protobuf/stubs/common.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DHAVE_PTHREAD=1 -Wall -Wno-sign-compare -O2 -g -DNDEBUG -MT google/protobuf/stubs/common.lo -MD -MP -MF $depbase.Tpo -c -o google/protobuf/stubs/common.lo google/protobuf/stubs/common.cc && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DHAVE_PTHREAD=1 -Wall -Wno-sign-compare -O2 -g -DNDEBUG -MT google/protobuf/stubs/common.lo -MD -MP -MF google/protobuf/stubs/.deps/common.Tpo -c google/protobuf/stubs/common.cc -o google/protobuf/stubs/common.o Assembler: /tmp//ccvfq7lA.s: line 2417: Error In Syntax /tmp//ccvfq7lA.s: line 2419: Error In Syntax /tmp//ccvfq7lA.s: line 4970: Error In Syntax /tmp//ccvfq7lA.s: line 4972: Error In Syntax /tmp//ccvfq7lA.s: line 6615: Error In Syntax /tmp//ccvfq7lA.s: line 6617: Error In Syntax /tmp//ccvfq7lA.s: line 6794: Error In Syntax /tmp//ccvfq7lA.s: line 6796: Error In Syntax /tmp//ccvfq7lA.s: line 7045: Error In Syntax /tmp//ccvfq7lA.s: line 7047: Error In Syntax /tmp//ccvfq7lA.s: line 7598: Error In Syntax /tmp//ccvfq7lA.s: line 7600: Error In Syntax make: 1254-004 Il codice errore per l'ultimo comando è 1. Here it is attached the config.log out of configure. -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to protobuf@googlegroups.com. Visit this group at https://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by Protocol Buffers configure 3.3.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = uname -m = 00xxxxxxxx6A uname -r = 4 uname -s = OS400 uname -v = 5 /usr/bin/uname -p = powerpc /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: /QOpenSys/usr/bin PATH: /usr/ccs/bin PATH: /QOpenSys/usr/bin/X11 PATH: /usr/sbin PATH: . PATH: /usr/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2595: checking whether to enable maintainer-specific portions of Makefiles configure:2604: result: yes configure:2679: checking build system type configure:2693: result: powerpc-ibm-os400 configure:2713: checking host system type configure:2726: result: powerpc-ibm-os400 configure:2746: checking target system type configure:2759: result: powerpc-ibm-os400 configure:2802: checking for a BSD-compatible install configure:2870: result: ./install-sh -c configure:2881: checking whether build environment is sane configure:2936: result: yes configure:3087: checking for a thread-safe mkdir -p configure:3126: result: ./install-sh -c -d configure:3133: checking for gawk configure:3149: found /usr/bin/gawk configure:3160: result: gawk configure:3171: checking whether make sets $(MAKE) configure:3193: result: yes configure:3222: checking whether make supports nested variables configure:3239: result: yes configure:3328: checking whether UID '0' is supported by ustar format configure:3331: result: yes configure:3338: checking whether GID '0' is supported by ustar format configure:3341: result: yes configure:3349: checking how to create a ustar tar archive configure:3360: tar --version tar: illegal option -- - Usage: tar -{c|r|t|u|x} [ -BdDEFhilmopRsUvw ] [ -Number ] [ -f TarFile ] [ -b Blocks ] [ -S [ Feet ] | [ Feet@Density ] | [ Blocksb ] ] [ -L InputList ] [-X ExcludeFile] [ -N Blocks ] [ -C Directory ] File ... Usage: tar {c|r|t|u|x} [ bBdDEfFhilLXmNopRsSUvw[0-9] ] [ Blocks ] [ TarFile ] [ InputList ] [ ExcludeFile ] [ [ Feet ] | [ Feet@Density ] | [ Blocksb ] ] [-C Directory ] File ... configure:3363: $? = 1 configure:3360: gnutar --version ./configure[3361]: gnutar: not found configure:3363: $? = 127 configure:3360: gtar --version tar (GNU tar) 1.14 Copyright (C) 2004 Free Software Foundation, Inc. This program comes with NO WARRANTY, to the extent permitted by law. You may redistribute it under the terms of the GNU General Public License; see the file named COPYING for details. Written by John Gilmore and Jay Fenlason. configure:3363: $? = 0 configure:3403: tardir=conftest.dir && eval gtar --format=ustar -chf - "$tardir" >conftest.tar configure:3406: $? = 0 configure:3410: gtar -xf - <conftest.tar configure:3413: $? = 0 configure:3415: cat conftest.dir/file GrepMe configure:3418: $? = 0 configure:3431: result: gnutar configure:3548: checking for gcc configure:3564: found /usr/bin/gcc configure:3575: result: gcc configure:3804: checking for C compiler version configure:3813: gcc --version >&5 gcc (GCC) 4.8.2 Copyright (C) 2013 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:3824: $? = 0 configure:3813: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/QOpenSys/opt/freeware/bin/../libexec/gcc/powerpc-ibm-aix5.3.0.0/4.8.2/lto-wrapper Target: powerpc-ibm-aix5.3.0.0 Configured with: ../gcc-4.8.2/configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --enable-languages=c,c++,fortran --prefix=/opt/freeware --mandir=/opt/freeware/man --infodir=/opt/freeware/info --enable-version-specific-runtime-libs --disable-nls --enable-decimal-float=dpd --host=powerpc-ibm-aix5.3.0.0 Thread model: aix gcc version 4.8.2 (GCC) configure:3824: $? = 0 configure:3813: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:3824: $? = 1 configure:3813: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:3824: $? = 1 configure:3844: checking whether the C compiler works configure:3866: gcc conftest.c >&5 configure:3870: $? = 0 configure:3918: result: yes configure:3921: checking for C compiler default output file name configure:3923: result: a.out configure:3929: checking for suffix of executables configure:3936: gcc -o conftest conftest.c >&5 configure:3940: $? = 0 configure:3962: result: configure:3984: checking whether we are cross compiling configure:3992: gcc -o conftest conftest.c >&5 configure:3996: $? = 0 configure:4003: ./conftest configure:4007: $? = 0 configure:4022: result: no configure:4027: checking for suffix of object files configure:4049: gcc -c conftest.c >&5 configure:4053: $? = 0 configure:4074: result: o configure:4078: checking whether we are using the GNU C compiler configure:4097: gcc -c conftest.c >&5 configure:4097: $? = 0 configure:4106: result: yes configure:4115: checking whether gcc accepts -g configure:4135: gcc -c -g conftest.c >&5 configure:4135: $? = 0 configure:4176: result: yes configure:4193: checking for gcc option to accept ISO C89 configure:4256: gcc -c conftest.c >&5 configure:4256: $? = 0 configure:4269: result: none needed configure:4294: checking whether gcc understands -c and -o together configure:4316: gcc -c conftest.c -o conftest2.o configure:4319: $? = 0 configure:4316: gcc -c conftest.c -o conftest2.o configure:4319: $? = 0 configure:4331: result: yes configure:4359: checking for style of include used by make configure:4387: result: GNU configure:4413: checking dependency style of gcc configure:4524: result: gcc3 configure:4597: checking for g++ configure:4613: found /usr/bin/g++ configure:4624: result: g++ configure:4651: checking for C++ compiler version configure:4660: g++ --version >&5 g++ (GCC) 4.8.2 Copyright (C) 2013 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:4671: $? = 0 configure:4660: g++ -v >&5 Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/QOpenSys/opt/freeware/bin/../libexec/gcc/powerpc-ibm-aix5.3.0.0/4.8.2/lto-wrapper Target: powerpc-ibm-aix5.3.0.0 Configured with: ../gcc-4.8.2/configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --enable-languages=c,c++,fortran --prefix=/opt/freeware --mandir=/opt/freeware/man --infodir=/opt/freeware/info --enable-version-specific-runtime-libs --disable-nls --enable-decimal-float=dpd --host=powerpc-ibm-aix5.3.0.0 Thread model: aix gcc version 4.8.2 (GCC) configure:4671: $? = 0 configure:4660: g++ -V >&5 g++: error: unrecognized command line option '-V' g++: fatal error: no input files compilation terminated. configure:4671: $? = 1 configure:4660: g++ -qversion >&5 g++: error: unrecognized command line option '-qversion' g++: fatal error: no input files compilation terminated. configure:4671: $? = 1 configure:4675: checking whether we are using the GNU C++ compiler configure:4694: g++ -c conftest.cpp >&5 configure:4694: $? = 0 configure:4703: result: yes configure:4712: checking whether g++ accepts -g configure:4732: g++ -c -g conftest.cpp >&5 configure:4732: $? = 0 configure:4773: result: yes configure:4798: checking dependency style of g++ configure:4909: result: gcc3 configure:4929: checking how to run the C preprocessor configure:4960: gcc -E conftest.c configure:4960: $? = 0 configure:4974: gcc -E conftest.c conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory #include <ac_nonexistent.h> ^ compilation terminated. configure:4974: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.3.0" | #define PACKAGE_STRING "Protocol Buffers 3.3.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.3.0" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:4999: result: gcc -E configure:5019: gcc -E conftest.c configure:5019: $? = 0 configure:5033: gcc -E conftest.c conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory #include <ac_nonexistent.h> ^ compilation terminated. configure:5033: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.3.0" | #define PACKAGE_STRING "Protocol Buffers 3.3.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.3.0" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:5117: checking for gcc configure:5133: found /usr/bin/gcc configure:5144: result: gcc configure:5373: checking for C compiler version configure:5382: gcc --version >&5 gcc (GCC) 4.8.2 Copyright (C) 2013 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:5393: $? = 0 configure:5382: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/QOpenSys/opt/freeware/bin/../libexec/gcc/powerpc-ibm-aix5.3.0.0/4.8.2/lto-wrapper Target: powerpc-ibm-aix5.3.0.0 Configured with: ../gcc-4.8.2/configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --enable-languages=c,c++,fortran --prefix=/opt/freeware --mandir=/opt/freeware/man --infodir=/opt/freeware/info --enable-version-specific-runtime-libs --disable-nls --enable-decimal-float=dpd --host=powerpc-ibm-aix5.3.0.0 Thread model: aix gcc version 4.8.2 (GCC) configure:5393: $? = 0 configure:5382: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:5393: $? = 1 configure:5382: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:5393: $? = 1 configure:5397: checking whether we are using the GNU C compiler configure:5425: result: yes configure:5434: checking whether gcc accepts -g configure:5454: gcc -c conftest.c >&5 configure:5454: $? = 0 configure:5495: result: yes configure:5512: checking for gcc option to accept ISO C89 configure:5588: result: none needed configure:5613: checking whether gcc understands -c and -o together configure:5650: result: yes configure:5669: checking dependency style of gcc configure:5780: result: gcc3 configure:5800: checking how to run the C preprocessor configure:5831: gcc -E conftest.c configure:5831: $? = 0 configure:5845: gcc -E conftest.c conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory #include <ac_nonexistent.h> ^ compilation terminated. configure:5845: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.3.0" | #define PACKAGE_STRING "Protocol Buffers 3.3.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.3.0" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:5870: result: gcc -E configure:5890: gcc -E conftest.c configure:5890: $? = 0 configure:5904: gcc -E conftest.c conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory #include <ac_nonexistent.h> ^ compilation terminated. configure:5904: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.3.0" | #define PACKAGE_STRING "Protocol Buffers 3.3.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.3.0" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:5946: checking how to run the C++ preprocessor configure:5973: g++ -E conftest.cpp configure:5973: $? = 0 configure:5987: g++ -E conftest.cpp conftest.cpp:11:28: fatal error: ac_nonexistent.h: No such file or directory #include <ac_nonexistent.h> ^ compilation terminated. configure:5987: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.3.0" | #define PACKAGE_STRING "Protocol Buffers 3.3.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.3.0" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:6012: result: g++ -E configure:6032: g++ -E conftest.cpp configure:6032: $? = 0 configure:6046: g++ -E conftest.cpp conftest.cpp:11:28: fatal error: ac_nonexistent.h: No such file or directory #include <ac_nonexistent.h> ^ compilation terminated. configure:6046: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.3.0" | #define PACKAGE_STRING "Protocol Buffers 3.3.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.3.0" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:6139: checking for g++ configure:6155: found /usr/bin/g++ configure:6166: result: g++ configure:6193: checking for C++ compiler version configure:6202: g++ --version >&5 g++ (GCC) 4.8.2 Copyright (C) 2013 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:6213: $? = 0 configure:6202: g++ -v >&5 Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/QOpenSys/opt/freeware/bin/../libexec/gcc/powerpc-ibm-aix5.3.0.0/4.8.2/lto-wrapper Target: powerpc-ibm-aix5.3.0.0 Configured with: ../gcc-4.8.2/configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --enable-languages=c,c++,fortran --prefix=/opt/freeware --mandir=/opt/freeware/man --infodir=/opt/freeware/info --enable-version-specific-runtime-libs --disable-nls --enable-decimal-float=dpd --host=powerpc-ibm-aix5.3.0.0 Thread model: aix gcc version 4.8.2 (GCC) configure:6213: $? = 0 configure:6202: g++ -V >&5 g++: error: unrecognized command line option '-V' g++: fatal error: no input files compilation terminated. configure:6213: $? = 1 configure:6202: g++ -qversion >&5 g++: error: unrecognized command line option '-qversion' g++: fatal error: no input files compilation terminated. configure:6213: $? = 1 configure:6217: checking whether we are using the GNU C++ compiler configure:6245: result: yes configure:6254: checking whether g++ accepts -g configure:6274: gcc -c conftest.cpp >&5 configure:6274: $? = 0 configure:6315: result: yes configure:6340: checking dependency style of g++ configure:6451: result: gcc3 configure:6471: checking how to run the C++ preprocessor configure:6498: g++ -E conftest.cpp configure:6498: $? = 0 configure:6512: g++ -E conftest.cpp conftest.cpp:11:28: fatal error: ac_nonexistent.h: No such file or directory #include <ac_nonexistent.h> ^ compilation terminated. configure:6512: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.3.0" | #define PACKAGE_STRING "Protocol Buffers 3.3.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.3.0" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:6537: result: g++ -E configure:6557: g++ -E conftest.cpp configure:6557: $? = 0 configure:6571: g++ -E conftest.cpp conftest.cpp:11:28: fatal error: ac_nonexistent.h: No such file or directory #include <ac_nonexistent.h> ^ compilation terminated. configure:6571: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.3.0" | #define PACKAGE_STRING "Protocol Buffers 3.3.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.3.0" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:6613: checking for grep that handles long lines and -e configure:6671: result: /QOpenSys/usr/bin/grep configure:6676: checking for egrep configure:6738: result: /QOpenSys/usr/bin/grep -E configure:6743: checking for ANSI C header files configure:6763: g++ -c conftest.cpp >&5 configure:6763: $? = 0 configure:6836: g++ -o conftest conftest.cpp >&5 configure:6836: $? = 0 configure:6836: ./conftest configure:6836: $? = 0 configure:6847: result: yes configure:6860: checking for sys/types.h configure:6860: g++ -c conftest.cpp >&5 configure:6860: $? = 0 configure:6860: result: yes configure:6860: checking for sys/stat.h configure:6860: g++ -c conftest.cpp >&5 configure:6860: $? = 0 configure:6860: result: yes configure:6860: checking for stdlib.h configure:6860: g++ -c conftest.cpp >&5 configure:6860: $? = 0 configure:6860: result: yes configure:6860: checking for string.h configure:6860: g++ -c conftest.cpp >&5 configure:6860: $? = 0 configure:6860: result: yes configure:6860: checking for memory.h configure:6860: g++ -c conftest.cpp >&5 configure:6860: $? = 0 configure:6860: result: yes configure:6860: checking for strings.h configure:6860: g++ -c conftest.cpp >&5 configure:6860: $? = 0 configure:6860: result: yes configure:6860: checking for inttypes.h configure:6860: g++ -c conftest.cpp >&5 configure:6860: $? = 0 configure:6860: result: yes configure:6860: checking for stdint.h configure:6860: g++ -c conftest.cpp >&5 configure:6860: $? = 0 configure:6860: result: yes configure:6860: checking for unistd.h configure:6860: g++ -c conftest.cpp >&5 configure:6860: $? = 0 configure:6860: result: yes configure:6873: checking minix/config.h usability configure:6873: g++ -c conftest.cpp >&5 conftest.cpp:54:26: fatal error: minix/config.h: No such file or directory #include <minix/config.h> ^ compilation terminated. configure:6873: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.3.0" | #define PACKAGE_STRING "Protocol Buffers 3.3.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.3.0" | #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 <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | #include <minix/config.h> configure:6873: result: no configure:6873: checking minix/config.h presence configure:6873: g++ -E conftest.cpp conftest.cpp:21:26: fatal error: minix/config.h: No such file or directory #include <minix/config.h> ^ compilation terminated. configure:6873: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.3.0" | #define PACKAGE_STRING "Protocol Buffers 3.3.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.3.0" | #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 <minix/config.h> configure:6873: result: no configure:6873: checking for minix/config.h configure:6873: result: no configure:6894: checking whether it is safe to define __EXTENSIONS__ configure:6912: g++ -c conftest.cpp >&5 configure:6912: $? = 0 configure:6919: result: yes configure:6988: checking for ar configure:7004: found /QOpenSys/usr/bin/ar configure:7015: result: ar configure:7041: checking the archiver (ar) interface configure:7057: gcc -c conftest.c >&5 configure:7057: $? = 0 configure:7059: ar cru libconftest.a conftest.o >&5 configure:7062: $? = 0 configure:7090: result: ar configure:7172: checking for gcc configure:7188: found /usr/bin/gcc configure:7199: result: gcc configure:7224: checking for Objective C compiler version configure:7233: gcc --version >&5 gcc (GCC) 4.8.2 Copyright (C) 2013 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:7244: $? = 0 configure:7233: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/QOpenSys/opt/freeware/bin/../libexec/gcc/powerpc-ibm-aix5.3.0.0/4.8.2/lto-wrapper Target: powerpc-ibm-aix5.3.0.0 Configured with: ../gcc-4.8.2/configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --enable-languages=c,c++,fortran --prefix=/opt/freeware --mandir=/opt/freeware/man --infodir=/opt/freeware/info --enable-version-specific-runtime-libs --disable-nls --enable-decimal-float=dpd --host=powerpc-ibm-aix5.3.0.0 Thread model: aix gcc version 4.8.2 (GCC) configure:7244: $? = 0 configure:7233: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:7244: $? = 1 configure:7233: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:7244: $? = 1 configure:7248: checking whether we are using the GNU Objective C compiler configure:7267: gcc -c conftest.m >&5 gcc: error: conftest.m: Objective-C compiler not installed on this system configure:7267: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.3.0" | #define PACKAGE_STRING "Protocol Buffers 3.3.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.3.0" | #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 | /* end confdefs.h. */ | | int | main () | { | #ifndef __GNUC__ | choke me | #endif | | ; | return 0; | } configure:7276: result: no configure:7285: checking whether gcc accepts -g configure:7305: gcc -c -g conftest.m >&5 gcc: error: conftest.m: Objective-C compiler not installed on this system configure:7305: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.3.0" | #define PACKAGE_STRING "Protocol Buffers 3.3.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.3.0" | #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 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:7320: gcc -c conftest.m >&5 gcc: error: conftest.m: Objective-C compiler not installed on this system configure:7320: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.3.0" | #define PACKAGE_STRING "Protocol Buffers 3.3.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.3.0" | #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 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:7336: gcc -c -g conftest.m >&5 gcc: error: conftest.m: Objective-C compiler not installed on this system configure:7336: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.3.0" | #define PACKAGE_STRING "Protocol Buffers 3.3.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.3.0" | #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 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:7346: result: no configure:7371: checking dependency style of gcc configure:7480: result: gcc3 configure:7497: checking C++ compiler flags... configure:7513: result: use default: -O2 -g -DNDEBUG configure:7533: checking whether __SUNPRO_CC is declared configure:7533: g++ -c -g -DNDEBUG conftest.cpp >&5 conftest.cpp: In function 'int main()': conftest.cpp:64:10: error: '__SUNPRO_CC' was not declared in this scope (void) __SUNPRO_CC; ^ configure:7533: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.3.0" | #define PACKAGE_STRING "Protocol Buffers 3.3.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.3.0" | #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 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | int | main () | { | #ifndef __SUNPRO_CC | #ifdef __cplusplus | (void) __SUNPRO_CC; | #else | (void) __SUNPRO_CC; | #endif | #endif | | ; | return 0; | } configure:7533: result: no configure:7697: checking how to print strings configure:7726: result: print -r configure:7745: checking for a sed that does not truncate output configure:7809: result: /QOpenSys/usr/bin/sed configure:7827: checking for fgrep configure:7889: result: /QOpenSys/usr/bin/grep -F configure:7924: checking for ld used by gcc configure:7991: result: /QOpenSys/usr/bin/ld configure:7998: checking if the linker (/QOpenSys/usr/bin/ld) is GNU ld configure:8013: result: no configure:8025: checking for BSD- or MS-compatible name lister (nm) configure:8074: result: /QOpenSys/usr/bin/nm -B configure:8204: checking the name lister (/QOpenSys/usr/bin/nm -B) interface configure:8211: g++ -c -g -DNDEBUG conftest.cpp >&5 configure:8214: /QOpenSys/usr/bin/nm -B "conftest.o" configure:8217: output 8 d TOC 0 d _conftest.rw_ 0 D some_variable configure:8224: result: BSD nm configure:8227: checking whether ln -s works configure:8231: result: yes configure:8239: checking the maximum length of command line arguments configure:8370: result: 18432 configure:8387: checking whether the shell understands some XSI constructs configure:8397: result: yes configure:8401: checking whether the shell understands "+=" configure:8407: result: no configure:8442: checking how to convert powerpc-ibm-os400 file names to powerpc-ibm-os400 format configure:8482: result: func_convert_file_noop configure:8489: checking how to convert powerpc-ibm-os400 file names to toolchain format configure:8509: result: func_convert_file_noop configure:8516: checking for /QOpenSys/usr/bin/ld option to reload object files configure:8523: result: -r configure:8597: checking for objdump configure:8613: found /usr/bin/objdump configure:8624: result: objdump configure:8656: checking how to recognize dependent libraries configure:8854: result: unknown configure:8939: checking for dlltool configure:8969: result: no configure:8999: checking how to associate runtime and link libraries configure:9026: result: print -r -- configure:9150: checking for archiver @FILE support configure:9167: g++ -c -g -DNDEBUG conftest.cpp >&5 configure:9167: $? = 0 configure:9170: ar cru libconftest.a @conftest.lst >&5 ar: No such file or directory ar: 0707-117 The fopen system call failed on file @conftest.lst. configure:9173: $? = 1 configure:9193: result: no configure:9251: checking for strip configure:9267: found /QOpenSys/usr/bin/strip configure:9278: result: strip configure:9350: checking for ranlib configure:9366: found /QOpenSys/usr/bin/ranlib configure:9377: result: ranlib configure:9479: checking command to parse /QOpenSys/usr/bin/nm -B output from gcc object configure:9599: g++ -c -g -DNDEBUG conftest.cpp >&5 configure:9602: $? = 0 configure:9606: /QOpenSys/usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm configure:9609: $? = 0 configure:9675: g++ -o conftest -g -DNDEBUG conftest.cpp conftstm.o >&5 configure:9678: $? = 0 configure:9716: result: ok configure:9753: checking for sysroot configure:9783: result: no configure:10052: checking for mt configure:10082: result: no configure:10102: checking if : is a manifest tool configure:10108: : '-?' configure:10116: result: no configure:10755: checking for dlfcn.h configure:10755: g++ -c -g -DNDEBUG conftest.cpp >&5 configure:10755: $? = 0 configure:10755: result: yes configure:10971: checking for objdir configure:10986: result: .libs configure:11257: checking if gcc supports -fno-rtti -fno-exceptions configure:11275: gcc -c -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default] configure:11279: $? = 0 configure:11292: result: no configure:11619: checking for gcc option to produce PIC configure:11626: result: -fPIC -DPIC configure:11634: checking if gcc PIC flag -fPIC -DPIC works configure:11652: gcc -c -fPIC -DPIC -DPIC conftest.c >&5 configure:11656: $? = 0 configure:11669: result: yes configure:11698: checking if gcc static flag -static works configure:11726: result: no configure:11741: checking if gcc supports -c -o file.o configure:11762: gcc -c -o out/conftest2.o conftest.c >&5 configure:11766: $? = 0 configure:11788: result: yes configure:11796: checking if gcc supports -c -o file.o configure:11843: result: yes configure:11876: checking whether the gcc linker (/QOpenSys/usr/bin/ld) supports shared libraries configure:13033: result: no configure:13273: checking dynamic linker characteristics configure:14007: result: no configure:14114: checking how to hardcode library paths into programs configure:14139: result: unsupported configure:14679: checking whether stripping libraries is possible configure:14701: result: no configure:14719: checking if libtool supports shared libraries configure:14721: result: no configure:14724: checking whether to build shared libraries configure:14745: result: no configure:14748: checking whether to build static libraries configure:14752: result: yes configure:14775: checking how to run the C++ preprocessor configure:14841: result: g++ -E configure:14861: g++ -E conftest.cpp configure:14861: $? = 0 configure:14875: g++ -E conftest.cpp conftest.cpp:28:28: fatal error: ac_nonexistent.h: No such file or directory #include <ac_nonexistent.h> ^ compilation terminated. configure:14875: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.3.0" | #define PACKAGE_STRING "Protocol Buffers 3.3.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.3.0" | #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_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:15044: checking for ld used by g++ configure:15111: result: /QOpenSys/usr/bin/ld configure:15118: checking if the linker (/QOpenSys/usr/bin/ld) is GNU ld configure:15133: result: no configure:15188: checking whether the g++ linker (/QOpenSys/usr/bin/ld) supports shared libraries configure:16190: result: no configure:16226: g++ -c -g -DNDEBUG conftest.cpp >&5 configure:16229: $? = 0 configure:16749: checking for g++ option to produce PIC configure:16756: result: -fPIC -DPIC configure:16764: checking if g++ PIC flag -fPIC -DPIC works configure:16782: g++ -c -g -DNDEBUG -fPIC -DPIC -DPIC conftest.cpp >&5 configure:16786: $? = 0 configure:16799: result: yes configure:16822: checking if g++ static flag -static works configure:16850: result: no configure:16862: checking if g++ supports -c -o file.o configure:16883: g++ -c -g -DNDEBUG -o out/conftest2.o conftest.cpp >&5 configure:16887: $? = 0 configure:16909: result: yes configure:16914: checking if g++ supports -c -o file.o configure:16961: result: yes configure:16991: checking whether the g++ linker (/QOpenSys/usr/bin/ld) supports shared libraries configure:17030: result: no configure:17171: checking dynamic linker characteristics configure:17839: result: no configure:17892: checking how to hardcode library paths into programs configure:17917: result: unsupported configure:17980: checking whether the linker supports version scripts configure:17996: g++ -o conftest -g -DNDEBUG -Wl,--version-script=conftest.map conftest.cpp >&5 ld: 0706-012 The -- flag is not recognized. collect2: error: ld returned 255 exit status configure:17996: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.3.0" | #define PACKAGE_STRING "Protocol Buffers 3.3.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.3.0" | #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_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | int main() { return 0; } configure:18000: result: no configure:18016: checking for ANSI C header files configure:18120: result: yes configure:18131: checking fcntl.h usability configure:18131: g++ -c -g -DNDEBUG conftest.cpp >&5 configure:18131: $? = 0 configure:18131: result: yes configure:18131: checking fcntl.h presence configure:18131: g++ -E conftest.cpp configure:18131: $? = 0 configure:18131: result: yes configure:18131: checking for fcntl.h configure:18131: result: yes configure:18131: checking for inttypes.h configure:18131: result: yes configure:18131: checking limits.h usability configure:18131: g++ -c -g -DNDEBUG conftest.cpp >&5 configure:18131: $? = 0 configure:18131: result: yes configure:18131: checking limits.h presence configure:18131: g++ -E conftest.cpp configure:18131: $? = 0 configure:18131: result: yes configure:18131: checking for limits.h configure:18131: result: yes configure:18131: checking for stdlib.h configure:18131: result: yes configure:18131: checking for unistd.h configure:18131: result: yes configure:18143: checking for working memcmp configure:18186: g++ -o conftest -g -DNDEBUG conftest.cpp >&5 configure:18186: $? = 0 configure:18186: ./conftest configure:18186: $? = 0 configure:18196: result: yes configure:18205: checking for working strtod configure:18246: g++ -o conftest -g -DNDEBUG conftest.cpp >&5 conftest.cpp: In function 'int main()': conftest.cpp:76:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *string = " +69"; ^ conftest.cpp:87:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *string = "NaN"; ^ configure:18246: $? = 0 configure:18246: ./conftest configure:18246: $? = 0 configure:18256: result: yes configure:18321: checking for ftruncate configure:18321: g++ -o conftest -g -DNDEBUG conftest.cpp >&5 configure:18321: $? = 0 configure:18321: result: yes configure:18321: checking for memset configure:18321: g++ -o conftest -g -DNDEBUG conftest.cpp >&5 configure:18321: $? = 0 configure:18321: result: yes configure:18321: checking for mkdir configure:18321: g++ -o conftest -g -DNDEBUG conftest.cpp >&5 configure:18321: $? = 0 configure:18321: result: yes configure:18321: checking for strchr configure:18321: g++ -o conftest -g -DNDEBUG conftest.cpp >&5 configure:18321: $? = 0 configure:18321: result: yes configure:18321: checking for strerror configure:18321: g++ -o conftest -g -DNDEBUG conftest.cpp >&5 configure:18321: $? = 0 configure:18321: result: yes configure:18321: checking for strtol configure:18321: g++ -o conftest -g -DNDEBUG conftest.cpp >&5 configure:18321: $? = 0 configure:18321: result: yes configure:18335: checking zlib version configure:18355: g++ -c -g -DNDEBUG conftest.cpp >&5 conftest.cpp:41:26: fatal error: zlib.h: No such file or directory #include <zlib.h> ^ compilation terminated. configure:18355: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.3.0" | #define PACKAGE_STRING "Protocol Buffers 3.3.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.3.0" | #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_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define STDC_HEADERS 1 | #define HAVE_FCNTL_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_MEMSET 1 | #define HAVE_MKDIR 1 | #define HAVE_STRCHR 1 | #define HAVE_STRERROR 1 | #define HAVE_STRTOL 1 | /* end confdefs.h. */ | | #include <zlib.h> | #if !defined(ZLIB_VERNUM) || (ZLIB_VERNUM < 0x1204) | # error zlib version too old | #endif | | int | main () | { | | ; | return 0; | } configure:18438: result: headers missing or too old (requires 1.2.0.4) configure:18660: checking for the pthreads library -lpthreads configure:18693: gcc -o conftest conftest.c -lpthreads >&5 configure:18693: $? = 0 configure:18702: result: yes configure:18721: checking for joinable pthread attribute configure:18736: gcc -o conftest conftest.c -lpthreads >&5 configure:18736: $? = 0 configure:18742: result: PTHREAD_CREATE_JOINABLE configure:18752: checking if more special flags are required for pthreads configure:18759: result: no configure:18848: checking whether to check for GCC pthread/shared inconsistencies configure:18861: gcc -o conftest -shared -fPIC -Wl,-z,defs conftest.c -lpthreads >&5 ld: 0706-005 Cannot find or open file: defs ld:open(): No such file or directory collect2: error: ld returned 255 exit status configure:18861: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.3.0" | #define PACKAGE_STRING "Protocol Buffers 3.3.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.3.0" | #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_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define STDC_HEADERS 1 | #define HAVE_FCNTL_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_MEMSET 1 | #define HAVE_MKDIR 1 | #define HAVE_STRCHR 1 | #define HAVE_STRERROR 1 | #define HAVE_STRTOL 1 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:18870: result: no configure:18989: checking whether what we have so far is sufficient with -nostdlib configure:19007: gcc -o conftest -nostdlib -shared -fPIC -Wl,-z,defs conftest.c -lpthreads -lc >&5 ld: 0706-005 Cannot find or open file: defs ld:open(): No such file or directory collect2: error: ld returned 255 exit status configure:19007: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.3.0" | #define PACKAGE_STRING "Protocol Buffers 3.3.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.3.0" | #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_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define STDC_HEADERS 1 | #define HAVE_FCNTL_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_MEMSET 1 | #define HAVE_MKDIR 1 | #define HAVE_STRCHR 1 | #define HAVE_STRERROR 1 | #define HAVE_STRTOL 1 | /* end confdefs.h. */ | #include <pthread.h> | int | main () | { | pthread_t th; pthread_join(th, 0); | pthread_attr_init(0); pthread_cleanup_push(0, 0); | pthread_create(0,0,0,0); pthread_cleanup_pop(0); | ; | return 0; | } configure:19019: result: no configure:19024: checking whether -lpthread saves the day configure:19040: gcc -o conftest -nostdlib -shared -fPIC -Wl,-z,defs conftest.c -lpthread -lpthreads -lc >&5 ld: 0706-005 Cannot find or open file: defs ld:open(): No such file or directory collect2: error: ld returned 255 exit status configure:19040: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.3.0" | #define PACKAGE_STRING "Protocol Buffers 3.3.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.3.0" | #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_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define STDC_HEADERS 1 | #define HAVE_FCNTL_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_MEMSET 1 | #define HAVE_MKDIR 1 | #define HAVE_STRCHR 1 | #define HAVE_STRERROR 1 | #define HAVE_STRTOL 1 | /* end confdefs.h. */ | #include <pthread.h> | int | main () | { | pthread_t th; pthread_join(th, 0); | pthread_attr_init(0); pthread_cleanup_push(0, 0); | pthread_create(0,0,0,0); pthread_cleanup_pop(0); | ; | return 0; | } configure:19053: result: no configure:19055: WARNING: Impossible to determine how to use pthreads with shared libraries and -nostdlib configure:19099: checking the location of hash_map configure:19125: g++ -c -g -DNDEBUG conftest.cpp >&5 configure:19125: $? = 0 configure:19147: g++ -c -g -DNDEBUG conftest.cpp >&5 In file included from /QOpenSys/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.8.2/include/c++/unordered_map:35:0, from conftest.cpp:41: /QOpenSys/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.8.2/include/c++/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support for the \ ^ conftest.cpp: In function 'int main()': conftest.cpp:45:7: error: 'unordered_map' in namespace 'std' does not name a type const std::unordered_map<int, int> t; ^ conftest.cpp:46:33: error: 't' was not declared in this scope return t.find(5) == t.end(); ^ configure:19147: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.3.0" | #define PACKAGE_STRING "Protocol Buffers 3.3.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.3.0" | #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_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define STDC_HEADERS 1 | #define HAVE_FCNTL_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_MEMSET 1 | #define HAVE_MKDIR 1 | #define HAVE_STRCHR 1 | #define HAVE_STRERROR 1 | #define HAVE_STRTOL 1 | #define HAVE_PTHREAD 1 | /* end confdefs.h. */ | #include <unordered_map> | int | main () | { | const std::unordered_map<int, int> t; | return t.find(5) == t.end(); | ; | return 0; | } configure:19147: g++ -c -g -DNDEBUG conftest.cpp >&5 In file included from /QOpenSys/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.8.2/include/c++/unordered_map:35:0, from conftest.cpp:41: /QOpenSys/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.8.2/include/c++/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support for the \ ^ conftest.cpp: In function 'int main()': conftest.cpp:45:7: error: 'tr1' in namespace 'std' does not name a type const std::tr1::unordered_map<int, int> t; ^ conftest.cpp:46:33: error: 't' was not declared in this scope return t.find(5) == t.end(); ^ configure:19147: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.3.0" | #define PACKAGE_STRING "Protocol Buffers 3.3.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.3.0" | #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_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define STDC_HEADERS 1 | #define HAVE_FCNTL_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_MEMSET 1 | #define HAVE_MKDIR 1 | #define HAVE_STRCHR 1 | #define HAVE_STRERROR 1 | #define HAVE_STRTOL 1 | #define HAVE_PTHREAD 1 | /* end confdefs.h. */ | #include <unordered_map> | int | main () | { | const std::tr1::unordered_map<int, int> t; | return t.find(5) == t.end(); | ; | return 0; | } configure:19147: g++ -c -g -DNDEBUG conftest.cpp >&5 conftest.cpp: In function 'int main()': conftest.cpp:45:7: error: 'unordered_map' in namespace 'std' does not name a type const std::unordered_map<int, int> t; ^ conftest.cpp:46:33: error: 't' was not declared in this scope return t.find(5) == t.end(); ^ configure:19147: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.3.0" | #define PACKAGE_STRING "Protocol Buffers 3.3.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.3.0" | #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_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define STDC_HEADERS 1 | #define HAVE_FCNTL_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_MEMSET 1 | #define HAVE_MKDIR 1 | #define HAVE_STRCHR 1 | #define HAVE_STRERROR 1 | #define HAVE_STRTOL 1 | #define HAVE_PTHREAD 1 | /* end confdefs.h. */ | #include <tr1/unordered_map> | int | main () | { | const std::unordered_map<int, int> t; | return t.find(5) == t.end(); | ; | return 0; | } configure:19147: g++ -c -g -DNDEBUG conftest.cpp >&5 configure:19147: $? = 0 configure:19214: result: <tr1/unordered_map> configure:19229: checking for library containing sched_yield configure:19260: g++ -o conftest -g -DNDEBUG conftest.cpp >&5 configure:19260: $? = 0 configure:19277: result: none required configure:19316: checking whether g++ supports C++11 features by default configure:19610: g++ -c -g -DNDEBUG conftest.cpp >&5 conftest.cpp:59:2: error: #error "This is not a C++11 compiler" #error "This is not a C++11 compiler" ^ configure:19610: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.3.0" | #define PACKAGE_STRING "Protocol Buffers 3.3.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.3.0" | #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_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define STDC_HEADERS 1 | #define HAVE_FCNTL_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_MEMSET 1 | #define HAVE_MKDIR 1 | #define HAVE_STRCHR 1 | #define HAVE_STRERROR 1 | #define HAVE_STRTOL 1 | #define HAVE_PTHREAD 1 | #define HAVE_HASH_MAP 1 | #define HAVE_HASH_SET 1 | #define HASH_MAP_H <tr1/unordered_map> | #define HASH_SET_H <tr1/unordered_set> | #define HASH_NAMESPACE std::tr1 | #define HASH_MAP_CLASS unordered_map | #define HASH_SET_CLASS unordered_set | /* end confdefs.h. */ | | | // If the compiler admits that it is not ready for C++11, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201103L | | #error "This is not a C++11 compiler" | | #else | | namespace cxx11 | { | | namespace test_static_assert | { | | template <typename T> | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | } | | namespace test_final_override | { | | struct Base | { | virtual void f() {} | }; | | struct Derived : public Base | { | virtual void f() override {} | }; | | } | | namespace test_double_right_angle_brackets | { | | template < typename T > | struct check {}; | | typedef check<void> single_type; | typedef check<check<void>> double_type; | typedef check<check<check<void>>> triple_type; | typedef check<check<check<check<void>>>> quadruple_type; | | } | | namespace test_decltype | { | | int | f() | { | int a = 1; | decltype(a) b = 2; | return a + b; | } | | } | | namespace test_type_deduction | { | | template < typename T1, typename T2 > | struct is_same | { | static const bool value = false; | }; | | template < typename T > | struct is_same<T, T> | { | static const bool value = true; | }; | | template < typename T1, typename T2 > | auto | add(T1 a1, T2 a2) -> decltype(a1 + a2) | { | return a1 + a2; | } | | int | test(const int c, volatile int v) | { | static_assert(is_same<int, decltype(0)>::value == true, ""); | static_assert(is_same<int, decltype(c)>::value == false, ""); | static_assert(is_same<int, decltype(v)>::value == false, ""); | auto ac = c; | auto av = v; | auto sumi = ac + av + 'x'; | auto sumf = ac + av + 1.0; | static_assert(is_same<int, decltype(ac)>::value == true, ""); | static_assert(is_same<int, decltype(av)>::value == true, ""); | static_assert(is_same<int, decltype(sumi)>::value == true, ""); | static_assert(is_same<int, decltype(sumf)>::value == false, ""); | static_assert(is_same<int, decltype(add(c, v))>::value == true, ""); | return (sumf > 0.0) ? sumi : add(c, v); | } | | } | | namespace test_noexcept | { | | int f() { return 0; } | int g() noexcept { return 0; } | | static_assert(noexcept(f()) == false, ""); | static_assert(noexcept(g()) == true, ""); | | } | | namespace test_constexpr | { | | template < typename CharT > | unsigned long constexpr | strlen_c_r(const CharT *const s, const unsigned long acc) noexcept | { | return *s ? strlen_c_r(s + 1, acc + 1) : acc; | } | | template < typename CharT > | unsigned long constexpr | strlen_c(const CharT *const s) noexcept | { | return strlen_c_r(s, 0UL); | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("1") == 1UL, ""); | static_assert(strlen_c("example") == 7UL, ""); | static_assert(strlen_c("another\0example") == 7UL, ""); | | } | | namespace test_rvalue_references | { | | template < int N > | struct answer | { | static constexpr int value = N; | }; | | answer<1> f(int&) { return answer<1>(); } | answer<2> f(const int&) { return answer<2>(); } | answer<3> f(int&&) { return answer<3>(); } | | void | test() | { | int i = 0; | const int c = 0; | static_assert(decltype(f(i))::value == 1, ""); | static_assert(decltype(f(c))::value == 2, ""); | static_assert(decltype(f(0))::value == 3, ""); | } | | } | | namespace test_uniform_initialization | { | | struct test | { | static const int zero {}; | static const int one {1}; | }; | | static_assert(test::zero == 0, ""); | static_assert(test::one == 1, ""); | | } | | namespace test_lambdas | { | | void | test1() | { | auto lambda1 = [](){}; | auto lambda2 = lambda1; | lambda1(); | lambda2(); | } | | int | test2() | { | auto a = [](int i, int j){ return i + j; }(1, 2); | auto b = []() -> int { return '0'; }(); | auto c = [=](){ return a + b; }(); | auto d = [&](){ return c; }(); | auto e = [a, &b](int x) mutable { | const auto identity = [](int y){ return y; }; | for (auto i = 0; i < a; ++i) | a += b--; | return x + identity(a + b); | }(0); | return a + b + c + d + e; | } | | int | test3() | { | const auto nullary = [](){ return 0; }; | const auto unary = [](int x){ return x; }; | using nullary_t = decltype(nullary); | using unary_t = decltype(unary); | const auto higher1st = [](nullary_t f){ return f(); }; | const auto higher2nd = [unary](nullary_t f1){ | return [unary, f1](unary_t f2){ return f2(unary(f1())); }; | }; | return higher1st(nullary) + higher2nd(nullary)(unary); | } | | } | | namespace test_variadic_templates | { | | template <int...> | struct sum; | | template <int N0, int... N1toN> | struct sum<N0, N1toN...> | { | static constexpr auto value = N0 + sum<N1toN...>::value; | }; | | template <> | struct sum<> | { | static constexpr auto value = 0; | }; | | static_assert(sum<>::value == 0, ""); | static_assert(sum<1>::value == 1, ""); | static_assert(sum<23>::value == 23, ""); | static_assert(sum<1, 2>::value == 3, ""); | static_assert(sum<5, 5, 11>::value == 21, ""); | static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); | | } | | // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae | // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function | // because of this. | namespace test_template_alias_sfinae | { | | struct foo {}; | | template<typename T> | using member = typename T::member_type; | | template<typename T> | void func(...) {} | | template<typename T> | void func(member<T>*) {} | | void test(); | | void test() { func<foo>(0); } | | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | configure:19617: result: no configure:19629: checking whether g++ supports C++11 features with -std=c++11 configure:19925: g++ -std=c++11 -c -g -DNDEBUG conftest.cpp >&5 configure:19925: $? = 0 configure:19934: result: yes configure:20100: checking that generated files are newer than configure configure:20106: result: done configure:20169: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by Protocol Buffers config.status 3.3.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on config.status:1220: creating Makefile config.status:1220: creating src/Makefile config.status:1220: creating benchmarks/Makefile config.status:1220: creating conformance/Makefile config.status:1220: creating protobuf.pc config.status:1220: creating protobuf-lite.pc config.status:1220: creating config.h config.status:1449: executing depfiles commands config.status:1449: executing libtool commands configure:22729: === configuring in gmock (/tmp/protobuf-3.3.0/gmock) configure:22792: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=powerpc-ibm-os400 ac_cv_build_prog_CPP='gcc -E' ac_cv_build_prog_CXXCPP='g++ -E' ac_cv_build_prog_cc_g=yes ac_cv_build_prog_cxx_g=yes ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes ac_cv_cxx_hash_map='<tr1/unordered_map>' ac_cv_cxx_hash_map_class=unordered_map ac_cv_cxx_hash_namespace=std::tr1 ac_cv_cxx_hash_set='<tr1/unordered_set>' ac_cv_cxx_hash_set_class=unordered_set ac_cv_env_CCC_set='' ac_cv_env_CCC_value='' ac_cv_env_CC_set='' ac_cv_env_CC_value='' ac_cv_env_CFLAGS_set='' ac_cv_env_CFLAGS_value='' ac_cv_env_CPPFLAGS_set='' ac_cv_env_CPPFLAGS_value='' ac_cv_env_CPP_set='' ac_cv_env_CPP_value='' ac_cv_env_CXXCPP_set='' ac_cv_env_CXXCPP_value='' ac_cv_env_CXXFLAGS_set='' ac_cv_env_CXXFLAGS_value='' ac_cv_env_CXX_set='' ac_cv_env_CXX_value='' ac_cv_env_DIST_LANG_set='' ac_cv_env_DIST_LANG_value='' ac_cv_env_LDFLAGS_set='' ac_cv_env_LDFLAGS_value='' ac_cv_env_LIBS_set='' ac_cv_env_LIBS_value='' ac_cv_env_OBJCFLAGS_set='' ac_cv_env_OBJCFLAGS_value='' ac_cv_env_OBJC_set='' ac_cv_env_OBJC_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_func_ftruncate=yes ac_cv_func_memcmp_working=yes ac_cv_func_memset=yes ac_cv_func_mkdir=yes ac_cv_func_strchr=yes ac_cv_func_strerror=yes ac_cv_func_strtod=yes ac_cv_func_strtol=yes ac_cv_have_decl___SUNPRO_CC=no ac_cv_header_dlfcn_h=yes ac_cv_header_fcntl_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_limits_h=yes ac_cv_header_memory_h=yes ac_cv_header_minix_config_h=no 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_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_host=powerpc-ibm-os400 ac_cv_objc_compiler_gnu=no ac_cv_objext=o ac_cv_path_EGREP='/QOpenSys/usr/bin/grep -E' ac_cv_path_FGREP='/QOpenSys/usr/bin/grep -F' ac_cv_path_GREP=/QOpenSys/usr/bin/grep ac_cv_path_SED=/QOpenSys/usr/bin/sed ac_cv_prog_AWK=gawk ac_cv_prog_CPP='gcc -E' ac_cv_prog_CXXCPP='g++ -E' ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_CC_FOR_BUILD=gcc ac_cv_prog_ac_ct_CXX=g++ ac_cv_prog_ac_ct_CXX_FOR_BUILD=g++ ac_cv_prog_ac_ct_OBJC=gcc ac_cv_prog_ac_ct_OBJDUMP=objdump ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_c89='' ac_cv_prog_cc_g=yes ac_cv_prog_cxx_g=yes ac_cv_prog_make_make_set=yes ac_cv_prog_objc_g=no ac_cv_safe_to_define___extensions__=yes ac_cv_search_sched_yield='none required' ac_cv_target=powerpc-ibm-os400 am_cv_CC_dependencies_compiler_type=gcc3 am_cv_CXX_dependencies_compiler_type=gcc3 am_cv_OBJC_dependencies_compiler_type=gcc3 am_cv_ar_interface=ar am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=yes am_cv_prog_tar_ustar=gnutar ax_cv_cxx_compile_cxx11=no ax_cv_cxx_compile_cxx11__std_cpp11=yes lt_cv_ar_at_file=no lt_cv_deplibs_check_method=unknown lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file='' lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=/QOpenSys/usr/bin/ld lt_cv_path_LDCXX=/QOpenSys/usr/bin/ld lt_cv_path_NM='/QOpenSys/usr/bin/nm -B' lt_cv_path_mainfest_tool=no lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_c_o_CXX=yes lt_cv_prog_compiler_pic='-fPIC -DPIC' lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC' lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_pic_works_CXX=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=no lt_cv_prog_compiler_static_works_CXX=no lt_cv_prog_gnu_ld=no lt_cv_prog_gnu_ldcxx=no lt_cv_sharedlib_from_linklib_cmd='print -r --' lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST]* .* \(.*\)$/extern char \1;/p'\' lt_cv_sys_max_cmd_len=18432 lt_cv_to_host_file_cmd=func_convert_file_noop lt_cv_to_tool_file_cmd=func_convert_file_noop ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /tmp/protobuf-3.3.0/missing aclocal-1.14' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_V='$(V)' AR='ar' AUTOCONF='${SHELL} /tmp/protobuf-3.3.0/missing autoconf' AUTOHEADER='${SHELL} /tmp/protobuf-3.3.0/missing autoheader' AUTOMAKE='${SHELL} /tmp/protobuf-3.3.0/missing automake-1.14' AWK='gawk' BUILD_EXEEXT='' BUILD_OBJEXT='' CC='gcc' CCDEPMODE='depmode=gcc3' CC_FOR_BUILD='gcc' CFLAGS='' CFLAGS_FOR_BUILD='-g -O2' CPP='gcc -E' CPPFLAGS='' CPPFLAGS_FOR_BUILD='' CPP_FOR_BUILD='gcc -E' CXX='g++ -std=c++11' CXXCPP='g++ -E -std=c++11' CXXCPPFLAGS_FOR_BUILD='' CXXCPP_FOR_BUILD='g++ -E' CXXDEPMODE='depmode=gcc3' CXXFLAGS=' -g -DNDEBUG' CXXFLAGS_FOR_BUILD='-g -O2' CXX_FOR_BUILD='g++' CYGPATH_W='echo' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' DIST_LANG='all' DLLTOOL='false' DSYMUTIL='' DUMPBIN='' ECHO_C='\c' ECHO_N='' ECHO_T='' EGREP='/QOpenSys/usr/bin/grep -E' EXEEXT='' FGREP='/QOpenSys/usr/bin/grep -F' GCC_FALSE='#' GCC_TRUE='' GREP='/QOpenSys/usr/bin/grep' HAVE_CXX11='1' HAVE_LD_VERSION_SCRIPT_FALSE='' HAVE_LD_VERSION_SCRIPT_TRUE='#' HAVE_PTHREAD_FALSE='#' HAVE_PTHREAD_TRUE='' HAVE_ZLIB_FALSE='' HAVE_ZLIB_TRUE='#' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' ISAINFO='' LD='/QOpenSys/usr/bin/ld' LDFLAGS='' LDFLAGS_FOR_BUILD='' LIBOBJS='' LIBS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' MAINT='' MAINTAINER_MODE_FALSE='#' MAINTAINER_MODE_TRUE='' MAKEINFO='${SHELL} /tmp/protobuf-3.3.0/missing makeinfo' MANIFEST_TOOL=':' MKDIR_P='./install-sh -c -d' NM='/QOpenSys/usr/bin/nm -B' NMEDIT='' OBJC='gcc' OBJCDEPMODE='depmode=gcc3' OBJCFLAGS='' OBJC_CONFORMANCE_TEST_FALSE='' OBJC_CONFORMANCE_TEST_TRUE='#' OBJDUMP='objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='protobuf' PACKAGE_BUGREPORT='protobuf@googlegroups.com' PACKAGE_NAME='Protocol Buffers' PACKAGE_STRING='Protocol Buffers 3.3.0' PACKAGE_TARNAME='protobuf' PACKAGE_URL='' PACKAGE_VERSION='3.3.0' PATH_SEPARATOR=':' POW_LIB='' PROTOBUF_OPT_FLAG='-O2' PROTOC='' PTHREAD_CC='gcc' PTHREAD_CFLAGS='' PTHREAD_LIBS='-lpthreads' RANLIB='ranlib' SED='/QOpenSys/usr/bin/sed' SET_MAKE='' SHELL='/bin/sh' STRIP='strip' USE_EXTERNAL_PROTOC_FALSE='' USE_EXTERNAL_PROTOC_TRUE='#' VERSION='3.3.0' ac_ct_AR='ar' ac_ct_CC='gcc' ac_ct_CC_FOR_BUILD='gcc' ac_ct_CXX='g++' ac_ct_CXX_FOR_BUILD='g++' ac_ct_DUMPBIN='' ac_ct_OBJC='gcc' acx_pthread_config='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='#' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='#' am__fastdepCXX_TRUE='' am__fastdepOBJC_FALSE='#' am__fastdepOBJC_TRUE='' am__include='include' am__isrc='' am__leading_dot='.' am__nodep='_no' am__quote='' am__tar='gtar --format=ustar -chf - "$$tardir"' am__untar='gtar -xf -' bindir='${exec_prefix}/bin' build='powerpc-ibm-os400' build_alias='' build_cpu='powerpc' build_os='os400' build_vendor='ibm' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' host='powerpc-ibm-os400' host_alias='' host_cpu='powerpc' host_os='os400' host_vendor='ibm' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /tmp/protobuf-3.3.0/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr/local' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' subdirs=' gmock' sysconfdir='${prefix}/etc' target='powerpc-ibm-os400' target_alias='' target_cpu='powerpc' target_os='os400' target_vendor='ibm' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "Protocol Buffers" #define PACKAGE_TARNAME "protobuf" #define PACKAGE_VERSION "3.3.0" #define PACKAGE_STRING "Protocol Buffers 3.3.0" #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" #define PACKAGE_URL "" #define PACKAGE "protobuf" #define VERSION "3.3.0" #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_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define STDC_HEADERS 1 #define HAVE_FCNTL_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_LIMITS_H 1 #define HAVE_STDLIB_H 1 #define HAVE_UNISTD_H 1 #define HAVE_FTRUNCATE 1 #define HAVE_MEMSET 1 #define HAVE_MKDIR 1 #define HAVE_STRCHR 1 #define HAVE_STRERROR 1 #define HAVE_STRTOL 1 #define HAVE_PTHREAD 1 #define HAVE_HASH_MAP 1 #define HAVE_HASH_SET 1 #define HASH_MAP_H <tr1/unordered_map> #define HASH_SET_H <tr1/unordered_set> #define HASH_NAMESPACE std::tr1 #define HASH_MAP_CLASS unordered_map #define HASH_SET_CLASS unordered_set #define HAVE_CXX11 1 configure: exit 0