Vegastrike 0.4.3 compile script errors + problems on PPC

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).
Post Reply
dholm
Insys Pilot
Insys Pilot
Posts: 2
Joined: Wed Feb 16, 2005 12:31 pm
Location: Gothenburg, Sweden
Contact:

Vegastrike 0.4.3 compile script errors + problems on PPC

Post by dholm »

Hi,
I'm trying to compile Vegastrike 0.4.3 on my Gentoo/PPC system by using your provided compile script.

The first problem I experienced is that the compile script sets VERSION to vegastrike_043 but the actual CVS tag is vegastrike_0_4_3. By changing this it was able to check out all the files and start compiling.

The next problem is in vegastrike/objconv/mesher/endianness.cpp where I got:

Code: Select all

if g++ -DHAVE_CONFIG_H -I. -I. -I../..   -DHAVE_SDL=1 -DSDL_WINDOWING=1        -DHAVE_SDL=1 -DSDL_WINDOWING=1      -DHAVE_AL=1  -DHAVE_OGG    -I/usr/include/python2.3 -DHAVE_PYTHON=1  -DUSE_BOOST_131=1 -I../../src/boost129  -I../../src   -pipe  -O2 -ffast-math -falign-loops=2 -falign-jumps=2 -falign-functions=2  -I/usr/include/SDL -D_REENTRANT -pthread -pipe -MT endianness.o -MD -MP -MF ".deps/endianness.Tpo" -c -o endianness.o endianness.cpp; \
then mv -f ".deps/endianness.Tpo" ".deps/endianness.Po"; else rm -f ".deps/endianness.Tpo"; exit 1; fi
endianness.cpp: In function `double VSSwapHostDoubleToLittle(double)':
endianness.cpp:17: error: `DONTUSE__NXSwapBigDoubleToLittle' undeclared (first use this function)
My config.log:

Code: Select all

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by vegastrike configure 0.4.0, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --enable-release

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

hostname = magincia
uname -m = ppc
uname -r = 2.6.10-pegasos-r2
uname -s = Linux
uname -v = #1 Sun Jan 16 13:30:21 CET 2005

/usr/bin/uname -p = 7447/7457, altivec supported

/bin/uname -X     = unknown

/bin/arch              = ppc
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /opt/bin
PATH: /usr/powerpc-unknown-linux-gnu/gcc-bin/3.4.3
PATH: /opt/ibm-jdk-bin-1.4.2/bin
PATH: /opt/ibm-jdk-bin-1.4.2/jre/bin
PATH: /usr/qt/3/bin
PATH: /usr/kde/3.3/bin
PATH: /usr/games/bin


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

configure:1392: checking Checking for C++ compiler.
configure:1441: checking for g++
configure:1457: found /usr/bin/g++
configure:1467: result: g++
configure:1582: checking for C++ compiler version
configure:1585: g++ --version </dev/null >&5
g++ (GCC) 3.4.3 20050110 (Gentoo Linux 3.4.3.20050110, ssp-3.4.3.20050110-0, pie-8.7.7)
Copyright (C) 2004 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:1588: $? = 0
configure:1590: g++ -v </dev/null >&5
Reading specs from /usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.3/specs
Configured with: /var/tmp/portage/gcc-3.4.3.20050110/work/gcc-3.4.3/configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/powerpc-unknown-linux-gnu/gcc-bin/3.4.3 --includedir=/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.3/include --datadir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/3.4.3 --mandir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/3.4.3/man --infodir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/3.4.3/info --with-gxx-include-dir=/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.3/include/g++-v3 --host=powerpc-unknown-linux-gnu --enable-altivec --disable-nls --enable-__cxa_atexit --enable-clocale=gnu --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-shared --enable-threads=posix --disable-libgcj --enable-languages=c,c++,f77,objc
Thread model: posix
gcc version 3.4.3 20050110 (Gentoo Linux 3.4.3.20050110, ssp-3.4.3.20050110-0, pie-8.7.7)
configure:1593: $? = 0
configure:1595: g++ -V </dev/null >&5
g++: `-V' option must have argument
configure:1598: $? = 1
configure:1621: checking for C++ compiler default output file name
configure:1624: g++    conftest.cc  >&5
configure:1627: $? = 0
configure:1673: result: a.out
configure:1678: checking whether the C++ compiler works
configure:1684: ./a.out
configure:1687: $? = 0
configure:1704: result: yes
configure:1711: checking whether we are cross compiling
configure:1713: result: no
configure:1716: checking for suffix of executables
configure:1718: g++ -o conftest    conftest.cc  >&5
configure:1721: $? = 0
configure:1746: result: 
configure:1752: checking for suffix of object files
configure:1773: g++ -c   conftest.cc >&5
configure:1776: $? = 0
configure:1798: result: o
configure:1802: checking whether we are using the GNU C++ compiler
configure:1826: g++ -c   conftest.cc >&5
configure:1832: $? = 0
configure:1836: test -z 
			 || test ! -s conftest.err
configure:1839: $? = 0
configure:1842: test -s conftest.o
configure:1845: $? = 0
configure:1858: result: yes
configure:1864: checking whether g++ accepts -g
configure:1885: g++ -c -g  conftest.cc >&5
configure:1891: $? = 0
configure:1895: test -z 
			 || test ! -s conftest.err
configure:1898: $? = 0
configure:1901: test -s conftest.o
configure:1904: $? = 0
configure:1915: result: yes
configure:1957: g++ -c -g -O2  conftest.cc >&5
configure:1963: $? = 0
configure:1967: test -z 
			 || test ! -s conftest.err
configure:1970: $? = 0
configure:1973: test -s conftest.o
configure:1976: $? = 0
configure:2002: g++ -c -g -O2  conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:13: error: `exit' undeclared (first use this function)
conftest.cc:13: error: (Each undeclared identifier is reported only once for each function it appears in.)
configure:2008: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "vegastrike"
| #define PACKAGE_TARNAME "vegastrike"
| #define PACKAGE_VERSION "0.4.0"
| #define PACKAGE_STRING "vegastrike 0.4.0"
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:1957: g++ -c -g -O2  conftest.cc >&5
configure:1963: $? = 0
configure:1967: test -z 
			 || test ! -s conftest.err
