compile error on mandrake 9.1

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
mcv

compile error on mandrake 9.1

Post by mcv »

hi,
cant get vegastrike 0.4.1 working.. below is my config.log

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

configure:632: checking host system type
configure:653: checking target system type
configure:687: checking for a BSD compatible install
configure:740: checking whether build environment is sane
configure:797: checking whether make sets ${MAKE}
configure:843: checking for working aclocal-1.4
configure:856: checking for working autoconf
configure:869: checking for working automake-1.4
configure:882: checking for working autoheader
configure:895: checking for working makeinfo
configure:916: checking for gcc
configure:1029: checking whether the C compiler (gcc ) works
configure:1045: gcc -o conftest conftest.c 1>&5
configure:1071: checking whether the C compiler (gcc ) is a cross-compiler
configure:1076: checking whether we are using GNU C
configure:1104: checking whether gcc accepts -g
configure:1146: gcc -c -falign-loops=4 conftest.c 1>&5
configure:1167: checking for c++
configure:1199: checking whether the C++ compiler (c++ ) works
configure:1215: c++ -o conftest conftest.C 1>&5
configure:1241: checking whether the C++ compiler (c++ ) is a cross-compiler
configure:1246: checking whether we are using GNU C++
configure:1274: checking whether c++ accepts -g
configure:1306: checking how to run the C++ preprocessor
configure:1362: checking for a BSD compatible install
configure:1415: checking whether ln -s works
configure:1438: checking for ranlib
configure:1467: checking how to run the C preprocessor
configure:1547: checking for ANSI C header files
configure:1655: checking for dirent.h that defines DIR
configure:1693: checking for opendir in -ldir
configure:1779: checking for fcntl.h
configure:1779: checking for limits.h
configure:1779: checking for malloc.h
configure:1779: checking for sys/ioctl.h
configure:1779: checking for sys/time.h
configure:1779: checking for unistd.h
configure:1819: checking for working const
configure:1894: checking whether time.h and sys/time.h may both be included
configure:1929: checking for inline
configure:1969: checking for size_t
configure:2006: checking for getcwd
configure:2006: checking for gettimeofday
configure:2006: checking for strdup
configure:2006: checking for select
configure:2006: checking for socket
configure:2006: checking for strstr
configure:2006: checking for access
configure:2006: checking for lstat
configure:2062: checking for finite
configure:2062: checking for isnan
configure:2117: checking for _finite
configure:2117: checking for _isnan
configure:2173: checking for ieeefp.h
configure:2173: checking for zlib.h
configure:2254: checking for getpagesize
configure:2307: checking for working mmap
configure:2478: checking for 8-bit clean memcmp
configure:2546: gcc -c conftest.c 1>&5
configure:2576: gcc -c -gdwarf-2 -g3 conftest.c 1>&5
configure:2678: checking for Win32 platform
configure:2709: checking for Linux platform
configure:2737: checking for MacOSX platform
configure:2781: checking for python
configure:2958: checking for sdl-config
configure:2993: checking for SDL - version >= 1.0.1
configure:3078: gcc -o conftest -I/usr/local/include/SDL -D_REENTRANT conftest.c -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread 1>&5
configure:3168: checking for SDL_JoystickOpen
configure:3240: checking for Mix_OpenAudio in -lSDL_mixer
configure:3330: checking for GL library
configure:3340: gcc -o conftest conftest.c -lutil -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread -lGL 1>&5
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
configure: failed program was:
#line 3333 "configure"
#include "confdefs.h"

int main() {

; return 0; }
configure:3358: checking for GL library (with pthreads)
configure:3368: gcc -o conftest conftest.c -lutil -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread -lGL -lpthread 1>&5
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
configure: failed program was:
#line 3361 "configure"
#include "confdefs.h"

int main() {

; return 0; }
configure:3397: checking for MesaGL library
configure:3407: gcc -o conftest conftest.c -lutil -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread -lMesaGL 1>&5
/usr/bin/ld: cannot find -lMesaGL
collect2: ld returned 1 exit status
configure: failed program was:
#line 3400 "configure"
#include "confdefs.h"

int main() {

; return 0; }
configure:3425: checking for MesaGL library (with pthreads)
configure:3435: gcc -o conftest conftest.c -lutil -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread -lMesaGL -lpthread 1>&5
/usr/bin/ld: cannot find -lMesaGL
collect2: ld returned 1 exit status
configure: failed program was:
#line 3428 "configure"
#include "confdefs.h"

int main() {

; return 0; }
configure:3397: checking for opengl32 library
configure:3407: gcc -o conftest conftest.c -lutil -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread -lopengl32 1>&5
/usr/bin/ld: cannot find -lopengl32
collect2: ld returned 1 exit status
configure: failed program was:
#line 3400 "configure"
#include "confdefs.h"

