Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118381 - widelands 0.9.5 fails to compile
Summary: widelands 0.9.5 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High critical
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-09 03:23 UTC by Jonas Bergler
Modified: 2006-01-09 04:14 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 Jonas Bergler 2006-01-09 03:23:34 UTC
.5
mkdir -p src/native-release src src/native-release/ui/ui_fs_menus src/native-rel ease/ui/ui_basic src/native-release/editor src/native-release/editor/ui_menus sr c/native-release/editor/tools
g++ -pipe -Wall -I/usr/include/SDL -D_REENTRANT  -finline-functions -ffast-math -funroll-loops -funroll-all-loops -fexpensive-optimizations -O3 -DNDEBUG -Isrc - Isrc/ui/ui_fs_menus -Isrc/ui/ui_basic -Isrc/editor -Isrc/editor/ui_menus -Isrc/e ditor/tools -MMD -MP -MF src/native-release/animation.o.d -c -o src/native-relea se/animation.o src/animation.cc
g++ -pipe -Wall -I/usr/include/SDL -D_REENTRANT  -finline-functions -ffast-math -funroll-loops -funroll-all-loops -fexpensive-optimizations -O3 -DNDEBUG -Isrc - Isrc/ui/ui_fs_menus -Isrc/ui/ui_basic -Isrc/editor -Isrc/editor/ui_menus -Isrc/e ditor/tools -MMD -MP -MF src/native-release/battle.o.d -c -o src/native-release/ battle.o src/battle.cc
sed -e 's@^\(.*\)\.o:@\1.d \1.o:@' src/native-release/battle.o.d > src/native-re lease/battle.d
rm src/native-release/battle.o.d
g++ -pipe -Wall -I/usr/include/SDL -D_REENTRANT  -finline-functions -ffast-math -funroll-loops -funroll-all-loops -fexpensive-optimizations -O3 -DNDEBUG -Isrc - Isrc/ui/ui_fs_menus -Isrc/ui/ui_basic -Isrc/editor -Isrc/editor/ui_menus -Isrc/e ditor/tools -MMD -MP -MF src/native-release/bob.o.d -c -o src/native-release/bob .o src/bob.cc
In file included from src/animation.cc:26:
src/sound_handler.h:30:23: warning: SDL_mixer.h: No such file or directory
In file included from src/animation.cc:26:
src/sound_handler.h:59: error: syntax error before `*' token
src/sound_handler.h:76: error: syntax error before `*' token
src/sound_handler.h:96: error: `Mix_Chunk' was not declared in this scope
src/sound_handler.h:96: error: `fx' was not declared in this scope
src/sound_handler.h:96: error: syntax error before `=' token
src/sound_handler.h:97: error: syntax error before `*' token
src/sound_handler.h:103: error: `Mix_Chunk' was not declared in this scope
src/sound_handler.h:103: error: syntax error before `>' token
src/sound_handler.h: In member function `bool FXset::empty()':
src/sound_handler.h:99: error: `m_fxs' undeclared (first use this function)
src/sound_handler.h:99: error: (Each undeclared identifier is reported only
   once for each function it appears in.)
src/sound_handler.h: At global scope:
src/sound_handler.h:249: error: syntax error before `*' token
make: *** [src/native-release/animation.o] Error 1
make: *** Waiting for unfinished jobs....
sed -e 's@^\(.*\)\.o:@\1.d \1.o:@' src/native-release/bob.o.d > src/native-relea se/bob.d
make: *** Waiting for unfinished jobs....
rm src/native-release/bob.o.d
make: *** Waiting for unfinished jobs....

!!! ERROR: games-strategy/widelands-0.0.9.5 failed.
!!! Function src_compile, Line 36, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2006-01-09 04:14:40 UTC
obviously the sdl-mixer depend is missing here, sorry :(
I also discovered that it does not depend on jpeg and thus removed the depend.

It should be fixed when you sync in one hour.
For a quick fix in the meantime please do: emerge sdl-mixer widelands

Thank you for reporting!