I just did a cvs update (the HEAD branch) , reconfigured, did a make clean, reran configure, and then ran make. The build dies as:
make[4]: Entering directory `/home/ronis/Project/notar/games/vegastrike_0_4_3/vegastrike/src/cmd/ai'
if /usr/bin/g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DHAVE_SDL=1 -DSDL_WINDOWING=1 -I/usr/X11R6/include -DHAVE_SDL=1 -DSDL_WINDOWING=1 -I/usr/X11R6/include -DHAVE_AL=1 -DHAVE_OGG -DDATA_DIR=\"/usr/local/share/vegastrike/data\" -I/usr/include/python2.4 -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 firekeyboard.o -MD -MP -MF ".deps/firekeyboard.Tpo" -c -o firekeyboard.o firekeyboard.cpp; \
then mv -f ".deps/firekeyboard.Tpo" ".deps/firekeyboard.Po"; else rm -f ".deps/firekeyboard.Tpo"; exit 1; fi
In file included from ../../../src/vegastrike.h:76,
from ../../../src/cmd/unit_generic.h:33,
from communication.h:3,
from firekeyboard.h:6,
from firekeyboard.cpp:2:
/usr/X11R6/include/GL/glut.h:63:1: warning: "APIENTRY" redefined
In file included from ../../../src/vegastrike.h:74,
from ../../../src/cmd/unit_generic.h:33,
from communication.h:3,
from firekeyboard.h:6,
from firekeyboard.cpp:2:
/usr/X11R6/include/GL/glut.h:63:1: warning: "APIENTRY" redefined
In file included from ../../../src/vegastrike.h:74,
from ../../../src/cmd/unit_generic.h:33,
from communication.h:3,
from firekeyboard.h:6,
from firekeyboard.cpp:2:
/usr/X11R6/include/GL/gl.h:99:1: warning: this is the location of the previous definition
In file included from /usr/include/python2.4/Python.h:8,
from ../../../src/python/python_class.h:3,
from ../../../src/cmd/unit.cpp:49,
from ../../../src/cmd/unit.h:264,
from ../../../src/cmd/planet.h:10,
from firekeyboard.cpp:13:
/usr/include/python2.4/pyconfig.h:835:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../include/c++/3.4.3/i686-pc-linux-gnu/bits/os_defines.h:39,
from /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../include/c++/3.4.3/i686-pc-linux-gnu/bits/c++config.h:35,
from /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../include/c++/3.4.3/bits/stl_algobase.h:64,
from /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../include/c++/3.4.3/bits/stl_tree.h:66,
from /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../include/c++/3.4.3/set:66,
from firekeyboard.cpp:1:
/usr/include/features.h:150:1: warning: this is the location of the previous definition
In file included from ../../../src/cmd/unit.cpp:59,
from ../../../src/cmd/unit.h:264,
from ../../../src/cmd/planet.h:10,
from firekeyboard.cpp:13:
../../../src/cmd/unit_damage.cpp: In member function `void GameUnit<UnitType>::Split(int)':
../../../src/cmd/unit_damage.cpp:57: error: `name' undeclared (first use this function)
../../../src/cmd/unit_damage.cpp:57: error: (Each undeclared identifier is reported only once for each function it appears in.)
../../../src/cmd/unit_damage.cpp:72: error: `faction' undeclared (first use this function)
make[4]: *** [firekeyboard.o] Error 1
make[4]: Leaving directory `/home/ronis/Project/notar/games/vegastrike_0_4_3/vegastrike/src/cmd/ai'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/ronis/Project/notar/games/vegastrike_0_4_3/vegastrike/src/cmd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ronis/Project/notar/games/vegastrike_0_4_3/vegastrike/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ronis/Project/notar/games/vegastrike_0_4_3/vegastrike'
make: *** [all] Error 2
O'm on a linux box (slackware-10.1), using gcc-3.4.3. It worked on yesterday's CVS.
David
Build failure in today's CVS
-
- Trader
- Posts: 16
- Joined: Wed Feb 23, 2005 8:16 pm
- Location: Montreal, CANADA
-
- Developer
- Posts: 3980
- Joined: Fri Jan 03, 2003 4:53 am
- Location: Stanford, CA
- Contact:
thank you...I will fix these asap...
my bad
my bad
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
http://vegastrike.sourceforge.net/
-
- Trader
- Posts: 16
- Joined: Wed Feb 23, 2005 8:16 pm
- Location: Montreal, CANADA
There were a bunch of check-ins in relevant files, but the error is still present. Here's the first
point the compile fails:
[../../../src/cmd/unit_damage.cpp: In member function `void GameUnit<UnitType>::Split(int)':
../../../src/cmd/unit_damage.cpp:63: error: `name' undeclared (first use this function)
../../../src/cmd/unit_damage.cpp:63: error: (Each undeclared identifier is repor
point the compile fails:
[../../../src/cmd/unit_damage.cpp: In member function `void GameUnit<UnitType>::Split(int)':
../../../src/cmd/unit_damage.cpp:63: error: `name' undeclared (first use this function)
../../../src/cmd/unit_damage.cpp:63: error: (Each undeclared identifier is repor
-
- Developer
- Posts: 3980
- Joined: Fri Jan 03, 2003 4:53 am
- Location: Stanford, CA
- Contact:
older compilers don't give said error, so it's tricky to track them all down without a full list of errors...
Ive tried committing a revised version--hopefully it works (sometimes sf.net takes a while to actually process commits--like 6-8 hours)
Ive tried committing a revised version--hopefully it works (sometimes sf.net takes a while to actually process commits--like 6-8 hours)
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
http://vegastrike.sourceforge.net/