int main() {

; return 0; }
configure:3425: checking for opengl32 library (with pthreads)
configure:3435: gcc -o conftest conftest.c -lutil -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread -lopengl32 -lpthread 1>&5
/usr/bin/ld: cannot find -lopengl32
collect2: ld returned 1 exit status
configure: failed program was:
#line 3428 "configure"
#include "confdefs.h"

int main() {

; return 0; }
configure:3474: checking for GL library
configure:3484: gcc -o conftest conftest.c -lutil -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread -L/usr/X11R6/lib -lGL 1>&5
configure:3613: checking for glXGetProcAddressARB
configure:3711: checking for GLU library
configure:3721: gcc -o conftest conftest.c -lutil -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread -L/usr/X11R6/lib -lGL -lGLU 1>&5
configure:4017: checking for GL/gl.h
configure:4027: gcc -E -DHAVE_SDL=1 -DSDL_WINDOWING=1 conftest.c >/dev/null 2>conftest.out
configure:4092: checking for GL/glext.h
configure:4142: checking whether glext.h is recent enough
configure:4206: checking for glut32 library
configure:4222: gcc -o conftest -L/usr/X11R6/lib conftest.c -lutil -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread -L/usr/X11R6/lib -lGL -lGLU -lglut32 -lXi -lXmu 1>&5
/usr/bin/ld: cannot find -lglut32
collect2: ld returned 1 exit status
configure: failed program was:
#line 4215 "configure"
#include "confdefs.h"

int main() {

; return 0; }
configure:4206: checking for glut library
configure:4222: gcc -o conftest -L/usr/X11R6/lib -L/usr/X11R6/lib conftest.c -lutil -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread -L/usr/X11R6/lib -lGL -lGLU -lglut -lXi -lXmu 1>&5
configure:4273: checking for GL/glut.h
configure:4336: checking for expat library
configure:4346: gcc -o conftest -L/usr/X11R6/lib -L/usr/X11R6/lib conftest.c -lexpat 1>&5
configure:4394: checking for expat.h
configure:4458: checking for png library
configure:4468: gcc -o conftest -L/usr/X11R6/lib -L/usr/X11R6/lib conftest.c -lpng 1>&5
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../libpng.so: undefined reference to `deflate'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../libpng.so: undefined reference to `inflate'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../libpng.so: undefined reference to `inflateInit_'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../libpng.so: undefined reference to `crc32'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../libpng.so: undefined reference to `pow'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../libpng.so: undefined reference to `deflateInit2_'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../libpng.so: undefined reference to `inflateReset'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../libpng.so: undefined reference to `deflateReset'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../libpng.so: undefined reference to `inflateEnd'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../libpng.so: undefined reference to `deflateEnd'
collect2: ld returned 1 exit status
configure: failed program was:
#line 4461 "configure"
#include "confdefs.h"

int main() {

; return 0; }
configure:4458: checking for png12 library
configure:4468: gcc -o conftest -L/usr/X11R6/lib -L/usr/X11R6/lib conftest.c -lpng12 1>&5
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../libpng12.so: undefined reference to `deflate'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../libpng12.so: undefined reference to `inflate'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../libpng12.so: undefined reference to `inflateInit_'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../libpng12.so: undefined reference to `crc32'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../libpng12.so: undefined reference to `pow'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../libpng12.so: undefined reference to `deflateInit2_'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../libpng12.so: undefined reference to `inflateReset'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../libpng12.so: undefined reference to `deflateReset'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../libpng12.so: undefined reference to `inflateEnd'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../libpng12.so: undefined reference to `deflateEnd'
collect2: ld returned 1 exit status
configure: failed program was:
#line 4461 "configure"
#include "confdefs.h"

int main() {

; return 0; }
configure:4490: checking for png -lz -lm library
configure:4500: gcc -o conftest -L/usr/X11R6/lib -L/usr/X11R6/lib conftest.c -lpng -lz -lm 1>&5
configure:4543: checking for png.h
configure:4614: checking for jpeg library
configure:4624: gcc -o conftest -L/usr/X11R6/lib -L/usr/X11R6/lib conftest.c -ljpeg 1>&5
configure:4672: checking for jpeglib.h
configure:4748: checking for openal library
configure:4758: gcc -o conftest -L/usr/X11R6/lib -L/usr/X11R6/lib conftest.c 1>&5
configure:4815: checking for AL/al.h
configure:4822: gcc -E -DHAVE_SDL=1 -DSDL_WINDOWING=1 conftest.c >/dev/null 2>conftest.out
configure:4837: checking for al.h
configure:4844: gcc -E -DHAVE_SDL=1 -DSDL_WINDOWING=1 conftest.c >/dev/null 2>conftest.out
configure:4840:18: al.h: No such file or directory
configure: failed program was:
#line 4839 "configure"
#include "confdefs.h"
#include <al.h>
configure:4925: checking for AL/alext.h
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

hmm try adding -lz to configure.in wherever you see an -lpng
then run autoconf
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
Post Reply