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).
Beowulf
Mercenary
Posts: 121 Joined: Thu Jan 15, 2004 5:42 pm
Post
by Beowulf » Tue Jun 29, 2004 9:10 pm
Hi,
I'm trying to compile the latest cvs version of vegastrike on Source Mage Linux, but I get the following error:
Code: Select all
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_AL=1 -DUSE_STENCIL_BUFFER=1 -I/usr/include/python2.3 -DHAVE_PYTHON=1 -DUSE_BOOST_128=1 -I../../src/boost -I../../src -pipe -falign-loops=2 -falign-jumps=2 -falign-functions=2 -I/usr/include/SDL -D_REENTRANT -pthread -pipe -MT gl_init.o -MD -MP -MF ".deps/gl_init.Tpo" -c -o gl_init.o gl_init.cpp; \
then mv -f ".deps/gl_init.Tpo" ".deps/gl_init.Po"; else rm -f ".deps/gl_init.Tpo"; exit 1; fi
In file included from ../../src/easydom.h:35,
from ../../src/configxml.h:32,
from ../../src/config_xml.h:32,
from gl_init.cpp:29:
../../src/vsfilesystem.h:69: error: parse error before numeric constant
../../src/vsfilesystem.h:272: error: field `volume_type' has incomplete type
gl_init.cpp:70:1: warning: "GLX_GLXEXT_PROTOTYPES" redefined
gl_init.cpp:1:1: warning: this is the location of the previous definition
../../src/cmd/collection.h:54: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
make[4]: *** [gl_init.o] Error 1
make[4]: Leaving directory `/usr/src/vegastrike-20040629/vegastrike/src/gldrv'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/vegastrike-20040629/vegastrike/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/vegastrike-20040629/vegastrike'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/vegastrike-20040629/vegastrike'
You will find the configure.log at
http://www.hawo.stw.uni-erlangen.de/~si ... config.log
Thanks in advance.
"History is on the move, Captain. Those who cannot keep up will be left behind, to watch from a distance. And those who stand in our way, will not watch at all."
Grand Admiral Thrawn
hellcatv
Developer
Posts: 3980 Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:
Post
by hellcatv » Tue Jun 29, 2004 10:31 pm
arrgh I hate that broken compiler :-X
it mixes up local constants with global ones
and it appears some header has #define'd Big to be something else...
*sigh*
I'll try to work around this.... the lengths I go through to support broken compilers
in the meantime you can grab gcc-3.4 or 3.3 and build away
hellcatv
Developer
Posts: 3980 Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:
Post
by hellcatv » Wed Jun 30, 2004 12:30 am
ok I committed a workaround
you can update and build with the old compiler
let me knooow if you run into more issues
Guest
Post
by Guest » Wed Jun 30, 2004 11:26 am
I was using gcc 3.3.3 -- but your workaround seems to work. Now I run into the next error:
Code: Select all
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_AL=1 -DUSE_STENCIL_BUFFER=1 -I/usr/include/python2.3 -DHAVE_PYTHON=1 -DUSE_BOOST_128=1 -I../../src/boost -I../../src -pipe -falign-loops=2 -falign-jumps=2 -falign-functions=2 -I/usr/include/SDL -D_REENTRANT -pthread -pipe -MT hashtable.o -MD -MP -MF ".deps/hashtable.Tpo" -c -o hashtable.o hashtable.cpp; \
then mv -f ".deps/hashtable.Tpo" ".deps/hashtable.Po"; else rm -f ".deps/hashtable.Tpo"; exit 1; fi
make[4]: *** No rule to make target `to_obj.cpp', needed by `to_obj.o'. Stop.
make[4]: Leaving directory `/usr/src/vegastrike-20040630/vegastrike/objconv/mesher'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/vegastrike-20040630/vegastrike/objconv'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/vegastrike-20040630/vegastrike'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/vegastrike-20040630/vegastrike'
I am using the following versions of tools and libraries:
make -- 3.80
gcc -- 3.3.3
automake -- 1.8.5
autoconf -- 2.59
X11 -- xfree86 4.4.0
libpng -- 1.2.5
python -- 2.3.4
expat -- 1.95.7
jpeg -- 6b
Beowulf
Mercenary
Posts: 121 Joined: Thu Jan 15, 2004 5:42 pm
Post
by Beowulf » Wed Jun 30, 2004 11:27 am
irks -- forgot to log in -- that 'guest' up there is me.
"History is on the move, Captain. Those who cannot keep up will be left behind, to watch from a distance. And those who stand in our way, will not watch at all."
Grand Admiral Thrawn
myrddin_emrys
Star Pilot
Posts: 5 Joined: Fri Jun 25, 2004 6:27 am
Post
by myrddin_emrys » Wed Jun 30, 2004 11:14 pm
Hey, I got the same problem with building CVS:
Making all in mesher
make[3]: Entering directory `/home/justin/vegastrike-0.4.1-installer/vegastrike/objconv/mesher'
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_AL=1 -I/usr/include/python2.3 -DHAVE_PYTHON=1 -DUSE_BOOST_128=1 -I../../src/boost -I../../src -pipe -falign-loops=2 -falign-jumps=2 -falign-functions=2 -I/usr/include/SDL -D_REENTRANT -pthread -pipe -MT converter.o -MD -MP -MF ".deps/converter.Tpo" -c -o converter.o converter.cpp; \
then mv -f ".deps/converter.Tpo" ".deps/converter.Po"; else rm -f ".deps/converter.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_AL=1 -I/usr/include/python2.3 -DHAVE_PYTHON=1 -DUSE_BOOST_128=1 -I../../src/boost -I../../src -pipe -falign-loops=2 -falign-jumps=2 -falign-functions=2 -I/usr/include/SDL -D_REENTRANT -pthread -pipe -MT from_BFXM.o -MD -MP -MF ".deps/from_BFXM.Tpo" -c -o from_BFXM.o from_BFXM.cpp; \
then mv -f ".deps/from_BFXM.Tpo" ".deps/from_BFXM.Po"; else rm -f ".deps/from_BFXM.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_AL=1 -I/usr/include/python2.3 -DHAVE_PYTHON=1 -DUSE_BOOST_128=1 -I../../src/boost -I../../src -pipe -falign-loops=2 -falign-jumps=2 -falign-functions=2 -I/usr/include/SDL -D_REENTRANT -pthread -pipe -MT hashtable.o -MD -MP -MF ".deps/hashtable.Tpo" -c -o hashtable.o hashtable.cpp; \
then mv -f ".deps/hashtable.Tpo" ".deps/hashtable.Po"; else rm -f ".deps/hashtable.Tpo"; exit 1; fi
make[3]: *** No rule to make target `to_obj.cpp', needed by `to_obj.o'. Stop.
make[3]: Leaving directory `/home/justin/vegastrike-0.4.1-installer/vegastrike/objconv/mesher'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/justin/vegastrike-0.4.1-installer/vegastrike/objconv'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/justin/vegastrike-0.4.1-installer/vegastrike'
make: *** [all] Error 2
My gcc is:
gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)
Regards,
Justin
ace123
Lead Network Developer
Posts: 2560 Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:
Post
by ace123 » Thu Jul 01, 2004 8:22 am
the vegastrike binary should have still been built.
If not, run "make -k" or "make" in the vegastrike/src directory.
The objconv/mesher is not needed to run vegas trike