configure:1970: $? = 0
configure:1973: test -s conftest.o
configure:1976: $? = 0
configure:2002: g++ -c -g -O2  conftest.cc >&5
configure:2008: $? = 0
configure:2012: test -z 
			 || test ! -s conftest.err
configure:2015: $? = 0
configure:2018: test -s conftest.o
configure:2021: $? = 0
configure:2049: checking how to run the C++ preprocessor

configure:2080: g++ -E  conftest.cc
configure:2086: $? = 0
configure:2118: g++ -E  conftest.cc
conftest.cc:12:28: ac_nonexistent.h: No such file or directory
configure:2124: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "vegastrike"
| #define PACKAGE_TARNAME "vegastrike"
| #define PACKAGE_VERSION "0.4.0"
| #define PACKAGE_STRING "vegastrike 0.4.0"
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:2163: result: g++ -E
configure:2187: g++ -E  conftest.cc
configure:2193: $? = 0
configure:2225: g++ -E  conftest.cc
conftest.cc:12:28: ac_nonexistent.h: No such file or directory
configure:2231: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "vegastrike"
| #define PACKAGE_TARNAME "vegastrike"
| #define PACKAGE_VERSION "0.4.0"
| #define PACKAGE_STRING "vegastrike 0.4.0"
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:2320: checking for gcc
configure:2336: found /usr/bin/gcc
configure:2346: result: gcc
configure:2590: checking for C compiler version
configure:2593: gcc --version </dev/null >&5
gcc (GCC) 3.4.3 20050110 (Gentoo Linux 3.4.3.20050110, ssp-3.4.3.20050110-0, pie-8.7.7)
Copyright (C) 2004 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:2596: $? = 0
configure:2598: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.3/specs
Configured with: /var/tmp/portage/gcc-3.4.3.20050110/work/gcc-3.4.3/configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/powerpc-unknown-linux-gnu/gcc-bin/3.4.3 --includedir=/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.3/include --datadir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/3.4.3 --mandir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/3.4.3/man --infodir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/3.4.3/info --with-gxx-include-dir=/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.3/include/g++-v3 --host=powerpc-unknown-linux-gnu --enable-altivec --disable-nls --enable-__cxa_atexit --enable-clocale=gnu --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-shared --enable-threads=posix --disable-libgcj --enable-languages=c,c++,f77,objc
Thread model: posix
gcc version 3.4.3 20050110 (Gentoo Linux 3.4.3.20050110, ssp-3.4.3.20050110-0, pie-8.7.7)
configure:2601: $? = 0
configure:2603: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2606: $? = 1
configure:2609: checking whether we are using the GNU C compiler
configure:2633: gcc -c   conftest.c >&5
configure:2639: $? = 0
configure:2643: test -z 
			 || test ! -s conftest.err
configure:2646: $? = 0
configure:2649: test -s conftest.o
configure:2652: $? = 0
configure:2665: result: yes
configure:2671: checking whether gcc accepts -g
configure:2692: gcc -c -g  conftest.c >&5
configure:2698: $? = 0
configure:2702: test -z 
			 || test ! -s conftest.err
configure:2705: $? = 0
configure:2708: test -s conftest.o
configure:2711: $? = 0
configure:2722: result: yes
configure:2739: checking for gcc option to accept ANSI C
configure:2809: gcc  -c -g -O2  conftest.c >&5
configure:2815: $? = 0
configure:2819: test -z 
			 || test ! -s conftest.err
configure:2822: $? = 0
configure:2825: test -s conftest.o
configure:2828: $? = 0
configure:2846: result: none needed
configure:2864: gcc -c -g -O2  conftest.c >&5
conftest.c:2: error: parse error before "me"
configure:2870: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:3008: checking how to run the C preprocessor
configure:3043: gcc -E  conftest.c
configure:3049: $? = 0
configure:3081: gcc -E  conftest.c
conftest.c:12:28: ac_nonexistent.h: No such file or directory
configure:3087: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "vegastrike"
| #define PACKAGE_TARNAME "vegastrike"
| #define PACKAGE_VERSION "0.4.0"
| #define PACKAGE_STRING "vegastrike 0.4.0"
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3126: result: gcc -E
configure:3150: gcc -E  conftest.c
configure:3156: $? = 0
configure:3188: gcc -E  conftest.c
conftest.c:12:28: ac_nonexistent.h: No such file or directory
configure:3194: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "vegastrike"
| #define PACKAGE_TARNAME "vegastrike"
| #define PACKAGE_VERSION "0.4.0"
| #define PACKAGE_STRING "vegastrike 0.4.0"
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3238: Using compiler: g++.
configure:3272: checking build system type
configure:3290: result: powerpc-unknown-linux-gnu
configure:3298: checking host system type
configure:3312: result: powerpc-unknown-linux-gnu
configure:3320: checking target system type
configure:3334: result: powerpc-unknown-linux-gnu
configure:3363: checking for a BSD-compatible install
configure:3418: result: /usr/bin/install -c
configure:3429: checking whether build environment is sane
configure:3472: result: yes
configure:3537: checking for gawk
configure:3553: found /usr/bin/gawk
configure:3563: result: gawk
configure:3573: checking whether make sets $(MAKE)
configure:3593: result: yes
configure:3623: checking for style of include used by make
configure:3651: result: GNU
configure:3827: checking dependency style of gcc
configure:3917: result: gcc3
configure:3936: checking dependency style of g++
configure:4026: result: gcc3
configure:4145: checking for egrep
configure:4155: result: grep -E
configure:4161: checking for AIX
configure:4183: result: no
configure:4189: checking for ANSI C header files
configure:4214: g++ -c   conftest.cc >&5
configure:4220: $? = 0
configure:4224: test -z 
			 || test ! -s conftest.err
