soundserver.cpp: In function `void cleanExit(char*, ...)': soundserver.cpp:52: `Mix_CloseAudio' undeclared (first use this function) soundserver.cpp:52: (Each undeclared identifier is reported only once for each function it appears in.) soundserver.cpp: At global scope: soundserver.cpp:87: syntax error before `*' token soundserver.cpp:92: ISO C++ forbids declaration of `music' with no type soundserver.cpp:92: `file' was not declared in this scope soundserver.cpp:92: `Mix_LoadMUS' was not declared in this scope soundserver.cpp:93: ISO C++ forbids declaration of `changehome' with no type soundserver.cpp:93: `int changehome' redeclared as different kind of symbol soundserver.cpp:60: previous declaration of `void changehome(bool, bool = true) ' soundserver.cpp:94: parse error before `if' soundserver.cpp:96: ISO C++ forbids declaration of `music' with no type soundserver.cpp:96: redefinition of `int music' soundserver.cpp:92: `int music' previously defined here soundserver.cpp:96: `file' was not declared in this scope soundserver.cpp:96: `Mix_LoadMUS' was not declared in this scope soundserver.cpp:97: ISO C++ forbids declaration of `changehome' with no type soundserver.cpp:97: redefinition of `int changehome' soundserver.cpp:93: `int changehome' previously defined here soundserver.cpp:98: parse error before `if' soundserver.cpp:103: ISO C++ forbids declaration of `sende' with no type soundserver.cpp:103: conflicting types for `int sende' soundserver.cpp:85: previous declaration as `bool sende' soundserver.cpp:104: parse error before `if' soundserver.cpp:111: ISO C++ forbids declaration of `oldmusic' with no type soundserver.cpp:111: warning: initialization to non-pointer type `int' from NULL soundserver.cpp:111: warning: argument to non-pointer type `int' from NULL soundserver.cpp:112: parse error before `}' token soundserver.cpp:113: ISO C++ forbids declaration of `sende' with no type soundserver.cpp:113: redefinition of `int sende' soundserver.cpp:103: `int sende' previously defined here soundserver.cpp:114: parse error before `if' soundserver.cpp:120: warning: initialization to `int' from `float' soundserver.cpp:120: warning: argument to `int' from `float' soundserver.cpp:121: ISO C++ forbids declaration of `Mix_VolumeMusic' with no type soundserver.cpp:122: parse error before `return' soundserver.cpp: In function `int main(int, char**)': soundserver.cpp:138: `Mix_Music' undeclared (first use this function) soundserver.cpp:150: `Mix_HookMusicFinished' undeclared (first use this function) soundserver.cpp:155: `MIX_DEFAULT_FORMAT' undeclared (first use this function) soundserver.cpp:155: `Mix_OpenAudio' undeclared (first use this function) soundserver.cpp:159: `Mix_QuerySpec' undeclared (first use this function) soundserver.cpp:194: `Mix_PlayingMusic' undeclared (first use this function) soundserver.cpp:197: `PlayMusic' undeclared (first use this function) soundserver.cpp:255: warning: initialization to `int' from `float' soundserver.cpp:255: warning: argument to `int' from `float' soundserver.cpp:256: `Mix_VolumeMusic' cannot be used as a function {standard input}: Assembler messages: {standard input}:155: Error: symbol `music' is already defined {standard input}:162: Error: symbol `changehome' is already defined {standard input}:174: Error: symbol `sende' is already defined make[3]: *** [soundserver.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/vegastrike-0.2.9.4/work/vegastrike/src/networking' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/vegastrike-0.2.9.4/work/vegastrike/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/vegastrike-0.2.9.4/work/vegastrike' make: *** [all-recursive-am] Error 2
do you have -sdl in your USE var ?
no I haven't. SDL is clearly activated by my USE var
then please do an `emerge vegastrike -ep` and show me what packages you have ... i know this package dies in src/networking when you have sdl disabled (i just havent gotten around to fixing that yet and noone has complained ;D)
emerge vegastrike -pe These are the packages that I would merge, in order. Calculating dependencies emerge: all ebuilds that could satisfy "vegastrike" have been masked. That's what it tells me since today.
you seem to be missing some dependecies.. openal is needed ( configure complaints buit doesn't bail out ) SDL_Mixer is needed, that was the cause of my error, I think (currently recompiling, lets see if it works )
are you still unable to do `emerge vegastrike -ep` ?
no. I got it compiled. Check comment #5 :) You seem to missed it. After I emerged openal and sdl_mixer it worked.
you said: that was the cause of my error, I think (currently recompiling, lets see if it works ) i wasnt sure if that really fixed your problem since you never followed up ... ill look into this, thanks
ok, this should all be fixed now, enjoy :) http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/app-games/vegastrike/vegastrike-0.2.9.4.ebuild.diff?r1=1.5&r2=1.6