Compile error with current CVS

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
peteyg
Elite
Elite
Posts: 1465
Joined: Thu Jan 02, 2003 12:01 pm
Location: Seattle, WA
Contact:

Compile error with current CVS

Post by peteyg »

Hey guys,

I've been getting an error compiling the CVS for the past week or so. I don't think I've changed my setup at all, and I've successfully compiled many times before.

Here's my config.log http://students.washington.edu/peteyg/bbcrap/config.log

Here's the last little bit of output:

g++ -pipe -falign-loops=2 -falign-jumps=2 -falign-functions=2 -I/usr/include/
SDL -D_REENTRANT -pthread -pipe -L/usr/X11R6/lib -L/usr/X11R6/lib -o vegastrik
e vsfilesystem.o posh.o stardate.o star_system_xml.o star_system_generic.o univ
erse_generic.o universe_util_generic.o galaxy.o galaxy_xml.o galaxy_gen.o factio
n_generic.o hashtable.o configxml.o easydom.o xml_serializer.o xml_support.o lin
_time.o endianness.o faction_util_generic.o load_mission.o savegame.o pk3.o vs_g
lobals.o debug_vs.o gfxlib_struct.o in_joystick.o force_feedback.o faction_util.
o in_kb.o in_sdl.o in_mouse.o in_main.o in_handler.o main_loop.o physics.o star_
system_jump.o star_system.o universe.o universe_util.o config_xml.o macosx_math.
o cg_global.o main.o networking/netserver_devices.o aldrv/libaldrv.a networking/
libnetclient.a networking/lowlevel/libnetlowlevel.a cmd/script/script_call_brief
ing.o cmd/script/libscript.a cmd/script/c_alike/libc_alike.a python/briefing_wra
pper.o cmd/libcmd.a cmd/base_init.o python/libpython.a gfx/libgfx.a gldrv/libgld
rv.a cmd/ai/libai.a gui/libgui.a networking/libnet.a cmd/collide/libcollide.a bo
ost129/libboost_python.a boost/libboost_python.a gfx/nav/libnav.a -lz -L/usr/lib
-Wl,-rpath,/usr/lib -lSDL -lpthread -lGL -lGLU -lglut -lXi -lXmu -lexpat -lpng -ljpeg -lopenal /usr/lib/python2.2/config/libpython2.2.a -Xlinker -expo rt-dynamic -pthread
/usr/lib/python2.2/config/libpython2.2.a(posixmodule.o)(.text+0x425c): In functi on `posix_tmpnam':
: warning: the use of `tmpnam_r' is dangerous, better use `mkstemp'
/usr/lib/python2.2/config/libpython2.2.a(posixmodule.o)(.text+0x4150): In functi on `posix_tempnam':
: warning: the use of `tempnam' is dangerous, better use `mkstemp'
/usr/lib/python2.2/config/libpython2.2.a(posixmodule.o)(.text+0x1cdb): In functi on `posix_openpty':
: undefined reference to `openpty'
/usr/lib/python2.2/config/libpython2.2.a(posixmodule.o)(.text+0x1d72): In functi on `posix_forkpty':
: undefined reference to `forkpty'
collect2: ld returned 1 exit status
make[3]: *** [vegastrike] Error 1
make[3]: Leaving directory `/usr/local/vegastrike/vegastrike/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/vegastrike/vegastrike/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/vegastrike/vegastrike'
make: *** [all] Error 2
Surfdargent
Developer
Developer
Posts: 153
Joined: Wed Jan 22, 2003 4:28 am
Location: Reunion Island
Contact:

Post by Surfdargent »

Are you under FreeBSD ?
If you are, this is fixed since yesterday night in CVS.

There was a lib used by both cygwin and FreeBSD which dissapeared from cygwin a few months ago (and thus is not needed anymore). But I forgot FreeBSD needs it so I removed it and noticed it was wrong when I compiled VS under FreeBSD.
peteyg
Elite
Elite
Posts: 1465
Joined: Thu Jan 02, 2003 12:01 pm
Location: Seattle, WA
Contact:

Post by peteyg »

No, I'm running Gentoo Linux.

Hmmm.
Surfdargent
Developer
Developer
Posts: 153
Joined: Wed Jan 22, 2003 4:28 am
Location: Reunion Island
Contact:

Post by Surfdargent »

Well, you can try to add -lutil on the link line (this is what is needed for FreeBSD).
Post Reply