configure:4227: $? = 0
configure:4230: test -s conftest.o
configure:4233: $? = 0
configure:4322: g++ -o conftest    conftest.cc  >&5
configure:4325: $? = 0
configure:4327: ./conftest
configure:4330: $? = 0
configure:4345: result: yes
configure:4369: checking for sys/types.h
configure:4385: g++ -c   conftest.cc >&5
configure:4391: $? = 0
configure:4395: test -z 
			 || test ! -s conftest.err
configure:4398: $? = 0
configure:4401: test -s conftest.o
configure:4404: $? = 0
configure:4415: result: yes
configure:4369: checking for sys/stat.h
configure:4385: g++ -c   conftest.cc >&5
configure:4391: $? = 0
configure:4395: test -z 
			 || test ! -s conftest.err
configure:4398: $? = 0
configure:4401: test -s conftest.o
configure:4404: $? = 0
configure:4415: result: yes
configure:4369: checking for stdlib.h
configure:4385: g++ -c   conftest.cc >&5
configure:4391: $? = 0
configure:4395: test -z 
			 || test ! -s conftest.err
configure:4398: $? = 0
configure:4401: test -s conftest.o
configure:4404: $? = 0
configure:4415: result: yes
configure:4369: checking for string.h
configure:4385: g++ -c   conftest.cc >&5
configure:4391: $? = 0
configure:4395: test -z 
			 || test ! -s conftest.err
configure:4398: $? = 0
configure:4401: test -s conftest.o
configure:4404: $? = 0
configure:4415: result: yes
configure:4369: checking for memory.h
configure:4385: g++ -c   conftest.cc >&5
configure:4391: $? = 0
configure:4395: test -z 
			 || test ! -s conftest.err
configure:4398: $? = 0
configure:4401: test -s conftest.o
configure:4404: $? = 0
configure:4415: result: yes
configure:4369: checking for strings.h
configure:4385: g++ -c   conftest.cc >&5
configure:4391: $? = 0
configure:4395: test -z 
			 || test ! -s conftest.err
configure:4398: $? = 0
configure:4401: test -s conftest.o
configure:4404: $? = 0
configure:4415: result: yes
configure:4369: checking for inttypes.h
configure:4385: g++ -c   conftest.cc >&5
configure:4391: $? = 0
configure:4395: test -z 
			 || test ! -s conftest.err
configure:4398: $? = 0
configure:4401: test -s conftest.o
configure:4404: $? = 0
configure:4415: result: yes
configure:4369: checking for stdint.h
configure:4385: g++ -c   conftest.cc >&5
configure:4391: $? = 0
configure:4395: test -z 
			 || test ! -s conftest.err
configure:4398: $? = 0
configure:4401: test -s conftest.o
configure:4404: $? = 0
configure:4415: result: yes
configure:4369: checking for unistd.h
configure:4385: g++ -c   conftest.cc >&5
configure:4391: $? = 0
configure:4395: test -z 
			 || test ! -s conftest.err
configure:4398: $? = 0
configure:4401: test -s conftest.o
configure:4404: $? = 0
configure:4415: result: yes
configure:4437: checking minix/config.h usability
configure:4449: g++ -c   conftest.cc >&5
conftest.cc:61:26: minix/config.h: No such file or directory
configure:4455: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "vegastrike"
| #define PACKAGE_TARNAME "vegastrike"
| #define PACKAGE_VERSION "0.4.0"
| #define PACKAGE_STRING "vegastrike 0.4.0"
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define PACKAGE "vegastrike"
| #define VERSION "0.4.0"
| #define LINUX 1
| #define POSIX 1
| #define UNIX 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
| /* end confdefs.h.  */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| #  include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <minix/config.h>
configure:4478: result: no
configure:4482: checking minix/config.h presence
configure:4492: g++ -E  conftest.cc
conftest.cc:27:26: minix/config.h: No such file or directory
configure:4498: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "vegastrike"
| #define PACKAGE_TARNAME "vegastrike"
| #define PACKAGE_VERSION "0.4.0"
| #define PACKAGE_STRING "vegastrike 0.4.0"
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define PACKAGE "vegastrike"
| #define VERSION "0.4.0"
| #define LINUX 1
| #define POSIX 1
| #define UNIX 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
| /* end confdefs.h.  */
| #include <minix/config.h>
configure:4518: result: no
configure:4553: checking for minix/config.h
configure:4560: result: no
configure:4589: checking for library containing strerror
configure:4619: g++ -o conftest    conftest.cc  >&5
configure:4625: $? = 0
configure:4629: test -z 
			 || test ! -s conftest.err
configure:4632: $? = 0
configure:4635: test -s conftest
configure:4638: $? = 0
configure:4708: result: none required
configure:4733: g++ -c -falign-loops=4  conftest.cc >&5
configure:4739: $? = 0
configure:4743: test -z 
			 || test ! -s conftest.err
configure:4746: $? = 0
configure:4749: test -s conftest.o
configure:4752: $? = 0
configure:4779: g++ -c -malign-loops=4  conftest.cc >&5
conftest.cc:1: error: unknown -malign-XXXXX option specified: 'loops=4'
configure:4785: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "vegastrike"
| #define PACKAGE_TARNAME "vegastrike"
| #define PACKAGE_VERSION "0.4.0"
| #define PACKAGE_STRING "vegastrike 0.4.0"
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define PACKAGE "vegastrike"
| #define VERSION "0.4.0"
| #define LINUX 1
| #define POSIX 1
| #define UNIX 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
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:4839: g++ -c -Werror -pthread  conftest.cc >&5
configure:4845: $? = 0
configure:4849: test -z 
			 || test ! -s conftest.err
configure:4852: $? = 0
configure:4855: test -s conftest.o
configure:4858: $? = 0
configure:4885: checking for a BSD-compatible install
configure:4940: result: /usr/bin/install -c
configure:4951: checking whether ln -s works
configure:4955: result: yes
configure:5003: checking for ranlib
configure:5019: found /usr/bin/ranlib
configure:5030: result: ranlib
configure:5051: checking for dirent.h that defines DIR
configure:5075: g++ -c   conftest.cc >&5
configure:5081: $? = 0
configure:5085: test -z 
			 || test ! -s conftest.err
