The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
configure: error: cannot compute sizeof (void *)
Jimothey


Joined: 02 Jun 2014
Posts: 8
I am trying to compile an old program that is not compatible with SDL2/SDL2_mixer, so I am trying to install 1.2 into my Cygwin interface (not sure of the correct terminology.)

When configuring SDL 1.2 it stops with the error:
checking size of void *... configure: error: cannot compute sizeof (void *)

the config.log is detailed below:
[code:1:f475f635f8]This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.61. Invocation command line was

$ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = Jimothey-PC
uname -m = i686
uname -r = 1.7.30(0.272/5/3)
uname -s = CYGWIN_NT-6.0
uname -v = 2014-05-23 10:36

/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: /usr/local/bin
PATH: /usr/bin
PATH: /cygdrive/c/Program Files/NVIDIA Corporation/PhysX/Common
PATH: /cygdrive/c/Windows/system32
PATH: /cygdrive/c/Windows
PATH: /cygdrive/c/Windows/System32/Wbem
PATH: /cygdrive/c/hp/bin/Python
PATH: /cygdrive/c/Program Files/Common Files/Roxio Shared/DLLShared
PATH: /cygdrive/c/Program Files/Common Files/Roxio Shared/9.0/DLLShared
PATH: /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0
PATH: /usr/lib/lapack
PATH: /usr/openwin/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2136: checking build system type
configure:2154: result: i686-pc-cygwin
configure:2176: checking host system type
configure:2191: result: i686-pc-cygwin
configure:2261: checking for gcc
configure:2277: found /usr/bin/gcc
configure:2288: result: gcc
configure:2526: checking for C compiler version
configure:2533: gcc --version >&5
gcc (GCC) 4.8.3
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:2536: $? = 0
configure:2543: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-cygwin/4.8.3/lto-wrapper.exe
Target: i686-pc-cygwin
Configured with: /cygdrive/i/szsz/tmpp/gcc4/gcc-4.8.3-1/src/gcc-4.8.3/configure --srcdir=/cygdrive/i/szsz/tmpp/gcc4/gcc-4.8.3-1/src/gcc-4.8.3 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --localstatedir=/var --sysconfdir=/etc --libdir=/usr/lib --datarootdir=/usr/share --docdir=/usr/share/doc/gcc --htmldir=/usr/share/doc/gcc/html -C --build=i686-pc-cygwin --host=i686-pc-cygwin --target=i686-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --disable-__cxa_atexit --with-dwarf2 --with-arch=i686 --with-tune=generic --disable-sjlj-exceptions --enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++ --enable-graphite --enable-threads=posix --enable-libatomic --enable-libgomp --disable-libitm --enable-libquadmath --enable-libquadmath-support --enable-libssp --enable-libada --enable-libjava --enable-libgcj-sublibs --disable-java-awt --disable-symvers --with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix --without-libintl-prefix --with-system-zlib --libexecdir=/usr/lib
Thread model: posix
gcc version 4.8.3 (GCC)
configure:2546: $? = 0
configure:2553: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:2556: $? = 1
configure:2579: checking for C compiler default output file name
configure:2606: gcc conftest.c >&5
configure:2609: $? = 0
configure:2647: result: a.exe
configure:2664: checking whether the C compiler works
configure:2674: ./a.exe
configure:2677: $? = 0
configure:2694: result: yes
configure:2701: checking whether we are cross compiling
configure:2703: result: no
configure:2706: checking for suffix of executables
configure:2713: gcc -o conftest.exe conftest.c >&5
configure:2716: $? = 0
configure:2740: result: .exe
configure:2746: checking for suffix of object files
configure:2772: gcc -c conftest.c >&5
configure:2775: $? = 0
configure:2798: result: o
configure:2802: checking whether we are using the GNU C compiler
configure:2831: gcc -c conftest.c >&5
configure:2837: $? = 0
configure:2854: result: yes
configure:2859: checking whether gcc accepts -g
configure:2889: gcc -c -g conftest.c >&5
configure:2895: $? = 0
configure:2994: result: yes
configure:3011: checking for gcc option to accept ISO C89
configure:3085: gcc -c -g -O2 conftest.c >&5
configure:3091: $? = 0
configure:3114: result: none needed
configure:3132: checking for a sed that does not truncate output
configure:3211: result: /usr/bin/sed
configure:3229: checking for grep that handles long lines and -e
configure:3303: result: /usr/bin/grep
configure:3308: checking for egrep
configure:3386: result: /usr/bin/grep -E
configure:3391: checking for fgrep
configure:3469: result: /usr/bin/grep -F
configure:3504: checking for ld used by gcc
configure:3571: result: /usr/i686-pc-cygwin/bin/ld.exe
configure:3580: checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld
configure:3595: result: yes
configure:3607: checking for BSD- or MS-compatible name lister (nm)
configure:3656: result: /usr/bin/nm -B
configure:3778: checking the name lister (/usr/bin/nm -B) interface
configure:3785: gcc -c -g -O2 conftest.c >&5
configure:3788: /usr/bin/nm -B "conftest.o"
configure:3791: output
00000000 b .bss
00000000 d .data
00000000 N .debug_abbrev
00000000 N .debug_aranges
00000000 N .debug_info
00000000 N .debug_line
00000000 r .rdata$zzz
00000000 t .text
00000000 B _some_variable
configure:3798: result: BSD nm
configure:3801: checking whether ln -s works
configure:3805: result: yes
configure:3813: checking the maximum length of command line arguments
configure:3939: result: 8192
configure:3956: checking whether the shell understands some XSI constructs
configure:3966: result: yes
configure:3970: checking whether the shell understands "+="
configure:3976: result: yes
configure:4011: checking for /usr/i686-pc-cygwin/bin/ld.exe option to reload object files
configure:4018: result: -r
configure:4087: checking for objdump
configure:4103: found /usr/bin/objdump
configure:4114: result: objdump
configure:4147: checking how to recognize dependent libraries
configure:4345: result: pass_all
configure:4405: checking for ar
configure:4421: found /usr/bin/ar
configure:4432: result: ar
configure:4514: checking for strip
configure:4530: found /usr/bin/strip
configure:4541: result: strip
configure:4617: checking for ranlib
configure:4633: found /usr/bin/ranlib
configure:4644: result: ranlib
configure:4738: checking command to parse /usr/bin/nm -B output from gcc object
configure:4856: gcc -c -g -O2 conftest.c >&5
configure:4859: $? = 0
configure:4863: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm
configure:4866: $? = 0
cannot find nm_test_var in conftest.nm
configure:4856: gcc -c -g -O2 conftest.c >&5
configure:4859: $? = 0
configure:4863: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' \> conftest.nm
configure:4866: $? = 0
configure:4920: gcc -o conftest.exe -g -O2 conftest.c conftstm.o >&5
configure:4923: $? = 0
configure:4961: result: ok
configure:5840: checking how to run the C preprocessor
configure:5880: gcc -E conftest.c
configure:5886: $? = 0
configure:5917: gcc -E conftest.c
conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^
compilation terminated.
configure:5923: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:5956: result: gcc -E
configure:5985: gcc -E conftest.c
configure:5991: $? = 0
configure:6022: gcc -E conftest.c
conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^
compilation terminated.
configure:6028: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:6066: checking for ANSI C header files
configure:6096: gcc -c -g -O2 conftest.c >&5
configure:6102: $? = 0
configure:6201: gcc -o conftest.exe -g -O2 conftest.c >&5
configure:6204: $? = 0
configure:6210: ./conftest.exe
configure:6213: $? = 0
configure:6230: result: yes
configure:6254: checking for sys/types.h
configure:6275: gcc -c -g -O2 conftest.c >&5
configure:6281: $? = 0
configure:6297: result: yes
configure:6254: checking for sys/stat.h
configure:6275: gcc -c -g -O2 conftest.c >&5
configure:6281: $? = 0
configure:6297: result: yes
configure:6254: checking for stdlib.h
configure:6275: gcc -c -g -O2 conftest.c >&5
configure:6281: $? = 0
configure:6297: result: yes
configure:6254: checking for string.h
configure:6275: gcc -c -g -O2 conftest.c >&5
configure:6281: $? = 0
configure:6297: result: yes
configure:6254: checking for memory.h
configure:6275: gcc -c -g -O2 conftest.c >&5
configure:6281: $? = 0
configure:6297: result: yes
configure:6254: checking for strings.h
configure:6275: gcc -c -g -O2 conftest.c >&5
configure:6281: $? = 0
configure:6297: result: yes
configure:6254: checking for inttypes.h
configure:6275: gcc -c -g -O2 conftest.c >&5
configure:6281: $? = 0
configure:6297: result: yes
configure:6254: checking for stdint.h
configure:6275: gcc -c -g -O2 conftest.c >&5
configure:6281: $? = 0
configure:6297: result: yes
configure:6254: checking for unistd.h
configure:6275: gcc -c -g -O2 conftest.c >&5
configure:6281: $? = 0
configure:6297: result: yes
configure:6313: checking for dlfcn.h
configure:6334: gcc -c -g -O2 conftest.c >&5
configure:6340: $? = 0
configure:6356: result: yes
configure:6417: checking for as
configure:6433: found /usr/bin/as
configure:6444: result: as
configure:6513: checking for dlltool
configure:6529: found /usr/bin/dlltool
configure:6540: result: dlltool
configure:6609: checking for objdump
configure:6636: result: objdump
configure:6850: checking for objdir
configure:6865: result: .libs
configure:7161: checking if gcc supports -fno-rtti -fno-exceptions
configure:7179: gcc -c -g -O2 -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:7183: $? = 0
configure:7196: result: no
configure:7216: checking for gcc option to produce PIC
configure:7488: result: -DDLL_EXPORT -DPIC
configure:7500: checking if gcc PIC flag -DDLL_EXPORT -DPIC works
configure:7518: gcc -c -g -O2 -DDLL_EXPORT -DPIC -DPIC conftest.c >&5
configure:7522: $? = 0
configure:7535: result: yes
configure:7559: checking if gcc static flag -static works
configure:7587: result: yes
configure:7602: checking if gcc supports -c -o file.o
configure:7623: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5
configure:7627: $? = 0
configure:7649: result: yes
configure:7657: checking if gcc supports -c -o file.o
configure:7704: result: yes
configure:7737: checking whether the gcc linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared libraries
configure:8799: result: yes
configure:8836: checking whether -lc should be explicitly linked in
configure:8841: gcc -c -g -O2 conftest.c >&5
configure:8844: $? = 0
configure:8859: gcc -shared conftest.o -v -o ./conftest -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker conftest 2\>\&1 \| /usr/bin/grep -lc \>/dev/null 2\>\&1
configure:8862: $? = 1
configure:8874: result: yes
configure:9038: checking dynamic linker characteristics
configure:9719: result: Win32 ld.exe
configure:9821: checking how to hardcode library paths into programs
configure:9846: result: immediate
configure:10651: checking whether stripping libraries is possible
configure:10656: result: yes
configure:10691: checking if libtool supports shared libraries
configure:10693: result: yes
configure:10696: checking whether to build shared libraries
configure:10717: result: yes
configure:10720: checking whether to build static libraries
configure:10724: result: yes
configure:10802: checking whether byte ordering is bigendian
configure:10835: gcc -c -g -O2 conftest.c >&5
configure:10841: $? = 0
configure:10873: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:28:2: error: unknown type name 'not'
not big endian
^
conftest.c:28:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'endian'
not big endian
^
configure:10879: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| #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 <sys/types.h>
| #include <sys/param.h>
|
| int
| main ()
| {
| #if BYTE_ORDER != BIG_ENDIAN
| not big endian
| #endif
|
| ;
| return 0;
| }
configure:11019: result: no
configure:11099: checking for gcc
configure:11126: result: gcc
configure:11364: checking for C compiler version
configure:11371: gcc --version >&5
gcc (GCC) 4.8.3
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:11374: $? = 0
configure:11381: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-cygwin/4.8.3/lto-wrapper.exe
Target: i686-pc-cygwin
Configured with: /cygdrive/i/szsz/tmpp/gcc4/gcc-4.8.3-1/src/gcc-4.8.3/configure --srcdir=/cygdrive/i/szsz/tmpp/gcc4/gcc-4.8.3-1/src/gcc-4.8.3 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --localstatedir=/var --sysconfdir=/etc --libdir=/usr/lib --datarootdir=/usr/share --docdir=/usr/share/doc/gcc --htmldir=/usr/share/doc/gcc/html -C --build=i686-pc-cygwin --host=i686-pc-cygwin --target=i686-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --disable-__cxa_atexit --with-dwarf2 --with-arch=i686 --with-tune=generic --disable-sjlj-exceptions --enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++ --enable-graphite --enable-threads=posix --enable-libatomic --enable-libgomp --disable-libitm --enable-libquadmath --enable-libquadmath-support --enable-libssp --enable-libada --enable-libjava --enable-libgcj-sublibs --disable-java-awt --disable-symvers --with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix --without-libintl-prefix --with-system-zlib --libexecdir=/usr/lib
Thread model: posix
gcc version 4.8.3 (GCC)
configure:11384: $? = 0
configure:11391: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:11394: $? = 1
configure:11397: checking whether we are using the GNU C compiler
configure:11449: result: yes
configure:11454: checking whether gcc accepts -g
configure:11589: result: yes
configure:11606: checking for gcc option to accept ISO C89
configure:11709: result: none needed
configure:11785: checking for g++
configure:11801: found /usr/bin/g++
configure:11812: result: g++
configure:11843: checking for C++ compiler version
configure:11850: g++ --version >&5
g++ (GCC) 4.8.3
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:11853: $? = 0
configure:11860: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-cygwin/4.8.3/lto-wrapper.exe
Target: i686-pc-cygwin
Configured with: /cygdrive/i/szsz/tmpp/gcc4/gcc-4.8.3-1/src/gcc-4.8.3/configure --srcdir=/cygdrive/i/szsz/tmpp/gcc4/gcc-4.8.3-1/src/gcc-4.8.3 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --localstatedir=/var --sysconfdir=/etc --libdir=/usr/lib --datarootdir=/usr/share --docdir=/usr/share/doc/gcc --htmldir=/usr/share/doc/gcc/html -C --build=i686-pc-cygwin --host=i686-pc-cygwin --target=i686-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --disable-__cxa_atexit --with-dwarf2 --with-arch=i686 --with-tune=generic --disable-sjlj-exceptions --enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++ --enable-graphite --enable-threads=posix --enable-libatomic --enable-libgomp --disable-libitm --enable-libquadmath --enable-libquadmath-support --enable-libssp --enable-libada --enable-libjava --enable-libgcj-sublibs --disable-java-awt --disable-symvers --with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix --without-libintl-prefix --with-system-zlib --libexecdir=/usr/lib
Thread model: posix
gcc version 4.8.3 (GCC)
configure:11863: $? = 0
configure:11870: g++ -V >&5
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:11873: $? = 1
configure:11876: checking whether we are using the GNU C++ compiler
configure:11905: g++ -c conftest.cpp >&5
configure:11911: $? = 0
configure:11928: result: yes
configure:11933: checking whether g++ accepts -g
configure:11963: g++ -c -g conftest.cpp >&5
configure:11969: $? = 0
configure:12068: result: yes
configure:12208: checking for C++ compiler version
configure:12215: g++ --version >&5
g++ (GCC) 4.8.3
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:12218: $? = 0
configure:12225: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-cygwin/4.8.3/lto-wrapper.exe
Target: i686-pc-cygwin
Configured with: /cygdrive/i/szsz/tmpp/gcc4/gcc-4.8.3-1/src/gcc-4.8.3/configure --srcdir=/cygdrive/i/szsz/tmpp/gcc4/gcc-4.8.3-1/src/gcc-4.8.3 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --localstatedir=/var --sysconfdir=/etc --libdir=/usr/lib --datarootdir=/usr/share --docdir=/usr/share/doc/gcc --htmldir=/usr/share/doc/gcc/html -C --build=i686-pc-cygwin --host=i686-pc-cygwin --target=i686-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --disable-__cxa_atexit --with-dwarf2 --with-arch=i686 --with-tune=generic --disable-sjlj-exceptions --enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++ --enable-graphite --enable-threads=posix --enable-libatomic --enable-libgomp --disable-libitm --enable-libquadmath --enable-libquadmath-support --enable-libssp --enable-libada --enable-libjava --enable-libgcj-sublibs --disable-java-awt --disable-symvers --with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix --without-libintl-prefix --with-system-zlib --libexecdir=/usr/lib
Thread model: posix
gcc version 4.8.3 (GCC)
configure:12228: $? = 0
configure:12235: g++ -V >&5
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:12238: $? = 1
configure:12241: checking whether we are using the GNU C++ compiler
configure:12293: result: yes
configure:12298: checking whether g++ accepts -g
configure:12433: result: yes
configure:12464: checking how to run the C++ preprocessor
configure:12500: g++ -E conftest.cpp
configure:12506: $? = 0
configure:12537: g++ -E conftest.cpp
conftest.cpp:22:28: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^
compilation terminated.
configure:12543: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| #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 SDL_BYTEORDER 1234
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:12576: result: g++ -E
configure:12605: g++ -E conftest.cpp
configure:12611: $? = 0
configure:12642: g++ -E conftest.cpp
conftest.cpp:22:28: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^
compilation terminated.
configure:12648: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| #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 SDL_BYTEORDER 1234
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:12822: checking for ld used by g++
configure:12889: result: /usr/i686-pc-cygwin/bin/ld.exe
configure:12898: checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld
configure:12913: result: yes
configure:12968: checking whether the g++ linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared libraries
configure:13935: result: yes
configure:13963: g++ -c -g -O2 conftest.cpp >&5
configure:13966: $? = 0
configure:14148: checking for g++ option to produce PIC
configure:14465: result: -DDLL_EXPORT -DPIC
configure:14474: checking if g++ PIC flag -DDLL_EXPORT -DPIC works
configure:14492: g++ -c -g -O2 -DDLL_EXPORT -DPIC -DPIC conftest.cpp >&5
configure:14496: $? = 0
configure:14509: result: yes
configure:14530: checking if g++ static flag -static works
configure:14558: result: yes
configure:14570: checking if g++ supports -c -o file.o
configure:14591: g++ -c -g -O2 -o out/conftest2.o conftest.cpp >&5
configure:14595: $? = 0
configure:14617: result: yes
configure:14622: checking if g++ supports -c -o file.o
configure:14669: result: yes
configure:14699: checking whether the g++ linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared libraries
configure:14725: result: yes
configure:14862: checking dynamic linker characteristics
configure:15491: result: Win32 ld.exe
configure:15542: checking how to hardcode library paths into programs
configure:15567: result: immediate
configure:15619: checking for a BSD-compatible install
configure:15675: result: /usr/bin/install -c
configure:15686: checking whether make sets $(MAKE)
configure:15707: result: yes
configure:15759: checking for windres
configure:15775: found /usr/bin/windres
configure:15786: result: windres
configure:15873: checking for an ANSI C-conforming const
configure:15948: gcc -c -g -O2 -I./include -I/usr/include/mingw -I./include -I/usr/include/mingw conftest.c >&5
configure:15954: $? = 0
configure:15969: result: yes
configure:15979: checking for inline
configure:16005: gcc -c -g -O2 -I./include -I/usr/include/mingw -I./include -I/usr/include/mingw conftest.c >&5
configure:16011: $? = 0
configure:16029: result: inline
configure:16048: checking for working volatile
configure:16077: gcc -c -g -O2 -I./include -I/usr/include/mingw -I./include -I/usr/include/mingw conftest.c >&5
configure:16083: $? = 0
configure:16098: result: yes
configure:16122: checking for ANSI C header files
configure:16286: result: yes
configure:16315: checking for sys/types.h
configure:16321: result: yes
configure:16325: checking stdio.h usability
configure:16342: gcc -c -g -O2 -I./include -I/usr/include/mingw -I./include -I/usr/include/mingw conftest.c >&5
configure:16348: $? = 0
configure:16362: result: yes
configure:16366: checking stdio.h presence
configure:16381: gcc -E -I./include -I/usr/include/mingw conftest.c
configure:16387: $? = 0
configure:16401: result: yes
configure:16429: checking for stdio.h
configure:16437: result: yes
configure:16315: checking for stdlib.h
configure:16321: result: yes
configure:16325: checking stddef.h usability
configure:16342: gcc -c -g -O2 -I./include -I/usr/include/mingw -I./include -I/usr/include/mingw conftest.c >&5
configure:16348: $? = 0
configure:16362: result: yes
configure:16366: checking stddef.h presence
configure:16381: gcc -E -I./include -I/usr/include/mingw conftest.c
configure:16387: $? = 0
configure:16401: result: yes
configure:16429: checking for stddef.h
configure:16437: result: yes
configure:16325: checking stdarg.h usability
configure:16342: gcc -c -g -O2 -I./include -I/usr/include/mingw -I./include -I/usr/include/mingw conftest.c >&5
configure:16348: $? = 0
configure:16362: result: yes
configure:16366: checking stdarg.h presence
configure:16381: gcc -E -I./include -I/usr/include/mingw conftest.c
configure:16387: $? = 0
configure:16401: result: yes
configure:16429: checking for stdarg.h
configure:16437: result: yes
configure:16325: checking malloc.h usability
configure:16342: gcc -c -g -O2 -I./include -I/usr/include/mingw -I./include -I/usr/include/mingw conftest.c >&5
configure:16348: $? = 0
configure:16362: result: yes
configure:16366: checking malloc.h presence
configure:16381: gcc -E -I./include -I/usr/include/mingw conftest.c
configure:16387: $? = 0
configure:16401: result: yes
configure:16429: checking for malloc.h
configure:16437: result: yes
configure:16315: checking for memory.h
configure:16321: result: yes
configure:16315: checking for string.h
configure:16321: result: yes
configure:16315: checking for strings.h
configure:16321: result: yes
configure:16315: checking for inttypes.h
configure:16321: result: yes
configure:16315: checking for stdint.h
configure:16321: result: yes
configure:16325: checking ctype.h usability
configure:16342: gcc -c -g -O2 -I./include -I/usr/include/mingw -I./include -I/usr/include/mingw conftest.c >&5
configure:16348: $? = 0
configure:16362: result: yes
configure:16366: checking ctype.h presence
configure:16381: gcc -E -I./include -I/usr/include/mingw conftest.c
configure:16387: $? = 0
configure:16401: result: yes
configure:16429: checking for ctype.h
configure:16437: result: yes
configure:16325: checking math.h usability
configure:16342: gcc -c -g -O2 -I./include -I/usr/include/mingw -I./include -I/usr/include/mingw conftest.c >&5
configure:16348: $? = 0
configure:16362: result: yes
configure:16366: checking math.h presence
configure:16381: gcc -E -I./include -I/usr/include/mingw conftest.c
configure:16387: $? = 0
configure:16401: result: yes
configure:16429: checking for math.h
configure:16437: result: yes
configure:16325: checking iconv.h usability
configure:16342: gcc -c -g -O2 -I./include -I/usr/include/mingw -I./include -I/usr/include/mingw conftest.c >&5
configure:16348: $? = 0
configure:16362: result: yes
configure:16366: checking iconv.h presence
configure:16381: gcc -E -I./include -I/usr/include/mingw conftest.c
configure:16387: $? = 0
configure:16401: result: yes
configure:16429: checking for iconv.h
configure:16437: result: yes
configure:16325: checking signal.h usability
configure:16342: gcc -c -g -O2 -I./include -I/usr/include/mingw -I./include -I/usr/include/mingw conftest.c >&5
configure:16348: $? = 0
configure:16362: result: yes
configure:16366: checking signal.h presence
configure:16381: gcc -E -I./include -I/usr/include/mingw conftest.c
configure:16387: $? = 0
configure:16401: result: yes
configure:16429: checking for signal.h
configure:16437: result: yes
configure:16451: checking for size_t
configure:16481: gcc -c -g -O2 -I./include -I/usr/include/mingw -I./include -I/usr/include/mingw conftest.c >&5
configure:16487: $? = 0
configure:16502: result: yes
configure:16515: checking for int64_t
configure:16545: gcc -c -g -O2 -I./include -I/usr/include/mingw -I./include -I/usr/include/mingw conftest.c >&5
configure:16551: $? = 0
configure:16566: result: yes
configure:16944: checking for working memcmp
configure:16997: gcc -o conftest.exe -g -O2 -I./include -I/usr/include/mingw -I./include -I/usr/include/mingw - conftest.c >&5
gcc: error: -E or -x required when input is from standard input
configure:17000: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| #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 SDL_BYTEORDER 1234
| #define HAVE_LIBC 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_MATH_H 1
| #define HAVE_ICONV_H 1
| #define HAVE_SIGNAL_H 1
| #define SDL_HAS_64BIT_TYPE 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 ()
| {
|
| /* Some versions of memcmp are not 8-bit clean. */
| char c0 = '\100', c1 = '\200', c2 = '\201';
| if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
| return 1;
|
| /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
| or more and with at least one buffer not starting on a 4-byte boundary.
| William Lewis provided this test program. */
| {
| char foo[21];
| char bar[21];
| int i;
| for (i = 0; i < 4; i++)
| {
| char *a = foo + i;
| char *b = bar + i;
| strcpy (a, "--------01111111");
| strcpy (b, "--------10000000");
| if (memcmp (a, b, 16) >= 0)
| return 1;
| }
| return 0;
| }
|
| ;
| return 0;
| }
configure:17025: result: no
configure:17040: checking for working strtod
configure:17091: gcc -o conftest.exe -g -O2 -I./include -I/usr/include/mingw -I./include -I/usr/include/mingw - conftest.c >&5
gcc: error: -E or -x required when input is from standard input
configure:17094: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| #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 SDL_BYTEORDER 1234
| #define HAVE_LIBC 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_MATH_H 1
| #define HAVE_ICONV_H 1
| #define HAVE_SIGNAL_H 1
| #define SDL_HAS_64BIT_TYPE 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
| #ifndef strtod
| double strtod ();
| #endif
| int
| main()
| {
| {
| /* Some versions of Linux strtod mis-parse strings with leading '+'. */
| char *string = " +69";
| char *term;
| double value;
| value = strtod (string, &term);
| if (value != 69 || term != (string + 4))
| return 1;
| }
|
| {
| /* Under Solaris 2.4, strtod returns the wrong value for the
| terminating character under some conditions. */
| char *string = "NaN";
| char *term;
| strtod (string, &term);
| if (term != string && *(term - 1) == 0)
| return 1;
| }
| return 0;
| }
|
configure:17119: result: no
configure:17128: checking for pow
configure:17184: gcc -o conftest.exe -g -O2 -I./include -I/usr/include/mingw -I./include -I/usr/include/mingw - conftest.c >&5
gcc: error: -E or -x required when input is from standard input
conftest.c:63:6: warning: conflicting types for built-in function 'pow' [enabled by default]
char pow ();
^
configure:17190: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| #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 SDL_BYTEORDER 1234
| #define HAVE_LIBC 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_MATH_H 1
| #define HAVE_ICONV_H 1
| #define HAVE_SIGNAL_H 1
| #define SDL_HAS_64BIT_TYPE 1
| /* end confdefs.h. */
| /* Define pow to an innocuous variant, in case <limits.h> declares pow.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define pow innocuous_pow
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char pow (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef pow
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char pow ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined __stub_pow || defined __stub___pow
| choke me
| #endif
|
| int
| main ()
| {
| return pow ();
| ;
| return 0;
| }
configure:17207: result: no
configure:17211: checking for pow in -lm
configure:17246: gcc -o conftest.exe -g -O2 -I./include -I/usr/include/mingw -I./include -I/usr/include/mingw - conftest.c -lm >&5
gcc: error: -E or -x required when input is from standard input
conftest.c:47:6: warning: conflicting types for built-in function 'pow' [enabled by default]
char pow ();
^
configure:17252: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| #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 SDL_BYTEORDER 1234
| #define HAVE_LIBC 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_MATH_H 1
| #define HAVE_ICONV_H 1
| #define HAVE_SIGNAL_H 1
| #define SDL_HAS_64BIT_TYPE 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char pow ();
| int
| main ()
| {
| return pow ();
| ;
| return 0;
| }
configure:17270: result: no
configure:17275: WARNING: cannot find library containing definition of pow
configure:17289: checking for mprotect
configure:17345: gcc -o conftest.exe -g -O2 -I./include -I/usr/include/mingw -I./include -I/usr/include/mingw - conftest.c >&5
gcc: error: -E or -x required when input is from standard input
configure:17351: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| #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 SDL_BYTEORDER 1234
| #define HAVE_LIBC 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_MATH_H 1
| #define HAVE_ICONV_H 1
| #define HAVE_SIGNAL_H 1
| #define SDL_HAS_64BIT_TYPE 1
| /* end confdefs.h. */
| /* Define mprotect to an innocuous variant, in case <limits.h> declares mprotect.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define mprotect innocuous_mprotect
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char mprotect (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef mprotect
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char mprotect ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined __stub_mprotect || defined __stub___mprotect
| choke me
| #endif
|
| int
| main ()
| {
| return mprotect ();
| ;
| return 0;
| }
configure:17368: result: no
configure:17474: checking for malloc
configure:17530: gcc -o conftest.exe -g -O2 -I./include -I/usr/include/mingw -I./include -I/usr/include/mingw - conftest.c >&5
gcc: error: -E or -x required when input is from standard input
conftest.c:63:6: warning: conflicting types for built-in function 'malloc' [enabled by default]
char malloc ();
^
configure:17536: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| #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 SDL_BYTEORDER 1234
| #define HAVE_LIBC 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_MATH_H 1
| #define HAVE_ICONV_H 1
| #define HAVE_SIGNAL_H 1
| #define SDL_HAS_64BIT_TYPE 1
| /* end confdefs.h. */
| /* Define malloc to an innocuous variant, in case <limits.h> declares malloc.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define malloc innocuous_malloc
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char malloc (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef malloc
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char malloc ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined __stub_malloc || defined __stub___malloc
| choke me
| #endif
|
| int
| main ()
| {
| return malloc ();
| ;
| return 0;
| }
configure:17554: result: no
configure:17474: checking for calloc
configure:17530: gcc -o conftest.exe -g -O2 -I./include -I/usr/include/mingw -I./include -I/usr/include/mingw - conftest.c >&5
gcc: error: -E or -x required when input is from standard input
conftest.c:63:6: warning: conflicting types for built-in function 'calloc' [enabled by default]
char calloc ();
^
configure:17536: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| #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 SDL_BYTEORDER 1234
| #define HAVE_LIBC 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_MATH_H 1
| #define HAVE_ICONV_H 1
| #define HAVE_SIGNAL_H 1
| #define SDL_HAS_64BIT_TYPE 1
| /* end confdefs.h. */
| /* Define calloc to an innocuous variant, in case <limits.h> declares calloc.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define calloc innocuous_calloc
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char calloc (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef calloc
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char calloc ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined __stub_calloc || defined __stub___calloc
| choke me
| #endif
|
| int
| main ()
| {
| return calloc ();
| ;
| return 0;
| }
configure:17554: result: no
configure:17474: checking for realloc
configure:17530: gcc -o conftest.exe -g -O2 -I./include -I/usr/include/mingw -I./include -I/usr/include/mingw - conftest.c >&5
gcc: error: -E or -x required when input is from standard input
conftest.c:63:6: warning: conflicting types for built-in function 'realloc' [enabled by default]
char realloc ();
^
configure:17536: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| #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 SDL_BYTEORDER 1234
| #define HAVE_LIBC 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_MATH_H 1
| #define HAVE_ICONV_H 1
| #define HAVE_SIGNAL_H 1
| #define SDL_HAS_64BIT_TYPE 1
| /* end confdefs.h. */
| /* Define realloc to an innocuous variant, in case <limits.h> declares realloc.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define realloc innocuous_realloc
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char realloc (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef realloc
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char realloc ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined __stub_realloc || defined __stub___realloc
| choke me
| #endif
|
| int
| main ()
| {
| return realloc ();
| ;
| return 0;
| }
configure:17554: result: no
configure:17474: checking for free
configure:17530: gcc -o conftest.exe -g -O2 -I./include -I/usr/include/mingw -I./include -I/usr/include/mingw - conftest.c >&5
gcc: error: -E or -x required when input is from standard input
conftest.c:63:6: warning: conflicting types for built-in function 'free' [enabled by default]
char free ();
^
configure:17536: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| #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 SDL_BYTEORDER 1234
| #define HAVE_LIBC 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_MATH_H 1
| #define HAVE_ICONV_H 1
| #define HAVE_SIGNAL_H 1
| #define SDL_HAS_64BIT_TYPE 1
| /* end confdefs.h. */
| /* Define free to an innocuous variant, in case <limits.h> declares free.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define free innocuous_free
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char free (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef free
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char free ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined __stub_free || defined __stub___free
| choke me
| #endif
|
| int
| main ()
| {
| return free ();
| ;
| return 0;
| }
configure:17554: result: no
configure:17474: checking for getenv
configure:17530: gcc -o conftest.exe -g -O2 -I./include -I/usr/include/mingw -I./include -I/usr/include/mingw - conftest.c >&5
gcc: error: -E or -x required when input is from standard input
configure:17536: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| #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 SDL_BYTEORDER 1234
| #define HAVE_LIBC 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_MATH_H 1
| #define HAVE_ICONV_H 1
| #define HAVE_SIGNAL_H 1
| #define SDL_HAS_64BIT_TYPE 1
| /* end confdefs.h. */
| /* Define getenv to an innocuous variant, in case <limits.h> declares getenv.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define getenv innocuous_getenv
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char getenv (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef getenv
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char getenv ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined __stub_getenv || defined __stub___getenv
| choke me
| #endif
|
| int
| main ()
| {
| return getenv ();
| ;
| return 0;
| }
configure:17554: result: no
configure:17474: checking for putenv
configure:17530: gcc -o conftest.exe -g -O2 -I./include -I/usr/include/mingw -I./include -I/usr/include/mingw - conftest.c >&5
gcc: error: -E or -x required when input is from standard input
configure:17536: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| #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 SDL_BYTEORDER 1234
| #define HAVE_LIBC 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_MEMO
Jimothey


Joined: 02 Jun 2014
Posts: 8
sorry. the config.log was supposed to be in a Code tag. I will repost if the information needed is not seen.
the error at the end is 77
configure: error: cannot compute sizeof (void *)
Juan Manuel Borges Caño
Guest

This is not how we work, and not usefull at all. You'll understand; we need the error log, yeah, but the really meaningfull error is the first one, that comes with some describing text, etc... We do not carry an error table her and there, mainly because computers could translate it automatically, $ explainconfigureerror 77 Wink and so programmers do it.by design. Opaque errors like that, from experience, usually means some issue with the compiler, IN GENERAL, say it is aliased to a command that can't even compile, say the platform environment flag is totally weird, ... think about why it's not in an standard behaviour. Still, first error marks the status, as any further error could be derived from it & hence fake or ghost (programmers should start to think about handling that Wink). If you still consider an standard or valid compiler setting, seems like canadian cross compiling, from one system to another with a wrong arch flag, we usually can parse an actual screen log of the issued command with a background about the purpose and the switches made to the defaults.
P.S.: I got this one mail as another thread, but i remember having a extremely long configure output days ago posted. Remember, firsts error mark the difference.
:-) El 10/06/2014 13:44, "Jimothey" escribió:
Quote:
sorry. the config.log was supposed to be in a Code tag. I will repost if the information needed is not seen.
the error at the end is 77


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Jimothey


Joined: 02 Jun 2014
Posts: 8
My apologies. Smile I'm completely new to this, so don't know what I'm looking for.
I have uploaded thecomplete config.log here.
Would it be worth uploading the configure script aswell?

Please, if there is anything else you require, I will be more than happy to supply it. Smile
configure: error: cannot compute sizeof (void *)
Sam Lantinga


Joined: 10 Sep 2009
Posts: 1765
It looks like something added "-" to the configure flags.  The best way to track it down is to add:set -x
to the top of the configure script, and then log the complete output.



On Wed, Jun 11, 2014 at 2:18 PM, Jimothey wrote:
Quote:
My apologies. I'm completely new to this, so don't know what I'm looking for.
I have uploaded thecomplete config.log here.
Would it be worth uploading the configure script aswell?

Please, if there is anything else you require, I will be more than happy to supply it.


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Jimothey


Joined: 02 Jun 2014
Posts: 8
Thank you very much for your reply.

I added 'set -x' to the beginning of the configure script (before the #!)

I have uploaded the config.log for your perusal
https://www.dropbox.com/s/rcnrz4gw504r62l/config.log
configure: error: cannot compute sizeof (void *)
Sam Lantinga


Joined: 10 Sep 2009
Posts: 1765
I have no idea why you're getting that stray '-' in the compiler flags, sorry. I'm guessing some quirk of your cygwin compile environment.


On Mon, Jun 16, 2014 at 1:49 PM, Jimothey wrote:
Quote:
Thank you very much for your reply.

I added 'set -x' to the beginning of the configure script (before the #!)

I have uploaded the config.log for your perusal
https://www.dropbox.com/s/rcnrz4gw504r62l/config.log


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org