Problems compiling 4.1D under Gentoo Linux 1.4

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
Painless
Hunter
Hunter
Posts: 68
Joined: Wed Sep 24, 2003 8:52 pm
Location: Maryland, USA
Contact:

Problems compiling 4.1D under Gentoo Linux 1.4

Post by Painless »

I'm trying to build vegastrike from the latest 4.1D tarball under Gentoo Linux 1.4....

The final lines of the build process look like this:

Code: Select all

g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src          -I../../src/boost  -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_SDL_MIXER=1      -DHAVE_AL=1   -I/usr/include/python2.2 -DHAVE_PYTHON=1  -DUSE_BOOST_128=1   -pipe -O2 -fexpensive-optimizations -fomit-frame-pointer -Wall -ffast-math   -I/usr/include/SDL -D_REENTRANT -pipe  -c gl_init.cpp
gl_init.cpp: In function `void init_opengl_extensions()':
gl_init.cpp:106: `glXGetProcAddressARB' undeclared (first use this function)
gl_init.cpp:106: (Each undeclared identifier is reported only once for each
   function it appears in.)
make[3]: *** [gl_init.o] Error 1
make[3]: Leaving directory `/usr/src/vegastrike-0.4.1-installer/vegastrike/src/gldrv'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/vegastrike-0.4.1-installer/vegastrike/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/vegastrike-0.4.1-installer/vegastrike'
make: *** [all-recursive-am] Error 2
Compiling FleetYards... display_gtk../src/include/display_gtk.cpp: In function `void AddCats(GtkWidget*, char*,
   char*)':
../src/include/display_gtk.cpp:133: warning: unused variable `char*new_text'
../src/include/display_gtk.cpp:134: warning: unused variable `int length'
../src/include/display_gtk.cpp:135: warning: unused variable `GtkWidget*button'
../src/include/display_gtk.cpp: In function `void ClickButton(GtkWidget*,
   catagory*)':
../src/include/display_gtk.cpp:160: warning: unused variable `GtkWidget*label'
file
        setup... Done
 
Time Elapsed: 27 second
My config.log is as follows:

Code: Select all

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

configure:634: checking host system type
configure:655: checking target system type
configure:689: checking for a BSD compatible install
configure:742: checking whether build environment is sane
configure:799: checking whether make sets ${MAKE}
configure:845: checking for working aclocal-1.4
configure:858: checking for working autoconf
configure:871: checking for working automake-1.4
configure:884: checking for working autoheader
configure:897: checking for working makeinfo
configure:918: checking for gcc
configure:1031: checking whether the C compiler (gcc  ) works
configure:1047: gcc -o conftest    conftest.c  1>&5
configure:1073: checking whether the C compiler (gcc  ) is a cross-compiler
configure:1078: checking whether we are using GNU C
configure:1087: gcc -E conftest.c
configure:1106: checking whether gcc accepts -g
configure:1148: gcc -c  -falign-loops=4 conftest.c 1>&5
configure:1169: checking for c++
configure:1201: checking whether the C++ compiler (g++  ) works
configure:1217: g++ -o conftest    conftest.C  1>&5
configure:1243: checking whether the C++ compiler (g++  ) is a cross-compiler
configure:1248: checking whether we are using GNU C++
configure:1257: g++ -E conftest.C
configure:1276: checking whether g++ accepts -g
configure:1308: checking how to run the C++ preprocessor
configure:1326: g++ -E  conftest.C >/dev/null 2>conftest.out
configure:1364: checking for a BSD compatible install
configure:1417: checking whether ln -s works
configure:1440: checking for ranlib
configure:1469: checking how to run the C preprocessor
configure:1490: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1549: checking for ANSI C header files
configure:1562: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1629: gcc -o conftest    conftest.c  1>&5
configure:1657: checking for dirent.h that defines DIR
configure:1670: gcc -c   conftest.c 1>&5
configure:1695: checking for opendir in -ldir
configure:1714: gcc -o conftest    conftest.c -ldir   1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldir
collect2: ld returned 1 exit status
configure: failed program was:
#line 1703 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char opendir();

int main() {
opendir()
; return 0; }
configure:1781: checking for fcntl.h
configure:1791: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1781: checking for limits.h
configure:1791: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1781: checking for malloc.h
configure:1791: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1781: checking for sys/ioctl.h
configure:1791: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1781: checking for sys/time.h
configure:1791: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1781: checking for unistd.h
configure:1791: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1821: checking for working const
configure:1875: gcc -c   conftest.c 1>&5
configure:1896: checking whether time.h and sys/time.h may both be included
configure:1910: gcc -c   conftest.c 1>&5
configure:1931: checking for inline
configure:1945: gcc -c   conftest.c 1>&5
configure:1971: checking for size_t
configure:2008: checking for getcwd
configure:2036: gcc -o conftest    conftest.c  1>&5
configure:2008: checking for gettimeofday
configure:2036: gcc -o conftest    conftest.c  1>&5
configure:2008: checking for strdup
configure:2036: gcc -o conftest    conftest.c  1>&5
configure:2008: checking for select
configure:2036: gcc -o conftest    conftest.c  1>&5
configure:2008: checking for socket
configure:2036: gcc -o conftest    conftest.c  1>&5
configure:2008: checking for strstr
configure:2036: gcc -o conftest    conftest.c  1>&5
configure:2020: warning: conflicting types for built-in function `strstr'
configure:2008: checking for access
configure:2036: gcc -o conftest    conftest.c  1>&5
configure:2008: checking for lstat
configure:2036: gcc -o conftest    conftest.c  1>&5
configure:2064: checking for finite
configure:2092: gcc -o conftest    conftest.c  1>&5
configure:2064: checking for isnan
configure:2092: gcc -o conftest    conftest.c  1>&5
configure:2119: checking for _finite
configure:2147: gcc -o conftest    conftest.c  1>&5
/tmp/ccMSBxXM.o(.text+0x11): In function `main':
: undefined reference to `_finite'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2124 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char _finite(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char _finite();

