This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by MTK++ configure 0.2.0, which was generated by GNU Autoconf 2.68. Invocation command line was $ ./configure CXX=g++ CC=gcc QTDIR= CFLAGS= -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ CXXFLAGS= --disable-shared --enable-static=yes --prefix=/home/wuxw/ambers/amber12 --includedir=/home/wuxw/ambers/amber12/include/mtkpp --with-boost=/home/wuxw/ambers/amber12/AmberTools/src/boost-1.38.0 ## --------- ## ## Platform. ## ## --------- ## hostname = lcbb-01872036 uname -m = i686 uname -r = 1.7.9(0.237/5/3) uname -s = CYGWIN_NT-5.1 uname -v = 2011-03-29 10:10 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/wuxw/programs/IMOD/bin PATH: /home/wuxw/programs/bsoft/lib PATH: /home/wuxw/programs/bsoft/bin PATH: /usr/local/bin PATH: /usr/bin PATH: /cygdrive/c/Program Files/MiKTeX 2.9/miktex/bin PATH: /cygdrive/c/WINDOWS/system32 PATH: /cygdrive/c/WINDOWS PATH: /cygdrive/c/WINDOWS/System32/Wbem PATH: /cygdrive/c/Program Files/ATI Technologies/ATI.ACE/Core-Static PATH: /cygdrive/c/Program Files/Windows Imaging PATH: /cygdrive/c/WINDOWS/system32/WindowsPowerShell/v1.0 PATH: /cygdrive/c/Program Files/QuickTime/QTSystem PATH: /usr/lib/lapack ## ----------- ## ## Core tests. ## ## ----------- ## configure:2632: checking for a BSD-compatible install configure:2700: result: /usr/bin/install -c configure:2711: checking whether build environment is sane configure:2761: result: yes configure:2902: checking for a thread-safe mkdir -p configure:2941: result: /usr/bin/mkdir -p configure:2954: checking for gawk configure:2970: found /usr/bin/gawk configure:2981: result: gawk configure:2992: checking whether make sets $(MAKE) configure:3014: result: yes configure:3105: checking whether to enable maintainer-specific portions of Makefiles configure:3114: result: no configure:3248: checking for C++ compiler version configure:3257: g++ --version >&5 g++ (GCC) 4.5.3 Copyright (C) 2010 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:3268: $? = 0 configure:3257: g++ -v >&5 Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-cygwin/4.5.3/lto-wrapper.exe Target: i686-pc-cygwin Configured with: /gnu/gcc/releases/respins/4.5.3-2/gcc4-4.5.3-2/src/gcc-4.5.3/configure --srcdir=/gnu/gcc/releases/respins/4.5.3-2/gcc4-4.5.3-2/src/gcc-4.5.3 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --datadir=/usr/share --localstatedir=/var --sysconfdir=/etc --datarootdir=/usr/share --docdir=/usr/share/doc/gcc4 -C --datadir=/usr/share --infodir=/usr/share/info --mandir=/usr/share/man -v --with-gmp=/usr --with-mpfr=/usr --enable-bootstrap --enable-version-specific-runtime-libs --libexecdir=/usr/lib --enable-static --enable-shared --enable-shared-libgcc --disable-__cxa_atexit --with-gnu-ld --with-gnu-as --with-dwarf2 --disable-sjlj-exceptions --enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++ --enable-graphite --enable-lto --enable-java-awt=gtk --disable-symvers --enable-libjava --program-suffix=-4 --enable-libgomp --enable-libssp --enable-libada --enable-threads=posix --with-arch=i686 --with-tune=generic --enable-libgcj-sublibs CC=gcc-4 CXX=g++-4 CC_FOR_TARGET=gcc-4 CXX_FOR_TARGET=g++-4 GNATMAKE_FOR_TARGET=gnatmake GNATBIND_FOR_TARGET=gnatbind --with-ecj-jar=/usr/share/java/ecj.jar Thread model: posix gcc version 4.5.3 (GCC) configure:3268: $? = 0 configure:3257: g++ -V >&5 g++: '-V' option must have argument configure:3268: $? = 1 configure:3257: g++ -qversion >&5 g++: unrecognized option '-qversion' g++: no input files configure:3268: $? = 1 configure:3288: checking whether the C++ compiler works configure:3310: g++ conftest.cpp >&5 configure:3314: $? = 0 configure:3362: result: yes configure:3365: checking for C++ compiler default output file name configure:3367: result: a.exe configure:3373: checking for suffix of executables configure:3380: g++ -o conftest.exe conftest.cpp >&5 configure:3384: $? = 0 configure:3406: result: .exe configure:3428: checking whether we are cross compiling configure:3436: g++ -o conftest.exe conftest.cpp >&5 configure:3440: $? = 0 configure:3447: ./conftest.exe configure:3451: $? = 0 configure:3466: result: no configure:3471: checking for suffix of object files configure:3493: g++ -c conftest.cpp >&5 configure:3497: $? = 0 configure:3518: result: o configure:3522: checking whether we are using the GNU C++ compiler configure:3541: g++ -c conftest.cpp >&5 configure:3541: $? = 0 configure:3550: result: yes configure:3559: checking whether g++ accepts -g configure:3579: g++ -c -g conftest.cpp >&5 configure:3579: $? = 0 configure:3620: result: yes configure:3654: checking for style of include used by make configure:3682: result: GNU configure:3707: checking dependency style of g++ configure:3817: result: gcc3 configure:3880: checking for gcc configure:3907: result: gcc configure:4136: checking for C compiler version configure:4145: gcc --version >&5 gcc (GCC) 4.5.3 Copyright (C) 2010 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:4156: $? = 0 configure:4145: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-cygwin/4.5.3/lto-wrapper.exe Target: i686-pc-cygwin Configured with: /gnu/gcc/releases/respins/4.5.3-2/gcc4-4.5.3-2/src/gcc-4.5.3/configure --srcdir=/gnu/gcc/releases/respins/4.5.3-2/gcc4-4.5.3-2/src/gcc-4.5.3 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --datadir=/usr/share --localstatedir=/var --sysconfdir=/etc --datarootdir=/usr/share --docdir=/usr/share/doc/gcc4 -C --datadir=/usr/share --infodir=/usr/share/info --mandir=/usr/share/man -v --with-gmp=/usr --with-mpfr=/usr --enable-bootstrap --enable-version-specific-runtime-libs --libexecdir=/usr/lib --enable-static --enable-shared --enable-shared-libgcc --disable-__cxa_atexit --with-gnu-ld --with-gnu-as --with-dwarf2 --disable-sjlj-exceptions --enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++ --enable-graphite --enable-lto --enable-java-awt=gtk --disable-symvers --enable-libjava --program-suffix=-4 --enable-libgomp --enable-libssp --enable-libada --enable-threads=posix --with-arch=i686 --with-tune=generic --enable-libgcj-sublibs CC=gcc-4 CXX=g++-4 CC_FOR_TARGET=gcc-4 CXX_FOR_TARGET=g++-4 GNATMAKE_FOR_TARGET=gnatmake GNATBIND_FOR_TARGET=gnatbind --with-ecj-jar=/usr/share/java/ecj.jar Thread model: posix gcc version 4.5.3 (GCC) configure:4156: $? = 0 configure:4145: gcc -V >&5 gcc: '-V' option must have argument configure:4156: $? = 1 configure:4145: gcc -qversion >&5 gcc: unrecognized option '-qversion' gcc: no input files configure:4156: $? = 1 configure:4160: checking whether we are using the GNU C compiler configure:4179: gcc -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ conftest.c >&5 configure:4179: $? = 0 configure:4188: result: yes configure:4197: checking whether gcc accepts -g configure:4217: gcc -c -g conftest.c >&5 configure:4217: $? = 0 configure:4258: result: yes configure:4275: checking for gcc option to accept ISO C89 configure:4339: gcc -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ conftest.c >&5 configure:4339: $? = 0 configure:4352: result: none needed configure:4374: checking dependency style of gcc configure:4484: result: gcc3 configure:4501: checking for swig configure:4519: found /usr/bin/swig configure:4531: result: /usr/bin/swig configure:4541: checking for python configure:4559: found /usr/bin/python configure:4571: result: /usr/bin/python configure:4609: checking build system type configure:4623: result: i686-pc-cygwin configure:4643: checking host system type configure:4656: result: i686-pc-cygwin configure:4697: checking how to print strings configure:4724: result: printf configure:4745: checking for a sed that does not truncate output configure:4809: result: /usr/bin/sed configure:4827: checking for grep that handles long lines and -e configure:4885: result: /usr/bin/grep configure:4890: checking for egrep configure:4952: result: /usr/bin/grep -E configure:4957: checking for fgrep configure:5019: result: /usr/bin/grep -F configure:5054: checking for ld used by gcc configure:5121: result: /usr/i686-pc-cygwin/bin/ld.exe configure:5128: checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld configure:5143: result: yes configure:5155: checking for BSD- or MS-compatible name lister (nm) configure:5204: result: /usr/bin/nm -B configure:5334: checking the name lister (/usr/bin/nm -B) interface configure:5341: g++ -c conftest.cpp >&5 configure:5344: /usr/bin/nm -B "conftest.o" configure:5347: output 00000000 b .bss 00000000 d .data 00000000 t .text 00000000 B _some_variable configure:5354: result: BSD nm configure:5357: checking whether ln -s works configure:5361: result: yes configure:5369: checking the maximum length of command line arguments configure:5494: result: 8192 configure:5511: checking whether the shell understands some XSI constructs configure:5521: result: yes configure:5525: checking whether the shell understands "+=" configure:5531: result: yes configure:5566: checking how to convert i686-pc-cygwin file names to i686-pc-cygwin format configure:5606: result: func_convert_file_noop configure:5613: checking how to convert i686-pc-cygwin file names to toolchain format configure:5633: result: func_convert_file_noop configure:5640: checking for /usr/i686-pc-cygwin/bin/ld.exe option to reload object files configure:5647: result: -r configure:5721: checking for objdump configure:5737: found /usr/bin/objdump configure:5748: result: objdump configure:5780: checking how to recognize dependent libraries configure:5982: result: file_magic ^x86 archive import|^x86 DLL configure:6067: checking for dlltool configure:6083: found /usr/bin/dlltool configure:6094: result: dlltool configure:6127: checking how to associate runtime and link libraries configure:6154: result: func_cygming_dll_for_implib configure:6215: checking for ar configure:6231: found /usr/bin/ar configure:6242: result: ar configure:6279: checking for archiver @FILE support configure:6296: g++ -c conftest.cpp >&5 configure:6296: $? = 0 configure:6299: ar cru libconftest.a @conftest.lst >&5 configure:6302: $? = 0 configure:6307: ar cru libconftest.a @conftest.lst >&5 ar: conftest.o: No such file or directory configure:6310: $? = 1 configure:6322: result: @ configure:6380: checking for strip configure:6396: found /usr/bin/strip configure:6407: result: strip configure:6479: checking for ranlib configure:6495: found /usr/bin/ranlib configure:6506: result: ranlib configure:6608: checking command to parse /usr/bin/nm -B output from gcc object configure:6727: g++ -c conftest.cpp >&5 configure:6730: $? = 0 configure:6734: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm configure:6737: $? = 0 cannot find nm_test_var in conftest.nm configure:6727: g++ -c conftest.cpp >&5 configure:6730: $? = 0 configure:6734: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm configure:6737: $? = 0 configure:6803: g++ -o conftest.exe conftest.cpp conftstm.o >&5 configure:6806: $? = 0 configure:6844: result: ok configure:6881: checking for sysroot configure:6911: result: no configure:7155: checking for mt configure:7171: found /usr/bin/mt configure:7182: result: mt configure:7205: checking if mt is a manifest tool configure:7211: mt '-?' mt: unknown option -- ? usage: mt [-V] [-f device] operation [count] configure:7219: result: no configure:7851: checking how to run the C preprocessor configure:7882: gcc -E conftest.c configure:7882: $? = 0 configure:7896: gcc -E conftest.c conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:7896: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "MTK++" | #define PACKAGE_TARNAME "MTKpp" | #define PACKAGE_VERSION "0.2.0" | #define PACKAGE_STRING "MTK++ 0.2.0" | #define PACKAGE_BUGREPORT "martin.b.peters@gmail.com" | #define PACKAGE_URL "" | #define PACKAGE "MTKpp" | #define VERSION "0.2.0" | /* end confdefs.h. */ | #include configure:7921: result: gcc -E configure:7941: gcc -E conftest.c configure:7941: $? = 0 configure:7955: gcc -E conftest.c conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:7955: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "MTK++" | #define PACKAGE_TARNAME "MTKpp" | #define PACKAGE_VERSION "0.2.0" | #define PACKAGE_STRING "MTK++ 0.2.0" | #define PACKAGE_BUGREPORT "martin.b.peters@gmail.com" | #define PACKAGE_URL "" | #define PACKAGE "MTKpp" | #define VERSION "0.2.0" | /* end confdefs.h. */ | #include configure:7984: checking for ANSI C header files configure:8004: gcc -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ conftest.c >&5 configure:8004: $? = 0 configure:8077: gcc -o conftest.exe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ conftest.c >&5 configure:8077: $? = 0 configure:8077: ./conftest.exe configure:8077: $? = 0 configure:8088: result: yes configure:8101: checking for sys/types.h configure:8101: gcc -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ conftest.c >&5 configure:8101: $? = 0 configure:8101: result: yes configure:8101: checking for sys/stat.h configure:8101: gcc -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ conftest.c >&5 configure:8101: $? = 0 configure:8101: result: yes configure:8101: checking for stdlib.h configure:8101: gcc -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ conftest.c >&5 configure:8101: $? = 0 configure:8101: result: yes configure:8101: checking for string.h configure:8101: gcc -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ conftest.c >&5 configure:8101: $? = 0 configure:8101: result: yes configure:8101: checking for memory.h configure:8101: gcc -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ conftest.c >&5 configure:8101: $? = 0 configure:8101: result: yes configure:8101: checking for strings.h configure:8101: gcc -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ conftest.c >&5 configure:8101: $? = 0 configure:8101: result: yes configure:8101: checking for inttypes.h configure:8101: gcc -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ conftest.c >&5 configure:8101: $? = 0 configure:8101: result: yes configure:8101: checking for stdint.h configure:8101: gcc -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ conftest.c >&5 configure:8101: $? = 0 configure:8101: result: yes configure:8101: checking for unistd.h configure:8101: gcc -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ conftest.c >&5 configure:8101: $? = 0 configure:8101: result: yes configure:8115: checking for dlfcn.h configure:8115: gcc -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ conftest.c >&5 configure:8115: $? = 0 configure:8115: result: yes configure:8312: checking for objdir configure:8327: result: .libs configure:8594: checking if gcc supports -fno-rtti -fno-exceptions configure:8612: gcc -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C configure:8616: $? = 0 configure:8629: result: no configure:8939: checking for gcc option to produce PIC configure:8946: result: -DDLL_EXPORT -DPIC configure:8954: checking if gcc PIC flag -DDLL_EXPORT -DPIC works configure:8972: gcc -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ -DDLL_EXPORT -DPIC -DPIC conftest.c >&5 configure:8976: $? = 0 configure:8989: result: yes configure:9018: checking if gcc static flag -static works configure:9046: result: yes configure:9061: checking if gcc supports -c -o file.o configure:9082: gcc -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ -o out/conftest2.o conftest.c >&5 configure:9086: $? = 0 configure:9108: result: yes configure:9116: checking if gcc supports -c -o file.o configure:9163: result: yes configure:9196: checking whether the gcc linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared libraries configure:10354: result: yes configure:10599: checking dynamic linker characteristics configure:11335: result: Win32 ld.exe configure:11442: checking how to hardcode library paths into programs configure:11467: result: immediate configure:12007: checking whether stripping libraries is possible configure:12012: result: yes configure:12047: checking if libtool supports shared libraries configure:12049: result: yes configure:12052: checking whether to build shared libraries configure:12073: result: no configure:12076: checking whether to build static libraries configure:12080: result: yes configure:12103: checking how to run the C++ preprocessor configure:12130: g++ -E conftest.cpp configure:12130: $? = 0 configure:12144: g++ -E conftest.cpp conftest.cpp:23:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:12144: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "MTK++" | #define PACKAGE_TARNAME "MTKpp" | #define PACKAGE_VERSION "0.2.0" | #define PACKAGE_STRING "MTK++ 0.2.0" | #define PACKAGE_BUGREPORT "martin.b.peters@gmail.com" | #define PACKAGE_URL "" | #define PACKAGE "MTKpp" | #define VERSION "0.2.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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include configure:12169: result: g++ -E configure:12189: g++ -E conftest.cpp configure:12189: $? = 0 configure:12203: g++ -E conftest.cpp conftest.cpp:23:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:12203: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "MTK++" | #define PACKAGE_TARNAME "MTKpp" | #define PACKAGE_VERSION "0.2.0" | #define PACKAGE_STRING "MTK++ 0.2.0" | #define PACKAGE_BUGREPORT "martin.b.peters@gmail.com" | #define PACKAGE_URL "" | #define PACKAGE "MTKpp" | #define VERSION "0.2.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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include configure:12373: checking for ld used by g++ configure:12440: result: /usr/i686-pc-cygwin/bin/ld.exe configure:12447: checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld configure:12462: result: yes configure:12517: checking whether the g++ linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared libraries configure:13521: result: yes configure:13556: g++ -c conftest.cpp >&5 configure:13559: $? = 0 configure:14079: checking for g++ option to produce PIC configure:14086: result: -DDLL_EXPORT -DPIC configure:14094: checking if g++ PIC flag -DDLL_EXPORT -DPIC works configure:14112: g++ -c -DDLL_EXPORT -DPIC -DPIC conftest.cpp >&5 configure:14116: $? = 0 configure:14129: result: yes configure:14152: checking if g++ static flag -static works configure:14180: result: yes configure:14192: checking if g++ supports -c -o file.o configure:14213: g++ -c -o out/conftest2.o conftest.cpp >&5 configure:14217: $? = 0 configure:14239: result: yes configure:14244: checking if g++ supports -c -o file.o configure:14291: result: yes configure:14321: checking whether the g++ linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared libraries configure:14355: result: yes configure:14498: checking dynamic linker characteristics configure:15168: result: Win32 ld.exe configure:15221: checking how to hardcode library paths into programs configure:15246: result: immediate configure:15418: checking Boost version configure:15432: result: 1-38 configure:15456: result: configure:15458: result: Cannot find log4cxx configure:15460: result: configure:15492: checking for X configure:15631: g++ -o conftest.exe -DNDEBUG conftest.cpp -lX11 >&5 configure:15631: $? = 0 configure:15681: result: libraries , headers configure:15689: checking QTDIR configure:15708: WARNING: QTDIR is not defined configure:15987: result: configure:15989: result: Using TinyXML provided with MTK++ configure:15991: result: configure:16005: checking for doxygen configure:16021: found /usr/bin/doxygen configure:16033: result: yes configure:16043: checking for latex configure:16059: found /usr/bin/latex configure:16071: result: yes configure:16081: checking for dvips configure:16097: found /usr/bin/dvips configure:16109: result: yes configure:16119: checking for gs configure:16135: found /usr/bin/gs configure:16147: result: yes configure:16157: checking for dot configure:16185: result: no configure:16269: checking for diff configure:16285: found /usr/bin/diff configure:16297: result: yes configure:16318: checking for gcc option to accept ISO C99 configure:16467: g++ -c -DNDEBUG -DUSE_TINYXML -DTIXML_USE_STL conftest.cpp >&5 conftest.cpp:75:29: error: expected ',' or '...' before 'text' conftest.cpp: In function 'int test_restrict(const char*)': conftest.cpp:80:30: error: 'text' was not declared in this scope conftest.cpp: In function 'int main()': conftest.cpp:129:18: error: expected initializer before 'newvar' conftest.cpp:137:70: error: invalid conversion from 'void*' to 'incomplete_array*' conftest.cpp:144:5: error: expected primary-expression before '.' token conftest.cpp:145:5: error: expected primary-expression before '.' token conftest.cpp:146:5: error: expected primary-expression before '.' token conftest.cpp:155:59: error: 'newvar' was not declared in this scope configure:16467: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "MTK++" | #define PACKAGE_TARNAME "MTKpp" | #define PACKAGE_VERSION "0.2.0" | #define PACKAGE_STRING "MTK++ 0.2.0" | #define PACKAGE_BUGREPORT "martin.b.peters@gmail.com" | #define PACKAGE_URL "" | #define PACKAGE "MTKpp" | #define VERSION "0.2.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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define USE_LOG4CXX 0 | #define USE_TINYXML 1 | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:16467: g++ -c -DNDEBUG -DUSE_TINYXML -DTIXML_USE_STL conftest.cpp >&5 conftest.cpp:75:29: error: expected ',' or '...' before 'text' conftest.cpp: In function 'int test_restrict(const char*)': conftest.cpp:80:30: error: 'text' was not declared in this scope conftest.cpp: In function 'int main()': conftest.cpp:129:18: error: expected initializer before 'newvar' conftest.cpp:137:70: error: invalid conversion from 'void*' to 'incomplete_array*' conftest.cpp:144:5: error: expected primary-expression before '.' token conftest.cpp:145:5: error: expected primary-expression before '.' token conftest.cpp:146:5: error: expected primary-expression before '.' token conftest.cpp:155:59: error: 'newvar' was not declared in this scope configure:16467: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "MTK++" | #define PACKAGE_TARNAME "MTKpp" | #define PACKAGE_VERSION "0.2.0" | #define PACKAGE_STRING "MTK++ 0.2.0" | #define PACKAGE_BUGREPORT "martin.b.peters@gmail.com" | #define PACKAGE_URL "" | #define PACKAGE "MTKpp" | #define VERSION "0.2.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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define USE_LOG4CXX 0 | #define USE_TINYXML 1 | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:16467: g++ -c -DNDEBUG -DUSE_TINYXML -DTIXML_USE_STL conftest.cpp >&5 conftest.cpp:75:29: error: expected ',' or '...' before 'text' conftest.cpp: In function 'int test_restrict(const char*)': conftest.cpp:80:30: error: 'text' was not declared in this scope conftest.cpp: In function 'int main()': conftest.cpp:129:18: error: expected initializer before 'newvar' conftest.cpp:137:70: error: invalid conversion from 'void*' to 'incomplete_array*' conftest.cpp:144:5: error: expected primary-expression before '.' token conftest.cpp:145:5: error: expected primary-expression before '.' token conftest.cpp:146:5: error: expected primary-expression before '.' token conftest.cpp:155:59: error: 'newvar' was not declared in this scope configure:16467: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "MTK++" | #define PACKAGE_TARNAME "MTKpp" | #define PACKAGE_VERSION "0.2.0" | #define PACKAGE_STRING "MTK++ 0.2.0" | #define PACKAGE_BUGREPORT "martin.b.peters@gmail.com" | #define PACKAGE_URL "" | #define PACKAGE "MTKpp" | #define VERSION "0.2.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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define USE_LOG4CXX 0 | #define USE_TINYXML 1 | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:16467: g++ -c -DNDEBUG -DUSE_TINYXML -DTIXML_USE_STL conftest.cpp >&5 conftest.cpp:75:29: error: expected ',' or '...' before 'text' conftest.cpp: In function 'int test_restrict(const char*)': conftest.cpp:80:30: error: 'text' was not declared in this scope conftest.cpp: In function 'int main()': conftest.cpp:129:18: error: expected initializer before 'newvar' conftest.cpp:137:70: error: invalid conversion from 'void*' to 'incomplete_array*' conftest.cpp:144:5: error: expected primary-expression before '.' token conftest.cpp:145:5: error: expected primary-expression before '.' token conftest.cpp:146:5: error: expected primary-expression before '.' token conftest.cpp:155:59: error: 'newvar' was not declared in this scope configure:16467: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "MTK++" | #define PACKAGE_TARNAME "MTKpp" | #define PACKAGE_VERSION "0.2.0" | #define PACKAGE_STRING "MTK++ 0.2.0" | #define PACKAGE_BUGREPORT "martin.b.peters@gmail.com" | #define PACKAGE_URL "" | #define PACKAGE "MTKpp" | #define VERSION "0.2.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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define USE_LOG4CXX 0 | #define USE_TINYXML 1 | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:16467: g++ -c -DNDEBUG -DUSE_TINYXML -DTIXML_USE_STL conftest.cpp >&5 conftest.cpp:75:29: error: expected ',' or '...' before 'text' conftest.cpp: In function 'int test_restrict(const char*)': conftest.cpp:80:30: error: 'text' was not declared in this scope conftest.cpp: In function 'int main()': conftest.cpp:129:18: error: expected initializer before 'newvar' conftest.cpp:137:70: error: invalid conversion from 'void*' to 'incomplete_array*' conftest.cpp:144:5: error: expected primary-expression before '.' token conftest.cpp:145:5: error: expected primary-expression before '.' token conftest.cpp:146:5: error: expected primary-expression before '.' token conftest.cpp:155:59: error: 'newvar' was not declared in this scope configure:16467: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "MTK++" | #define PACKAGE_TARNAME "MTKpp" | #define PACKAGE_VERSION "0.2.0" | #define PACKAGE_STRING "MTK++ 0.2.0" | #define PACKAGE_BUGREPORT "martin.b.peters@gmail.com" | #define PACKAGE_URL "" | #define PACKAGE "MTKpp" | #define VERSION "0.2.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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define USE_LOG4CXX 0 | #define USE_TINYXML 1 | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:16467: g++ -c -DNDEBUG -DUSE_TINYXML -DTIXML_USE_STL conftest.cpp >&5 conftest.cpp:75:29: error: expected ',' or '...' before 'text' conftest.cpp: In function 'int test_restrict(const char*)': conftest.cpp:80:30: error: 'text' was not declared in this scope conftest.cpp: In function 'int main()': conftest.cpp:129:18: error: expected initializer before 'newvar' conftest.cpp:137:70: error: invalid conversion from 'void*' to 'incomplete_array*' conftest.cpp:144:5: error: expected primary-expression before '.' token conftest.cpp:145:5: error: expected primary-expression before '.' token conftest.cpp:146:5: error: expected primary-expression before '.' token conftest.cpp:155:59: error: 'newvar' was not declared in this scope configure:16467: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "MTK++" | #define PACKAGE_TARNAME "MTKpp" | #define PACKAGE_VERSION "0.2.0" | #define PACKAGE_STRING "MTK++ 0.2.0" | #define PACKAGE_BUGREPORT "martin.b.peters@gmail.com" | #define PACKAGE_URL "" | #define PACKAGE "MTKpp" | #define VERSION "0.2.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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define USE_LOG4CXX 0 | #define USE_TINYXML 1 | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:16467: g++ -c -DNDEBUG -DUSE_TINYXML -DTIXML_USE_STL conftest.cpp >&5 conftest.cpp:75:29: error: expected ',' or '...' before 'text' conftest.cpp: In function 'int test_restrict(const char*)': conftest.cpp:80:30: error: 'text' was not declared in this scope conftest.cpp: In function 'int main()': conftest.cpp:129:18: error: expected initializer before 'newvar' conftest.cpp:137:70: error: invalid conversion from 'void*' to 'incomplete_array*' conftest.cpp:144:5: error: expected primary-expression before '.' token conftest.cpp:145:5: error: expected primary-expression before '.' token conftest.cpp:146:5: error: expected primary-expression before '.' token conftest.cpp:155:59: error: 'newvar' was not declared in this scope configure:16467: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "MTK++" | #define PACKAGE_TARNAME "MTKpp" | #define PACKAGE_VERSION "0.2.0" | #define PACKAGE_STRING "MTK++ 0.2.0" | #define PACKAGE_BUGREPORT "martin.b.peters@gmail.com" | #define PACKAGE_URL "" | #define PACKAGE "MTKpp" | #define VERSION "0.2.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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define USE_LOG4CXX 0 | #define USE_TINYXML 1 | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:16483: result: unsupported configure:16493: checking for gcc option to accept ISO C89 configure:16570: result: none needed configure:16589: checking for gcc option to accept ISO Standard C configure:16600: result: none needed ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-pc-cygwin 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=gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value=' -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ' 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=set ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set=set ac_cv_env_CXX_value=g++ ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_XMKMF_set= ac_cv_env_XMKMF_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_exeext=.exe ac_cv_have_x='have_x=yes ac_x_includes='\'''\'' ac_x_libraries='\'''\''' ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_host=i686-pc-cygwin ac_cv_objext=o ac_cv_path_EGREP='/usr/bin/grep -E' ac_cv_path_FGREP='/usr/bin/grep -F' ac_cv_path_GREP=/usr/bin/grep ac_cv_path_PYTHON=/usr/bin/python ac_cv_path_SED=/usr/bin/sed ac_cv_path_SWIG=/usr/bin/swig ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/usr/bin/mkdir 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_DLLTOOL=dlltool ac_cv_prog_ac_ct_MANIFEST_TOOL=mt 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_c99=no ac_cv_prog_cc_g=yes ac_cv_prog_cc_stdc= ac_cv_prog_cxx_g=yes ac_cv_prog_diff_ok=yes ac_cv_prog_dot_ok=no ac_cv_prog_doxygen_ok=yes ac_cv_prog_dvips_ok=yes ac_cv_prog_gs_ok=yes ac_cv_prog_latex_ok=yes ac_cv_prog_make_make_set=yes am_cv_CC_dependencies_compiler_type=gcc3 am_cv_CXX_dependencies_compiler_type=gcc3 lt_cv_ar_at_file=@ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd=func_win32_libid 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=/usr/i686-pc-cygwin/bin/ld.exe lt_cv_path_LDCXX=/usr/i686-pc-cygwin/bin/ld.exe lt_cv_path_NM='/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='-DDLL_EXPORT -DPIC' lt_cv_prog_compiler_pic_CXX='-DDLL_EXPORT -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=yes lt_cv_prog_compiler_static_works_CXX=yes lt_cv_prog_gnu_ld=yes lt_cv_prog_gnu_ldcxx=yes lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*_\([_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/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\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/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' lt_cv_sys_max_cmd_len=8192 lt_cv_to_host_file_cmd=func_convert_file_noop lt_cv_to_tool_file_cmd=func_convert_file_noop ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/wuxw/ambers/amber12/AmberTools/src/mtkpp/missing --run aclocal-1.11' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /home/wuxw/ambers/amber12/AmberTools/src/mtkpp/missing --run tar' AR='ar' AUTOCONF='${SHELL} /home/wuxw/ambers/amber12/AmberTools/src/mtkpp/missing --run autoconf' AUTOHEADER='${SHELL} /home/wuxw/ambers/amber12/AmberTools/src/mtkpp/missing --run autoheader' AUTOMAKE='${SHELL} /home/wuxw/ambers/amber12/AmberTools/src/mtkpp/missing --run automake-1.11' AWK='gawk' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS=' -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ -DUSE_TINYXML' CPP='gcc -E' CPPFLAGS='' CXX='g++' CXXCPP='g++ -E' CXXDEPMODE='depmode=gcc3' CXXFLAGS=' -DNDEBUG -DUSE_TINYXML -DTIXML_USE_STL -DC99_OK' CXXLD='' CYGPATH_W='cygpath -w' DARWIN_ACCEL_FALSE='' DARWIN_ACCEL_TRUE='' DEFS='' DEPDIR='.deps' DIFFTOOL_FALSE='#' DIFFTOOL_TRUE='' DLLTOOL='dlltool' DOC_ON_FALSE='' DOC_ON_TRUE='#' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/usr/bin/grep -E' EXEEXT='.exe' FGREP='/usr/bin/grep -F' FLIBS='' GOT_DOT_FALSE='' GOT_DOT_TRUE='#' GREP='/usr/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' IS_DARWIN_FALSE='' IS_DARWIN_TRUE='' IS_LINUX_FALSE='' IS_LINUX_TRUE='' LD='/usr/i686-pc-cygwin/bin/ld.exe' LDFLAGS='' LIBDIR='' LIBOBJS='' LIBS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIBTOOL_DEPS='./ltmain.sh' LIPO='' LN_S='ln -s' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} /home/wuxw/ambers/amber12/AmberTools/src/mtkpp/missing --run makeinfo' MANIFEST_TOOL=':' MKDIR_P='/usr/bin/mkdir -p' MOC='' NM='/usr/bin/nm -B' NMEDIT='' OBJDUMP='objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='MTKpp' PACKAGE_BUGREPORT='martin.b.peters@gmail.com' PACKAGE_NAME='MTK++' PACKAGE_STRING='MTK++ 0.2.0' PACKAGE_TARNAME='MTKpp' PACKAGE_URL='' PACKAGE_VERSION='0.2.0' PATH_SEPARATOR=':' POW_LIB='' PYTHON='/usr/bin/python' QT_CXXFLAGS='' QT_DEFINES='' QT_INCPATH='' QT_LIBS='' RANLIB='ranlib' SED='/usr/bin/sed' SET_MAKE='' SHELL='/bin/sh' STRIP='strip' SWIG='/usr/bin/swig' UIC='' USE_LOG4CXX_FALSE='' USE_LOG4CXX_TRUE='#' USE_QT_FALSE='' USE_QT_TRUE='#' USE_XERCES_FALSE='' USE_XERCES_TRUE='#' VERSION='0.2.0' XMKMF='' ac_ct_AR='ar' ac_ct_CC='gcc' ac_ct_CXX='' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='#' am__fastdepCXX_TRUE='' am__include='include' am__isrc='' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' boost_inc='/home/wuxw/ambers/amber12/AmberTools/src/boost-1.38.0' build='i686-pc-cygwin' build_alias='' build_cpu='i686' build_os='cygwin' build_vendor='pc' datadir='${datarootdir}' datarootdir='${prefix}/share' defines_string=' -DUSE_TINYXML -DTIXML_USE_STL-DC99_OK ' diff_ok='yes' docdir='/home/wuxw/ambers/amber12/doc' dot_ok='no' doxygen_ok='yes' dvidir='${docdir}' dvips_ok='yes' exec_prefix='NONE' gs_ok='yes' host='i686-pc-cygwin' host_alias='' host_cpu='i686' host_os='cygwin' host_vendor='pc' htmldir='${docdir}' includedir='/home/wuxw/ambers/amber12/include/mtkpp' infodir='${datarootdir}/info' install_sh='${SHELL} /home/wuxw/ambers/amber12/AmberTools/src/mtkpp/install-sh' latex_ok='yes' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' log4cxx_inc='' mandir='${datarootdir}/man' mkdir_p='/usr/bin/mkdir -p' oldincludedir='/usr/include' pdfdir='${docdir}' platform='UNKNOWN' prefix='/home/wuxw/ambers/amber12' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' xerces_path='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "MTK++" #define PACKAGE_TARNAME "MTKpp" #define PACKAGE_VERSION "0.2.0" #define PACKAGE_STRING "MTK++ 0.2.0" #define PACKAGE_BUGREPORT "martin.b.peters@gmail.com" #define PACKAGE_URL "" #define PACKAGE "MTKpp" #define VERSION "0.2.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 HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define USE_LOG4CXX 0 #define USE_TINYXML 1 #define C99_OK 1 configure: exit 0