configure:5088: $? = 0
configure:5091: test -s conftest.o
configure:5094: $? = 0
configure:5105: result: yes
configure:5118: checking for library containing opendir
configure:5148: g++ -o conftest    conftest.cc  >&5
configure:5154: $? = 0
configure:5158: test -z 
			 || test ! -s conftest.err
configure:5161: $? = 0
configure:5164: test -s conftest
configure:5167: $? = 0
configure:5237: result: none required
configure:5375: checking for working alloca.h
configure:5396: g++ -o conftest    conftest.cc  >&5
configure:5402: $? = 0
configure:5406: test -z 
			 || test ! -s conftest.err
configure:5409: $? = 0
configure:5412: test -s conftest
configure:5415: $? = 0
configure:5427: result: yes
configure:5437: checking for alloca
configure:5478: g++ -o conftest    conftest.cc  >&5
configure:5484: $? = 0
configure:5488: test -z 
			 || test ! -s conftest.err
configure:5491: $? = 0
configure:5494: test -s conftest
configure:5497: $? = 0
configure:5509: result: yes
configure:5732: checking for sys/wait.h that is POSIX.1 compatible
configure:5763: g++ -c   conftest.cc >&5
configure:5769: $? = 0
configure:5773: test -z 
			 || test ! -s conftest.err
configure:5776: $? = 0
configure:5779: test -s conftest.o
configure:5782: $? = 0
configure:5793: result: yes
configure:5833: checking OS.h usability
configure:5845: g++ -c   conftest.cc >&5
conftest.cc:65:16: OS.h: No such file or directory
configure:5851: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "vegastrike"
| #define PACKAGE_TARNAME "vegastrike"
| #define PACKAGE_VERSION "0.4.0"
| #define PACKAGE_STRING "vegastrike 0.4.0"
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define PACKAGE "vegastrike"
| #define VERSION "0.4.0"
| #define LINUX 1
| #define POSIX 1
| #define UNIX 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_DIRENT_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_SYS_WAIT_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| #  include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <OS.h>
configure:5874: result: no
configure:5878: checking OS.h presence
configure:5888: g++ -E  conftest.cc
conftest.cc:31:16: OS.h: No such file or directory
configure:5894: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "vegastrike"
| #define PACKAGE_TARNAME "vegastrike"
| #define PACKAGE_VERSION "0.4.0"
| #define PACKAGE_STRING "vegastrike 0.4.0"
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define PACKAGE "vegastrike"
| #define VERSION "0.4.0"
| #define LINUX 1
| #define POSIX 1
| #define UNIX 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_DIRENT_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_SYS_WAIT_H 1
| /* end confdefs.h.  */
| #include <OS.h>
configure:5914: result: no
configure:5949: checking for OS.h
configure:5956: result: no
configure:5833: checking arpa/inet.h usability
configure:5845: g++ -c   conftest.cc >&5
configure:5851: $? = 0
configure:5855: test -z 
			 || test ! -s conftest.err
configure:5858: $? = 0
configure:5861: test -s conftest.o
configure:5864: $? = 0
configure:5874: result: yes
configure:5878: checking arpa/inet.h presence
configure:5888: g++ -E  conftest.cc
configure:5894: $? = 0
configure:5914: result: yes
configure:5949: checking for arpa/inet.h
configure:5956: result: yes
configure:5833: checking fcntl.h usability
configure:5845: g++ -c   conftest.cc >&5
configure:5851: $? = 0
configure:5855: test -z 
			 || test ! -s conftest.err
configure:5858: $? = 0
configure:5861: test -s conftest.o
configure:5864: $? = 0
configure:5874: result: yes
configure:5878: checking fcntl.h presence
configure:5888: g++ -E  conftest.cc
configure:5894: $? = 0
configure:5914: result: yes
configure:5949: checking for fcntl.h
configure:5956: result: yes
configure:5833: checking float.h usability
configure:5845: g++ -c   conftest.cc >&5
configure:5851: $? = 0
configure:5855: test -z 
			 || test ! -s conftest.err
configure:5858: $? = 0
configure:5861: test -s conftest.o
configure:5864: $? = 0
configure:5874: result: yes
configure:5878: checking float.h presence
configure:5888: g++ -E  conftest.cc
configure:5894: $? = 0
configure:5914: result: yes
configure:5949: checking for float.h
configure:5956: result: yes
configure:5833: checking limits.h usability
configure:5845: g++ -c   conftest.cc >&5
configure:5851: $? = 0
configure:5855: test -z 
			 || test ! -s conftest.err
configure:5858: $? = 0
configure:5861: test -s conftest.o
configure:5864: $? = 0
configure:5874: result: yes
configure:5878: checking limits.h presence
configure:5888: g++ -E  conftest.cc
configure:5894: $? = 0
configure:5914: result: yes
configure:5949: checking for limits.h
configure:5956: result: yes
configure:5833: checking math.h usability
configure:5845: g++ -c   conftest.cc >&5
configure:5851: $? = 0
configure:5855: test -z 
			 || test ! -s conftest.err
configure:5858: $? = 0
configure:5861: test -s conftest.o
configure:5864: $? = 0
configure:5874: result: yes
configure:5878: checking math.h presence
configure:5888: g++ -E  conftest.cc
configure:5894: $? = 0
configure:5914: result: yes
configure:5949: checking for math.h
configure:5956: result: yes
configure:5833: checking netdb.h usability
configure:5845: g++ -c   conftest.cc >&5
configure:5851: $? = 0
configure:5855: test -z 
			 || test ! -s conftest.err
configure:5858: $? = 0
configure:5861: test -s conftest.o
configure:5864: $? = 0
configure:5874: result: yes
configure:5878: checking netdb.h presence
configure:5888: g++ -E  conftest.cc
configure:5894: $? = 0
configure:5914: result: yes
configure:5949: checking for netdb.h
configure:5956: result: yes
configure:5833: checking netinet/in.h usability
configure:5845: g++ -c   conftest.cc >&5
configure:5851: $? = 0
configure:5855: test -z 
			 || test ! -s conftest.err
