Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10794 - Vegastrike compile error with gcc3.2
Summary: Vegastrike compile error with gcc3.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-15 14:40 UTC by Jörg Rüppel
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jörg Rüppel 2002-11-15 14:40:09 UTC
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
Comment 1 SpanKY gentoo-dev 2002-11-16 22:05:22 UTC
do you have -sdl in your USE var ? 
Comment 2 Jörg Rüppel 2002-11-17 05:45:36 UTC
no I haven't. SDL is clearly activated by my USE var 
Comment 3 SpanKY gentoo-dev 2002-11-17 14:57:49 UTC
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) 
Comment 4 Jörg Rüppel 2002-11-17 16:43:07 UTC
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. 
Comment 5 Jörg Rüppel 2002-11-17 21:34:01 UTC
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 )  
Comment 6 SpanKY gentoo-dev 2002-11-26 19:17:29 UTC
are you still unable to do `emerge vegastrike -ep` ? 
Comment 7 Jörg Rüppel 2002-11-27 06:18:47 UTC
no. I got it compiled. Check comment #5 :) You seem to missed it. After I emerged openal and sdl_mixer it worked. 
Comment 8 SpanKY gentoo-dev 2002-11-28 09:19:53 UTC
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