int main() {

/* 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__finite) || defined (__stub____finite)
choke me
#else
_finite();
#endif

; return 0; }
configure:2119: checking for _isnan
configure:2147: gcc -o conftest    conftest.c  1>&5
/tmp/cc1Jrhmo.o(.text+0x11): In function `main':
: undefined reference to `_isnan'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2124 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char _isnan(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char _isnan();

int main() {

/* 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__isnan) || defined (__stub____isnan)
choke me
#else
_isnan();
#endif

; return 0; }
configure:2175: checking for ieeefp.h
configure:2185: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2181:20: ieeefp.h: No such file or directory
configure: failed program was:
#line 2180 "configure"
#include "confdefs.h"
#include <ieeefp.h>
configure:2175: checking for zlib.h
configure:2185: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2256: checking for getpagesize
configure:2284: gcc -o conftest    conftest.c  1>&5
configure:2309: checking for working mmap
configure:2457: gcc -o conftest    conftest.c  1>&5
configure:2480: checking for 8-bit clean memcmp
configure:2498: gcc -o conftest    conftest.c  1>&5
configure:2548: gcc -c   conftest.c 1>&5
configure:2578: gcc -c -gdwarf-2 -g3  conftest.c 1>&5
configure:2680: checking for Win32 platform
configure:2711: checking for Linux platform
configure:2739: checking for MacOSX platform
configure:2783: checking for python
configure:2960: checking for sdl-config
configure:2995: checking for SDL - version >= 1.0.1
configure:3080: gcc -o conftest  -I/usr/include/SDL -D_REENTRANT   conftest.c  -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread 1>&5
configure:3170: checking for SDL_JoystickOpen
configure:3198: gcc -o conftest    conftest.c   -lutil -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread 1>&5
configure:3242: checking for Mix_OpenAudio in -lSDL_mixer
configure:3261: gcc -o conftest    conftest.c -lSDL_mixer    -lutil -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread 1>&5
configure:3332: checking for GL library
configure:3342: gcc -o conftest    conftest.c   -lutil -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lSDL_mixer  -lGL 1>&5
configure:3615: checking for glXGetProcAddressARB
configure:3643: gcc -o conftest    conftest.c   -lutil -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lSDL_mixer  -lGL 1>&5
configure:3713: checking for GLU library
configure:3723: gcc -o conftest    conftest.c   -lutil -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lSDL_mixer  -lGL  -lGLU 1>&5
configure:4019: checking for GL/gl.h
configure:4029: gcc -E    -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_SDL_MIXER=1 conftest.c >/dev/null 2>conftest.out
configure:4094: checking for GL/glext.h
configure:4104: gcc -E    -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_SDL_MIXER=1 conftest.c >/dev/null 2>conftest.out
configure:4144: checking whether glext.h is recent enough
configure:4208: checking for glut32 library
configure:4224: gcc -o conftest   -L/usr/X11R6/lib  conftest.c   -lutil -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lSDL_mixer  -lGL  -lGLU  -lglut32 -lXi -lXmu 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lglut32
collect2: ld returned 1 exit status
configure: failed program was:
#line 4217 "configure"
#include "confdefs.h"

int main() {

; return 0; }
configure:4208: checking for glut library
configure:4224: gcc -o conftest   -L/usr/X11R6/lib -L/usr/X11R6/lib  conftest.c   -lutil -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lSDL_mixer  -lGL  -lGLU  -lglut -lXi -lXmu 1>&5
configure:4275: checking for GL/glut.h
configure:4285: gcc -E   -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_SDL_MIXER=1   conftest.c >/dev/null 2>conftest.out
configure:4338: checking for expat library
configure:4348: gcc -o conftest   -L/usr/X11R6/lib -L/usr/X11R6/lib  conftest.c  -lexpat 1>&5
configure:4396: checking for expat.h
configure:4406: gcc -E   -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_SDL_MIXER=1     conftest.c >/dev/null 2>conftest.out
configure:4460: checking for png library
configure:4470: gcc -o conftest   -L/usr/X11R6/lib -L/usr/X11R6/lib  conftest.c  -lpng 1>&5
configure:4545: checking for png.h
configure:4555: gcc -E   -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_SDL_MIXER=1      conftest.c >/dev/null 2>conftest.out
configure:4616: checking for jpeg library
configure:4626: gcc -o conftest   -L/usr/X11R6/lib -L/usr/X11R6/lib  conftest.c  -ljpeg 1>&5
configure:4674: checking for jpeglib.h
configure:4684: gcc -E   -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_SDL_MIXER=1       conftest.c >/dev/null 2>conftest.out
configure:4750: checking for openal library
configure:4760: gcc -o conftest   -L/usr/X11R6/lib -L/usr/X11R6/lib  conftest.c  1>&5
configure:4817: checking for AL/al.h
configure:4824: gcc -E   -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_SDL_MIXER=1      conftest.c >/dev/null 2>conftest.out
configure:4839: checking for al.h
configure:4846: gcc -E   -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_SDL_MIXER=1      conftest.c >/dev/null 2>conftest.out
configure:4842:18: al.h: No such file or directory
configure: failed program was:
#line 4841 "configure"
#include "confdefs.h"
 #include <al.h> 
configure:4927: checking for AL/alext.h
configure:4937: gcc -E   -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_SDL_MIXER=1      conftest.c >/dev/null 2>conftest.out
Any help would be greatly appreciated.

Russ.
Life down here is just a strange illusion
Post Reply