configure:5858: $? = 0
configure:5861: test -s conftest.o
configure:5864: $? = 0
configure:5874: result: yes
configure:5878: checking netinet/in.h presence
configure:5888: g++ -E  conftest.cc
configure:5894: $? = 0
configure:5914: result: yes
configure:5949: checking for netinet/in.h
configure:5956: result: yes
configure:5833: checking stddef.h usability
configure:5845: g++ -c   conftest.cc >&5
configure:5851: $? = 0
configure:5855: test -z 
			 || test ! -s conftest.err
configure:5858: $? = 0
configure:5861: test -s conftest.o
configure:5864: $? = 0
configure:5874: result: yes
configure:5878: checking stddef.h presence
configure:5888: g++ -E  conftest.cc
configure:5894: $? = 0
configure:5914: result: yes
configure:5949: checking for stddef.h
configure:5956: result: yes
configure:5833: checking sys/ioctl.h usability
configure:5845: g++ -c   conftest.cc >&5
configure:5851: $? = 0
configure:5855: test -z 
			 || test ! -s conftest.err
configure:5858: $? = 0
configure:5861: test -s conftest.o
configure:5864: $? = 0
configure:5874: result: yes
configure:5878: checking sys/ioctl.h presence
configure:5888: g++ -E  conftest.cc
configure:5894: $? = 0
configure:5914: result: yes
configure:5949: checking for sys/ioctl.h
configure:5956: result: yes
configure:5833: checking sys/param.h usability
configure:5845: g++ -c   conftest.cc >&5
configure:5851: $? = 0
configure:5855: test -z 
			 || test ! -s conftest.err
configure:5858: $? = 0
configure:5861: test -s conftest.o
configure:5864: $? = 0
configure:5874: result: yes
configure:5878: checking sys/param.h presence
configure:5888: g++ -E  conftest.cc
configure:5894: $? = 0
configure:5914: result: yes
configure:5949: checking for sys/param.h
configure:5956: result: yes
configure:5833: checking sys/time.h usability
configure:5845: g++ -c   conftest.cc >&5
configure:5851: $? = 0
configure:5855: test -z 
			 || test ! -s conftest.err
configure:5858: $? = 0
configure:5861: test -s conftest.o
configure:5864: $? = 0
configure:5874: result: yes
configure:5878: checking sys/time.h presence
configure:5888: g++ -E  conftest.cc
configure:5894: $? = 0
configure:5914: result: yes
configure:5949: checking for sys/time.h
configure:5956: result: yes
configure:5833: checking sys/timeb.h usability
configure:5845: g++ -c   conftest.cc >&5
configure:5851: $? = 0
configure:5855: test -z 
			 || test ! -s conftest.err
configure:5858: $? = 0
configure:5861: test -s conftest.o
configure:5864: $? = 0
configure:5874: result: yes
configure:5878: checking sys/timeb.h presence
configure:5888: g++ -E  conftest.cc
configure:5894: $? = 0
configure:5914: result: yes
configure:5949: checking for sys/timeb.h
configure:5956: result: yes
configure:5833: checking values.h usability
configure:5845: g++ -c   conftest.cc >&5
configure:5851: $? = 0
configure:5855: test -z 
			 || test ! -s conftest.err
configure:5858: $? = 0
configure:5861: test -s conftest.o
configure:5864: $? = 0
configure:5874: result: yes
configure:5878: checking values.h presence
configure:5888: g++ -E  conftest.cc
configure:5894: $? = 0
configure:5914: result: yes
configure:5949: checking for values.h
configure:5956: result: yes
configure:5833: checking wchar.h usability
configure:5845: g++ -c   conftest.cc >&5
configure:5851: $? = 0
configure:5855: test -z 
			 || test ! -s conftest.err
configure:5858: $? = 0
configure:5861: test -s conftest.o
configure:5864: $? = 0
configure:5874: result: yes
configure:5878: checking wchar.h presence
configure:5888: g++ -E  conftest.cc
configure:5894: $? = 0
configure:5914: result: yes
configure:5949: checking for wchar.h
configure:5956: result: yes
configure:5833: checking wctype.h usability
configure:5845: g++ -c   conftest.cc >&5
configure:5851: $? = 0
configure:5855: test -z 
			 || test ! -s conftest.err
configure:5858: $? = 0
configure:5861: test -s conftest.o
configure:5864: $? = 0
configure:5874: result: yes
configure:5878: checking wctype.h presence
configure:5888: g++ -E  conftest.cc
configure:5894: $? = 0
configure:5914: result: yes
configure:5949: checking for wctype.h
configure:5956: result: yes
configure:5986: checking linux/slab.h usability
configure:5998: g++ -c   conftest.cc >&5
configure:6004: $? = 0
configure:6008: test -z 
			 || test ! -s conftest.err
