problems compiling on Mandrake 10.0

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
Patton73

problems compiling on Mandrake 10.0

Post by Patton73 »

i have some problems compiling vegastrike 0.4.2 on MDK10.0

1) while compiling soundserver.cpp it gives me this error

oundserver.cpp: In function `int main(int, char**)':
soundserver.cpp:282: error: `O_SHLOCK' undeclared (first use this function)
soundserver.cpp:282: error: (Each undeclared identifier is reported only once for each function it appears in.)
make[4]: *** [soundserver.o] Error 1

I can solve this one removing the O_SHLOCK flag but dunno if then it will work.

2) after removing this flag i continue compillation and i get this error

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 soundserver inet.o soundserver.o -L/usr/local/lib -L/usr/lib -lSDL -lpthread -lSDL_mixer -lutil -L/usr/lib -lSDL -lpthread -lGL -L/usr/X11R6/lib -lGLU -lglut -lXi -lXmu -lexpat -lpng -ljpeg -lopenal -lpython2.3 -Xlinker -export-dynamic -pthread
soundserver.o(.text+0x16): In function `my_getchar(int)':
: undefined reference to `fNET_fgetc(int)'
soundserver.o(.text+0x660): In function `music_finished()':
: undefined reference to `fNET_Write(int, int, char const*)'
soundserver.o(.text+0x965): In function `main':
: undefined reference to `fNET_startup()'
soundserver.o(.text+0x11a9): In function `main':
: undefined reference to `fNET_close(int)'
soundserver.o(.text+0x11ba): In function `main':
: undefined reference to `fNET_close(int)'
soundserver.o(.text+0x125a): In function `main':
: undefined reference to `fNET_cleanup()'
collect2: ld returned 1 exit status

seems as iI lack of some library but i could not figure out which one.
More the Configure worked out Makefiles without problems.

Any clues?

Thank you in advance.
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

I think I fixed the problems in CVS

THe problem is that it wasn't linked to inet_file.cpp
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

thanks!
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
Guest

problems in Mandrake 10.0 too

Post by Guest »

I'm speak English not so well.
I have problem too.
Making all in gldrv
make[3]: Entering directory `/mnt/lin/vegastrike-0.4.1-installer/vegastrike/src/gldrv'
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../../src/boost129 -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_SDL_MIXER=1 -I/usr/lib -I/usr/local/include -DDATA_DIR=\"/mnt/lin/vegastrike-0.4.1-installer/vegastrike/data\" -I/usr/include/python2.3 -DHAVE_PYTHON=1 -DUSE_BOOST_129=1 -ggdb3 -Wall -I/usr/include/SDL -D_REENTRANT -pipe -c gl_init.cpp
gl_init.cpp: In function `void init_opengl_extensions()':
gl_init.cpp:106: error: `glXGetProcAddressARB' undeclared (first use this function)
gl_init.cpp:106: error: (Each undeclared identifier is reported only once for each function it appears in.)
../../src/cmd/collection.h: At global scope:
../../src/cmd/collection.h:49: warning: inline function `void UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
make[3]: *** [gl_init.o] Error 1
make[3]: Leaving directory `/mnt/lin/vegastrike-0.4.1-installer/vegastrike/src/gldrv'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/lin/vegastrike-0.4.1-installer/vegastrike/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/lin/vegastrike-0.4.1-installer/vegastrike'
make: *** [all-recursive-am] Error 2

What do his want???
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
Post Reply