rm -f libnetacct.a
ar cru libnetacct.a client.o accountsxml.o savenet_util.o fileutil.o acctserver.o
ranlib libnetacct.a
source='soundserver.cpp' object='soundserver.o' libtool=no \
depfile='.deps/soundserver.Po' tmpdepfile='.deps/soundserver.TPo' \
depmode=gcc3 /bin/sh ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_AL=1 -I/usr/include/python2.2 -DHAVE_PYTHON=1 -DUSE_BOOST_131=1 -I../../src/boost129 -I../../src -pipe -falign-loops=2 -falign-jumps=2 -falign-functions=2 -I/usr/include/SDL -D_REENTRANT -pthread -pipe -c -o soundserver.o `test -f 'soundserver.cpp' || echo './'`soundserver.cpp
soundserver.cpp: In function `Mix_Music* PlayMusic(const char*, Mix_Music*)':
soundserver.cpp:134: warning: initialization to `int' from `float'
soundserver.cpp:134: warning: argument to `int' from `float'
soundserver.cpp: In function `int main(int, char**)':
soundserver.cpp:193: `isspace' undeclared (first use this function)
soundserver.cpp:193: (Each undeclared identifier is reported only once for each
function it appears in.)
soundserver.cpp:337: warning: initialization to `int' from `float'
soundserver.cpp:337: warning: argument to `int' from `float'
make[4]: *** [soundserver.o] Error 1
make[4]: Leaving directory `/usr/src/vegastrike/vegastrike/src/networking'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/vegastrike/vegastrike/src/networking'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/vegastrike/vegastrike/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/vegastrike/vegastrike'
make: *** [all] Error 2
this is using the linux install script
soundserver.cpp fails to compile...
-
- Lead Network Developer
- Posts: 2560
- Joined: Sun Jan 12, 2003 9:13 am
- Location: Palo Alto CA
- Contact:
-
- Developer
- Posts: 3980
- Joined: Fri Jan 03, 2003 4:53 am
- Location: Stanford, CA
- Contact:
every system must have isspace
perhaps we forgot to include ctype.h
perhaps we forgot to include ctype.h
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
http://vegastrike.sourceforge.net/
I had to add it to saveinterface.cpp also
then it compiled and installed all fine, however now it wont run
just fyi, I had to replace my /usr/include/GL/glext.h with SGI's as in a previous post to get the defines working.
I can both play sound in any other app, and utilize my geforce 3600 in other games such as tribes2, ut2004, glgears, etc etc
i run vsinstall as my user, then vslauncher, and it brings up the menu, I click on new game, then it tries to start and gives me this.
entelin@tyrus src $ vslauncher
explore_universe.missionvegastrike explore_universe.missionVega Strike
See http://www.gnu.org/copyleft/gpl.html for license details.
GOT SUBDIR ARG =
Found data in ..
Using /home/entelin/.vegastrike as data directory
Found MODDIR = /home/entelin/.vegastrike/mods
USING HOMEDIR : /home/entelin/.vegastrike As the home directory
CONFIGFILE - Found a config file in home directory, using : /home/entelin/.vegastrike/vegastrike.config
DATADIR - No datadir specified in config file, using ; /home/entelin/.vegastrike
SIMULATION_ATOM: 0.06
Unable to spawn music player server
running import sys
print sys.path
sys.path = [r"/home/entelin/.vegastrike/modules/builtin/",r"/home/entelin/.vegastrike/modules/",r"/home/entelin/.vegastrike/bases/"]
['/usr/lib/python2.2', '/usr/lib/python2.2/plat-linux2', '/usr/lib/python2.2/lib-tk', '/usr/lib/python2.2/lib-dynload', '/usr/lib/python2.2/site-packages', '/usr/lib/python2.2/site-packages/gtk-2.0', '/usr/lib/portage/pym']
testing VS randomrunning import sys
print sys.path
['/home/entelin/.vegastrike/modules/builtin/', '/home/entelin/.vegastrike/modules/', '/home/entelin/.vegastrike/bases/']
ALSA lib pcm_hw.c(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy
ALSA lib pcm_hw.c(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy
Couldn't initialize video: Couldn't find matching GLX visualCouldn't initialize video: Couldn't find matching GLX visual
then it compiled and installed all fine, however now it wont run
just fyi, I had to replace my /usr/include/GL/glext.h with SGI's as in a previous post to get the defines working.
I can both play sound in any other app, and utilize my geforce 3600 in other games such as tribes2, ut2004, glgears, etc etc
i run vsinstall as my user, then vslauncher, and it brings up the menu, I click on new game, then it tries to start and gives me this.
entelin@tyrus src $ vslauncher
explore_universe.missionvegastrike explore_universe.missionVega Strike
See http://www.gnu.org/copyleft/gpl.html for license details.
GOT SUBDIR ARG =
Found data in ..
Using /home/entelin/.vegastrike as data directory
Found MODDIR = /home/entelin/.vegastrike/mods
USING HOMEDIR : /home/entelin/.vegastrike As the home directory
CONFIGFILE - Found a config file in home directory, using : /home/entelin/.vegastrike/vegastrike.config
DATADIR - No datadir specified in config file, using ; /home/entelin/.vegastrike
SIMULATION_ATOM: 0.06
Unable to spawn music player server
running import sys
print sys.path
sys.path = [r"/home/entelin/.vegastrike/modules/builtin/",r"/home/entelin/.vegastrike/modules/",r"/home/entelin/.vegastrike/bases/"]
['/usr/lib/python2.2', '/usr/lib/python2.2/plat-linux2', '/usr/lib/python2.2/lib-tk', '/usr/lib/python2.2/lib-dynload', '/usr/lib/python2.2/site-packages', '/usr/lib/python2.2/site-packages/gtk-2.0', '/usr/lib/portage/pym']
testing VS randomrunning import sys
print sys.path
['/home/entelin/.vegastrike/modules/builtin/', '/home/entelin/.vegastrike/modules/', '/home/entelin/.vegastrike/bases/']
ALSA lib pcm_hw.c(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy
ALSA lib pcm_hw.c(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy
Couldn't initialize video: Couldn't find matching GLX visualCouldn't initialize video: Couldn't find matching GLX visual
-
- Developer
- Posts: 3980
- Joined: Fri Jan 03, 2003 4:53 am
- Location: Stanford, CA
- Contact:
that means glx isn't setup right on your hardware
try the canonical glxgears program to try to diagnose the problem
try the canonical glxgears program to try to diagnose the problem
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
http://vegastrike.sourceforge.net/