configure:6011: $? = 0
configure:6014: test -s conftest.o
configure:6017: $? = 0
configure:6027: result: yes
configure:6031: checking linux/slab.h presence
configure:6041: g++ -E  conftest.cc
configure:6047: $? = 0
configure:6067: result: yes
configure:6102: checking for linux/slab.h
configure:6109: result: yes
configure:5986: checking linux/malloc.h usability
configure:5998: g++ -c   conftest.cc >&5
conftest.cc:81:26: linux/malloc.h: No such file or directory
configure:6004: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "vegastrike"
| #define PACKAGE_TARNAME "vegastrike"
| #define PACKAGE_VERSION "0.4.0"
| #define PACKAGE_STRING "vegastrike 0.4.0"
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define PACKAGE "vegastrike"
| #define VERSION "0.4.0"
| #define LINUX 1
| #define POSIX 1
| #define UNIX 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_DIRENT_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_FLOAT_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_MATH_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TIMEB_H 1
| #define HAVE_VALUES_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_WCTYPE_H 1
| #define HAVE_LINUX_SLAB_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| #  include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <linux/malloc.h>
configure:6027: result: no
configure:6031: checking linux/malloc.h presence
configure:6041: g++ -E  conftest.cc
conftest.cc:47:26: linux/malloc.h: No such file or directory
configure:6047: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "vegastrike"
| #define PACKAGE_TARNAME "vegastrike"
| #define PACKAGE_VERSION "0.4.0"
| #define PACKAGE_STRING "vegastrike 0.4.0"
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define PACKAGE "vegastrike"
| #define VERSION "0.4.0"
| #define LINUX 1
| #define POSIX 1
| #define UNIX 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_DIRENT_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_FLOAT_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_MATH_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TIMEB_H 1
| #define HAVE_VALUES_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_WCTYPE_H 1
| #define HAVE_LINUX_SLAB_H 1
| /* end confdefs.h.  */
| #include <linux/malloc.h>
configure:6067: result: no
configure:6102: checking for linux/malloc.h
configure:6109: result: no
configure:6279: checking for vfscanf
configure:6336: g++ -o conftest    conftest.cc  >&5
configure:6342: $? = 0
configure:6346: test -z 
			 || test ! -s conftest.err
configure:6349: $? = 0
configure:6352: test -s conftest
configure:6355: $? = 0
configure:6367: result: yes
configure:6380: checking for an ANSI C-conforming const
configure:6447: g++ -c   conftest.cc >&5
configure:6453: $? = 0
configure:6457: test -z 
			 || test ! -s conftest.err
configure:6460: $? = 0
configure:6463: test -s conftest.o
configure:6466: $? = 0
configure:6477: result: yes
configure:6487: checking whether time.h and sys/time.h may both be included
configure:6512: g++ -c   conftest.cc >&5
configure:6518: $? = 0
configure:6522: test -z 
			 || test ! -s conftest.err
configure:6525: $? = 0
configure:6528: test -s conftest.o
configure:6531: $? = 0
configure:6542: result: yes
configure:6552: checking for inline
configure:6573: g++ -c   conftest.cc >&5
configure:6579: $? = 0
configure:6583: test -z 
			 || test ! -s conftest.err
configure:6586: $? = 0
configure:6589: test -s conftest.o
configure:6592: $? = 0
configure:6604: result: inline
configure:6623: checking for off_t
configure:6647: g++ -c   conftest.cc >&5
configure:6653: $? = 0
configure:6657: test -z 
			 || test ! -s conftest.err
configure:6660: $? = 0
configure:6663: test -s conftest.o
configure:6666: $? = 0
configure:6677: result: yes
configure:6689: checking for pid_t
configure:6713: g++ -c   conftest.cc >&5
configure:6719: $? = 0
configure:6723: test -z 
			 || test ! -s conftest.err
configure:6726: $? = 0
configure:6729: test -s conftest.o
configure:6732: $? = 0
configure:6743: result: yes
configure:6755: checking for size_t
configure:6779: g++ -c   conftest.cc >&5
configure:6785: $? = 0
configure:6789: test -z 
			 || test ! -s conftest.err
configure:6792: $? = 0
configure:6795: test -s conftest.o
configure:6798: $? = 0
configure:6809: result: yes
configure:6821: checking whether time.h and sys/time.h may both be included
configure:6876: result: yes
configure:6886: checking whether struct tm is in sys/time.h or time.h
configure:6909: g++ -c   conftest.cc >&5
configure:6915: $? = 0
configure:6919: test -z 
			 || test ! -s conftest.err
configure:6922: $? = 0
configure:6925: test -s conftest.o
configure:6928: $? = 0
configure:6939: result: time.h
configure:6949: checking for uid_t in sys/types.h
configure:6972: result: yes
configure:6989: checking whether closedir returns void
configure:7018: g++ -o conftest    conftest.cc  >&5
configure:7021: $? = 0
configure:7023: ./conftest
configure:7026: $? = 0
configure:7040: result: no
configure:7050: checking for working memcmp
configure:7098: g++ -o conftest    conftest.cc  >&5
configure:7101: $? = 0
configure:7103: ./conftest
configure:7106: $? = 0
configure:7120: result: yes
configure:7137: checking for stdlib.h
configure:7142: result: yes
configure:7137: checking for unistd.h
configure:7142: result: yes
configure:7286: checking for getpagesize
configure:7343: g++ -o conftest    conftest.cc  >&5
configure:7349: $? = 0
configure:7353: test -z 
			 || test ! -s conftest.err
configure:7356: $? = 0
configure:7359: test -s conftest
configure:7362: $? = 0
configure:7374: result: yes
configure:7384: checking for working mmap
configure:7526: g++ -o conftest    conftest.cc  >&5
configure:7529: $? = 0
configure:7531: ./conftest
configure:7534: $? = 0
configure:7548: result: yes
configure:7574: checking sys/select.h usability
configure:7586: g++ -c   conftest.cc >&5
configure:7592: $? = 0
configure:7596: test -z 
			 || test ! -s conftest.err
configure:7599: $? = 0
configure:7602: test -s conftest.o
configure:7605: $? = 0
configure:7615: result: yes
configure:7619: checking sys/select.h presence
configure:7629: g++ -E  conftest.cc
configure:7635: $? = 0
configure:7655: result: yes
configure:7690: checking for sys/select.h
configure:7697: result: yes
configure:7574: checking sys/socket.h usability
configure:7586: g++ -c   conftest.cc >&5
configure:7592: $? = 0
configure:7596: test -z 
			 || test ! -s conftest.err
configure:7599: $? = 0
configure:7602: test -s conftest.o
configure:7605: $? = 0
configure:7615: result: yes
configure:7619: checking sys/socket.h presence
configure:7629: g++ -E  conftest.cc
configure:7635: $? = 0
configure:7655: result: yes
configure:7690: checking for sys/socket.h
configure:7697: result: yes
configure:7710: checking types of arguments for select
configure:7743: g++ -c   conftest.cc >&5
configure:7749: $? = 0
configure:7753: test -z 
			 || test ! -s conftest.err
