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).
Glenn
Explorer
Posts: 13 Joined: Sat Nov 15, 2003 7:47 am
Post
by Glenn » Tue Aug 31, 2004 4:10 am
Code: Select all
/home/glenn/games/vegastrike-cvs/vegastrike/src/python/define_odd_unit_functions.h:13: undefined reference to `boost::python::to_python(boost::python::tuple const&)'
python/libpython.a(unit_method_defs.o)(.gnu.linkonce.t._ZN5boost6python6callerINS0_5tupleEE4callI11UnitWrapperEEP7_objectMT_FS2_vES7_S7_+0x9a): In function `_object* boost::python::caller<boost::python::tuple>::call<UnitWrapper>(boost::python::tuple (UnitWrapper::*)(), _object*, _object*)':
/home/glenn/games/vegastrike-cvs/vegastrike/src/python/define_odd_unit_functions.h:7: undefined reference to `boost::python::to_python(boost::python::tuple const&)'
gfx/libgfx.a(vdu.o)(.text+0x994e): In function `VDU::DrawWebcam(Unit*)':
/home/glenn/games/vegastrike-cvs/vegastrike/src/gfx/vdu.cpp:882: undefined reference to `NetClient::hasWebcam()'
gfx/libgfx.a(vdu.o)(.text+0x9974):/home/glenn/games/vegastrike-cvs/vegastrike/src/gfx/vdu.cpp:884: undefined reference to `NetClient::getWebcamFromNetwork(int&)'
gfx/libgfx.a(vdu.o)(.text+0xa63c): In function `VDU::Draw(Unit*, GFXColor const&)':
/home/glenn/games/vegastrike-cvs/vegastrike/src/gfx/vdu.cpp:959: undefined reference to `NetClient::IsNetcommSecured() const'
gfx/libgfx.a(vdu.o)(.text+0xa68b):/home/glenn/games/vegastrike-cvs/vegastrike/src/gfx/vdu.cpp:962: undefined reference to `NetClient::getCurrentFrequency()'
gfx/libgfx.a(vdu.o)(.text+0xa7c6):/home/glenn/games/vegastrike-cvs/vegastrike/src/gfx/vdu.cpp:965: undefined reference to `NetClient::getSelectedFrequency()'
gfx/libgfx.a(vdu.o)(.text+0xa8e3):/home/glenn/games/vegastrike-cvs/vegastrike/src/gfx/vdu.cpp:967: undefined reference to `NetClient::IsNetcommSecured() const'
gfx/libgfx.a(vdu.o)(.text+0xa914):/home/glenn/games/vegastrike-cvs/vegastrike/src/gfx/vdu.cpp:969: undefined reference to `NetClient::IsNetcommActive() const'
gfx/libgfx.a(vdu.o)(.text+0xaed3): In function `VDU::SwitchMode(Unit*)':
/home/glenn/games/vegastrike-cvs/vegastrike/src/gfx/vdu.cpp:1071: undefined reference to `NetClient::stopWebcamTransfer()'
gfx/libgfx.a(vdu.o)(.text+0xb00f):/home/glenn/games/vegastrike-cvs/vegastrike/src/gfx/vdu.cpp:1093: undefined reference to `NetClient::startWebcamTransfer()'
cmd/ai/libai.a(flykeyboard.o)(.text+0xaca): In function `FlyByKeyboard::Execute(bool)':
/home/glenn/games/vegastrike-cvs/vegastrike/src/cmd/ai/flykeyboard.cpp:160: undefined reference to `NetClient::stopCommunication()'
cmd/ai/libai.a(flykeyboard.o)(.text+0xb67):/home/glenn/games/vegastrike-cvs/vegastrike/src/cmd/ai/flykeyboard.cpp:165: undefined reference to `NetClient::startCommunication()'
cmd/ai/libai.a(flykeyboard.o)(.text+0xbe6):/home/glenn/games/vegastrike-cvs/vegastrike/src/cmd/ai/flykeyboard.cpp:171: undefined reference to `NetClient::increaseFrequency()'
cmd/ai/libai.a(flykeyboard.o)(.text+0xc48):/home/glenn/games/vegastrike-cvs/vegastrike/src/cmd/ai/flykeyboard.cpp:176: undefined reference to `NetClient::decreaseFrequency()'
cmd/ai/libai.a(flykeyboard.o)(.text+0xcaa):/home/glenn/games/vegastrike-cvs/vegastrike/src/cmd/ai/flykeyboard.cpp:181: undefined reference to `NetClient::switchWebcam()'
cmd/ai/libai.a(flykeyboard.o)(.text+0xd0c):/home/glenn/games/vegastrike-cvs/vegastrike/src/cmd/ai/flykeyboard.cpp:186: undefined reference to `NetClient::switchSecured()'
collect2: ld returned 1 exit status
make[3]: *** [vegastrike] Error 1
make[3]: Leaving directory `/home/glenn/games/vegastrike-cvs/vegastrike/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/glenn/games/vegastrike-cvs/vegastrike/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/glenn/games/vegastrike-cvs/vegastrike'
make: *** [all] Error 2
Cheers for any help
hellcatv
Developer
Posts: 3980 Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:
Post
by hellcatv » Tue Aug 31, 2004 9:34 am
sounds like more munged dependencies
did you ever build an old version
if so make clean ; make may be your only option
but it looks like some nasty undefineds
also make sure src/vegastrike didn't actually build and it's some accountserver or vegaserver that failed
Glenn
Explorer
Posts: 13 Joined: Sat Nov 15, 2003 7:47 am
Post
by Glenn » Wed Sep 01, 2004 11:16 am
A make clean did the trick.
hellcatv
Developer
Posts: 3980 Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:
Post
by hellcatv » Wed Sep 01, 2004 2:58 pm
awesome
thanks for sitting through it
Glenn
Explorer
Posts: 13 Joined: Sat Nov 15, 2003 7:47 am
Post
by Glenn » Thu Sep 02, 2004 11:14 am
Ah nuts.
When I needed space in a hurry I went make clean as root and I think it has something to do with all these prompts coming up when I go through all the usual cvs steps and then go make
Code: Select all
/usr/include/python2.3/pyconfig.h:847:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/math.h:27,
from director_server.cpp:25:
/usr/include/features.h:131:1: warning: this is the location of the previous definition
mv: overwrite `.deps/director_server.Po', overriding mode 0644?
Everytime I press yes or enter or whatever it comes up with the same message, different file.
Rather than pressing enter more times than I can count or perhaps compiling as root (would that work anyway) Is there a quick fix to this?
Glenn
Explorer
Posts: 13 Joined: Sat Nov 15, 2003 7:47 am
Post
by Glenn » Thu Sep 02, 2004 12:26 pm
Running make as root works but I'd rather not have to do that.
...warning: this is the location of the previous definition
appears lots but it gets ignored as root.
Wouldn't that mean a whole bunch of permissions have changed. Beats me, guess I'm not a computer geek yet.
Glenn
Explorer
Posts: 13 Joined: Sat Nov 15, 2003 7:47 am
Post
by Glenn » Thu Sep 02, 2004 12:32 pm
Oh, great. It cans out with this error anyway
Code: Select all
-o gl_clip.o `test -f 'gl_clip.cpp' || echo './'`gl_clip.cpp
source='gl_globals.cpp' object='gl_globals.o' libtool=no \
depfile='.deps/gl_globals.Po' tmpdepfile='.deps/gl_globals.TPo' \
depmode=gcc3 /bin/sh ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_AL=1 -DDATA_DIR=\"../data4.x/\" -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 -c -o gl_globals.o `test -f 'gl_globals.cpp' || echo './'`gl_globals.cpp
In file included from gl_globals.cpp:22:
gl_globals.h:132: error: syntax error before `;' token
gl_globals.h:133: error: syntax error before `;' token
gl_globals.h:134: error: syntax error before `;' token
gl_globals.h:135: error: syntax error before `;' token
gl_globals.h:136: error: syntax error before `;' token
gl_globals.h:137: error: syntax error before `;' token
make[3]: *** [gl_globals.o] Error 1
make[3]: Leaving directory `/home/glenn/games/vegastrike-cvs/vegastrike/src/gldrv'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/glenn/games/vegastrike-cvs/vegastrike/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/glenn/games/vegastrike-cvs/vegastrike'
make: *** [all] Error 2
ace123
Lead Network Developer
Posts: 2560 Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:
Post
by ace123 » Thu Sep 02, 2004 8:26 pm
See this section of the wiki for that error:
http://vegastrike.sourceforge.net/phpwi ... talling#Q8
Also, about installing as root, if you do anything as root, you probably need to wither
make distclean or
chmod -R <youruser> .
Glenn
Explorer
Posts: 13 Joined: Sat Nov 15, 2003 7:47 am
Post
by Glenn » Fri Sep 03, 2004 3:46 am
How impulsive of me. I've had that very error before and fixed it the same way. However I do get this. It doesn't prevent it from compiling though
checking GL/glext.h usability... no
checking GL/glext.h presence... yes
configure: WARNING: GL/glext.h: present but cannot be compiled
configure: WARNING: GL/glext.h: check for missing prerequisite headers?
configure: WARNING: GL/glext.h: see the Autoconf documentation
configure: WARNING: GL/glext.h: section "Present But Cannot Be Compiled"
configure: WARNING: GL/glext.h: proceeding with the preprocessor's result
configure: WARNING: GL/glext.h: in the future, the compiler will take precedence
configure: WARNING: ## ------------------------------------- ##
configure: WARNING: ## Report this to the vegastrike lists. ##
configure: WARNING: ## ------------------------------------- ##
checking for GL/glext.h... yes
checking whether glext.h is recent enough... yes
The make distclean worked. Thanks.
As a side note, vegastrike refused to compile when I emerged nvidia 5336 drivers, saying that it couldn't find the opengl libraries. I went back to using nvidia 4496 and it works.
energyman76b
ISO Party Member
Posts: 445 Joined: Tue Feb 11, 2003 8:04 am
Post
by energyman76b » Fri Sep 03, 2004 4:36 am
Hi,
and after you emerged the nvidia 5336 drivers (which are really outdated) did you an opengl-update nvidia and a 'make clean' and a complete #./configure -blabla -youroptions'?
I hope you know, that 6111 is the latest linux-version and ebuilds for that are in the tree...
Glenn
Explorer
Posts: 13 Joined: Sat Nov 15, 2003 7:47 am
Post
by Glenn » Sun Sep 05, 2004 12:03 pm
I have 5336 drivers loaded and it's all sorted now. I think I just needed to do a make clean/distclean (can't remember what I did). I still get that compile error message though.