configure:7756: $? = 0
configure:7759: test -s conftest.o
configure:7762: $? = 0
configure:7778: result: int,fd_set *,struct timeval *
configure:7801: checking return type of signal handlers
configure:7832: g++ -c   conftest.cc >&5
configure:7838: $? = 0
configure:7842: test -z 
			 || test ! -s conftest.err
configure:7845: $? = 0
configure:7848: test -s conftest.o
configure:7851: $? = 0
configure:7862: result: void
configure:7874: checking for vprintf
configure:7931: g++ -o conftest    conftest.cc  >&5
configure:7937: $? = 0
configure:7941: test -z 
			 || test ! -s conftest.err
configure:7944: $? = 0
configure:7947: test -s conftest
configure:7950: $? = 0
configure:7962: result: yes
configure:7969: checking for _doprnt
configure:8026: g++ -o conftest    conftest.cc  >&5
/tmp/ccix9JuO.o(.text+0x16): In function `main':
: undefined reference to `_doprnt'
/tmp/ccix9JuO.o(.text+0x1a): In function `main':
: undefined reference to `_doprnt'
/tmp/ccix9JuO.o(.sdata+0x0): undefined reference to `_doprnt'
collect2: ld returned 1 exit status
configure:8032: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "vegastrike"
| #define PACKAGE_TARNAME "vegastrike"
| #define PACKAGE_VERSION "0.4.0"
| #define PACKAGE_STRING "vegastrike 0.4.0"
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define PACKAGE "vegastrike"
| #define VERSION "0.4.0"
| #define LINUX 1
| #define POSIX 1
| #define UNIX 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_DIRENT_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_FLOAT_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_MATH_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TIMEB_H 1
| #define HAVE_VALUES_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_WCTYPE_H 1
| #define HAVE_LINUX_SLAB_H 1
| #define HAVE_VFSCANF 1
| #define TIME_WITH_SYS_TIME 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define SELECT_TYPE_ARG1 int
| #define SELECT_TYPE_ARG234 (fd_set *)
| #define SELECT_TYPE_ARG5 (struct timeval *)
| #define RETSIGTYPE void
| #define HAVE_VPRINTF 1
| /* end confdefs.h.  */
| /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define _doprnt innocuous__doprnt
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char _doprnt (); 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 _doprnt
| 
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char _doprnt ();
| /* 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__doprnt) || defined (__stub____doprnt)
| choke me
| #else
| char (*f) () = _doprnt;
| #endif
| #ifdef __cplusplus
| }
| #endif
| 
| int
| main ()
| {
| return f != _doprnt;
|   ;
|   return 0;
| }
configure:8057: result: no
configure:8102: checking for access
configure:8159: g++ -o conftest    conftest.cc  >&5
configure:8165: $? = 0
configure:8169: test -z 
			 || test ! -s conftest.err
configure:8172: $? = 0
configure:8175: test -s conftest
configure:8178: $? = 0
configure:8190: result: yes
configure:8102: checking for atexit
configure:8159: g++ -o conftest    conftest.cc  >&5
configure:8165: $? = 0
configure:8169: test -z 
			 || test ! -s conftest.err
configure:8172: $? = 0
configure:8175: test -s conftest
configure:8178: $? = 0
configure:8190: result: yes
configure:8102: checking for bzero
configure:8159: g++ -o conftest    conftest.cc  >&5
configure:8165: $? = 0
configure:8169: test -z 
			 || test ! -s conftest.err
configure:8172: $? = 0
configure:8175: test -s conftest
configure:8178: $? = 0
configure:8190: result: yes
configure:8102: checking for clock_gettime
configure:8159: g++ -o conftest    conftest.cc  >&5
/tmp/ccycAUKl.o(.text+0x16): In function `main':
: undefined reference to `clock_gettime'
/tmp/ccycAUKl.o(.text+0x1a): In function `main':
: undefined reference to `clock_gettime'
/tmp/ccycAUKl.o(.sdata+0x0): undefined reference to `clock_gettime'
collect2: ld returned 1 exit status
configure:8165: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "vegastrike"
| #define PACKAGE_TARNAME "vegastrike"
| #define PACKAGE_VERSION "0.4.0"
| #define PACKAGE_STRING "vegastrike 0.4.0"
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define PACKAGE "vegastrike"
| #define VERSION "0.4.0"
| #define LINUX 1
| #define POSIX 1
| #define UNIX 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_DIRENT_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_FLOAT_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_MATH_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TIMEB_H 1
| #define HAVE_VALUES_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_WCTYPE_H 1
| #define HAVE_LINUX_SLAB_H 1
| #define HAVE_VFSCANF 1
| #define TIME_WITH_SYS_TIME 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define SELECT_TYPE_ARG1 int
| #define SELECT_TYPE_ARG234 (fd_set *)
| #define SELECT_TYPE_ARG5 (struct timeval *)
| #define RETSIGTYPE void
| #define HAVE_VPRINTF 1
| #define HAVE_ACCESS 1
| #define HAVE_ATEXIT 1
| #define HAVE_BZERO 1
| /* end confdefs.h.  */
| /* Define clock_gettime to an innocuous variant, in case <limits.h> declares clock_gettime.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define clock_gettime innocuous_clock_gettime
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char clock_gettime (); 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 clock_gettime
| 
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char clock_gettime ();
| /* 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_clock_gettime) || defined (__stub___clock_gettime)
| choke me
| #else
| char (*f) () = clock_gettime;
| #endif
| #ifdef __cplusplus
| }
| #endif
| 
| int
| main ()
| {
| return f != clock_gettime;
|   ;
|   return 0;
| }
configure:8190: result: no
configure:8102: checking for floor
configure:8159: g++ -o conftest    conftest.cc  >&5
configure:8165: $? = 0
configure:8169: test -z 
			 || test ! -s conftest.err
configure:8172: $? = 0
configure:8175: test -s conftest
configure:8178: $? = 0
configure:8190: result: yes
configure:8102: checking for getcwd
configure:8159: g++ -o conftest    conftest.cc  >&5
configure:8165: $? = 0
configure:8169: test -z 
			 || test ! -s conftest.err
configure:8172: $? = 0
configure:8175: test -s conftest
configure:8178: $? = 0
configure:8190: result: yes
configure:8102: checking for gethostbyname
configure:8159: g++ -o conftest    conftest.cc  >&5
configure:8165: $? = 0
configure:8169: test -z 
			 || test ! -s conftest.err
configure:8172: $? = 0
configure:8175: test -s conftest
configure:8178: $? = 0
configure:8190: result: yes
configure:8102: checking for gethostname
configure:8159: g++ -o conftest    conftest.cc  >&5
configure:8165: $? = 0
configure:8169: test -z 
			 || test ! -s conftest.err
configure:8172: $? = 0
configure:8175: test -s conftest
configure:8178: $? = 0
configure:8190: result: yes
configure:8102: checking for gettimeofday
configure:8159: g++ -o conftest    conftest.cc  >&5
configure:8165: $? = 0
configure:8169: test -z 
			 || test ! -s conftest.err
configure:8172: $? = 0
configure:8175: test -s conftest
configure:8178: $? = 0
configure:8190: result: yes
configure:8102: checking for inet_ntoa
configure:8159: g++ -o conftest    conftest.cc  >&5
configure:8165: $? = 0
configure:8169: test -z 
			 || test ! -s conftest.err
configure:8172: $? = 0
configure:8175: test -s conftest
configure:8178: $? = 0
configure:8190: result: yes
configure:8102: checking for lstat
configure:8159: g++ -o conftest    conftest.cc  >&5
configure:8165: $? = 0
configure:8169: test -z 
			 || test ! -s conftest.err
configure:8172: $? = 0
configure:8175: test -s conftest
configure:8178: $? = 0
configure:8190: result: yes
configure:8102: checking for memmove
configure:8159: g++ -o conftest    conftest.cc  >&5
configure:8165: $? = 0
configure:8169: test -z 
			 || test ! -s conftest.err
configure:8172: $? = 0
configure:8175: test -s conftest
configure:8178: $? = 0
configure:8190: result: yes
configure:8102: checking for memset
configure:8159: g++ -o conftest    conftest.cc  >&5
configure:8165: $? = 0
configure:8169: test -z 
			 || test ! -s conftest.err
configure:8172: $? = 0
configure:8175: test -s conftest
configure:8178: $? = 0
configure:8190: result: yes
configure:8102: checking for mkdir
configure:8159: g++ -o conftest    conftest.cc  >&5
configure:8165: $? = 0
configure:8169: test -z 
			 || test ! -s conftest.err
configure:8172: $? = 0
configure:8175: test -s conftest
configure:8178: $? = 0
configure:8190: result: yes
configure:8102: checking for munmap
configure:8159: g++ -o conftest    conftest.cc  >&5
configure:8165: $? = 0
configure:8169: test -z 
			 || test ! -s conftest.err
configure:8172: $? = 0
configure:8175: test -s conftest
configure:8178: $? = 0
configure:8190: result: yes
configure:8102: checking for pow
configure:8159: g++ -o conftest    conftest.cc  >&5
configure:8165: $? = 0
configure:8169: test -z 
			 || test ! -s conftest.err
configure:8172: $? = 0
configure:8175: test -s conftest
configure:8178: $? = 0
configure:8190: result: yes
configure:8102: checking for select
configure:8159: g++ -o conftest    conftest.cc  >&5
configure:8165: $? = 0
configure:8169: test -z 
			 || test ! -s conftest.err
configure:8172: $? = 0
configure:8175: test -s conftest
configure:8178: $? = 0
configure:8190: result: yes
configure:8102: checking for socket
configure:8159: g++ -o conftest    conftest.cc  >&5
configure:8165: $? = 0
configure:8169: test -z 
			 || test ! -s conftest.err
configure:8172: $? = 0
configure:8175: test -s conftest
configure:8178: $? = 0
configure:8190: result: yes
configure:8102: checking for sqrt
configure:8159: g++ -o conftest    conftest.cc  >&5
configure:8165: $? = 0
configure:8169: test -z 
			 || test ! -s conftest.err
configure:8172: $? = 0
configure:8175: test -s conftest
configure:8178: $? = 0
configure:8190: result: yes
configure:8102: checking for strcasecmp
configure:8159: g++ -o conftest    conftest.cc  >&5
configure:8165: $? = 0
configure:8169: test -z 
			 || test ! -s conftest.err
configure:8172: $? = 0
configure:8175: test -s conftest
configure:8178: $? = 0
configure:8190: result: yes
configure:8102: checking for strchr
configure:8159: g++ -o conftest    conftest.cc  >&5
configure:8165: $? = 0
configure:8169: test -z 
			 || test ! -s conftest.err
configure:8172:
dholm
Insys Pilot
Insys Pilot
Posts: 2
Joined: Wed Feb 16, 2005 12:31 pm
Location: Gothenburg, Sweden
Contact:

Post by dholm »

Here is a fix for the endianess.h problem.

Code: Select all

--- vegastrike/objconv/mesher/endianness.h.orig	2005-02-16 12:47:24.330710008 +0100
+++ vegastrike/objconv/mesher/endianness.h	2005-02-16 12:47:32.564458288 +0100
@@ -53,7 +53,7 @@
     # include <byteswap.h>
     # define le32_to_cpu(x) (bswap_32(x))
     # define le16_to_cpu(x) (bswap_16(x))
-    # define le64_to_cpu(x) (DONTUSE__NXSwapBigDoubleToLittle(x))
+    # define le64_to_cpu(x) (DONTUSE__NXSwapBigDoubleToLittleEndian(x))
     #else
     # define le32_to_cpu(x) (x)
     # define le16_to_cpu(x) (x)
(Bah, you should enable attaching patches to forum posts)
Post Reply