Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 274141 - games-sports/toycars-0.3.9 fails to build with media-libs/fmod-4.25.07-r1
Summary: games-sports/toycars-0.3.9 fails to build with media-libs/fmod-4.25.07-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-14 17:58 UTC by Markus Rathgeb
Modified: 2009-06-14 18:04 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 Markus Rathgeb 2009-06-14 17:58:02 UTC
When I prepare to build toycars-0.3.9 it fails becuase of fmod


i686-pc-linux-gnu-g++ ... -I/usr/include/fmodex ...
...
... error: fmod.hpp: No such file or directory
... error: fmod_errors.h: No such file or directory

# equery files =media-libs/fmod-3.75 | grep -e fmod.hpp -e fmod_errors.h
/usr/include/fmod_errors.h

# equery files =media-libs/fmod-4.25.07-r1 | grep -e fmod.hpp -e fmod_errors.h
/opt/fmodex/api/inc/fmod.hpp
/opt/fmodex/api/inc/fmod_errors.h


Reproducible: Always

Steps to Reproduce:
1. emerge -vaC =media-libs/fmod-3.75
2. emerge -va1 =media-libs/fmod-4.25.07-r1
3. emerge -va1 =games-sports/toycars-0.3.9


Actual Results:  
make[3]: Leaving directory `/var/tmp/portage/games-sports/toycars-0.3.9/work/toycars-0.3.9/src/tinyxml'
make[3]: Entering directory `/var/tmp/portage/games-sports/toycars-0.3.9/work/toycars-0.3.9/src'
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..  -I ../src/glf -I ../src/MyFisix -I ../src/Scoobie -I ../src/tinyxml -I/usr/include/fmodex  -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -pthread  -I/usr/local/include/fmodex/ -I/usr/include/fmodex/ -O2 -march=native -pipe -ggdb -MT CarGame.o -MD -MP -MF .deps/CarGame.Tpo -c -o CarGame.o CarGame.cpp
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..  -I ../src/glf -I ../src/MyFisix -I ../src/Scoobie -I ../src/tinyxml -I/usr/include/fmodex  -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -pthread  -I/usr/local/include/fmodex/ -I/usr/include/fmodex/ -O2 -march=native -pipe -ggdb -MT RobotPlayer.o -MD -MP -MF .deps/RobotPlayer.Tpo -c -o RobotPlayer.o RobotPlayer.cpp
In file included from RobotPlayer.h:24,
                 from CarGame.cpp:17:
Player.h:28:20: error: fmod.hpp: No such file or directory
Player.h:29:25: error: fmod_errors.h: No such file or directory
Player.h:85:26: warning: multi-character character constant
In file included from CarGame.cpp:17:
RobotPlayer.h:26:31: warning: multi-character character constant
In file included from RobotPlayer.h:24,
                 from RobotPlayer.cpp:10:
Player.h:28:20: error: fmod.hpp: No such file or directory
Player.h:29:25: error: fmod_errors.h: No such file or directory
Player.h:85:26: warning: multi-character character constant
In file included from RobotPlayer.cpp:10:
RobotPlayer.h:26:31: warning: multi-character character constant
In file included from RobotPlayer.h:24,
                 from RobotPlayer.cpp:10:
Player.h:94: error: ‘FMOD’ has not been declared
Player.h:94: error: expected ‘,’ or ‘...’ before ‘*’ token
Player.h:125: error: ‘FMOD’ has not been declared
Player.h:125: error: expected ‘,’ or ‘...’ before ‘*’ token
Player.h:126: error: ‘FMOD’ has not been declared
Player.h:126: error: expected ‘,’ or ‘...’ before ‘*’ token
Player.h:158: error: ‘FMOD’ has not been declared
Player.h:158: error: ISO C++ forbids declaration of ‘System’ with no type
Player.h:158: error: expected ‘;’ before ‘*’ token
Player.h:159: error: ‘FMOD’ has not been declared
Player.h:159: error: ISO C++ forbids declaration of ‘Channel’ with no type
Player.h:159: error: expected ‘;’ before ‘*’ token

...

CarGame.cpp: In member function ‘void CarGame::drawLights()’:
CarGame.cpp:785: error: ‘FMOD’ has not been declared
CarGame.cpp:785: error: ‘channel’ was not declared in this scope
CarGame.cpp:786: error: ‘FMOD_RESULT’ was not declared in this scope
CarGame.cpp:786: error: expected `;' before ‘result’
CarGame.cpp:788: error: ‘result’ was not declared in this scope
CarGame.cpp:788: error: ‘FMOD_System’ was not declared in this scope
CarGame.cpp:788: error: ‘FMOD_CHANNEL_FREE’ was not declared in this scope
CarGame.cpp:788: error: ‘organC6Sound’ was not declared in this scope
CarGame.cpp:789: error: ‘ERRCHECK’ was not declared in this scope
CarGame.cpp:792: error: ‘result’ was not declared in this scope
CarGame.cpp:792: error: ‘FMOD_System’ was not declared in this scope
CarGame.cpp:792: error: ‘FMOD_CHANNEL_FREE’ was not declared in this scope
CarGame.cpp:792: error: ‘organC7Sound’ was not declared in this scope
CarGame.cpp:793: error: ‘ERRCHECK’ was not declared in this scope
make[3]: *** [CarGame.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/games-sports/toycars-0.3.9/work/toycars-0.3.9/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/games-sports/toycars-0.3.9/work/toycars-0.3.9/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/games-sports/toycars-0.3.9/work/toycars-0.3.9'
make: *** [all] Error 2

Expected Results:  
compiles fine...

Later I prepared it with both version of fmod installed, but it also fails (fmod.hpp not found - see equery above).
Comment 1 Markus Rathgeb 2009-06-14 18:04:33 UTC
A removing of all installed fmod version and a reinstall of media-libs/fmod-4.25.07-r1 (through dependency) works.

1. emerge -vaC media-libs/fmod
2. emerge -va =games-sports/toycars-0.3.9

I believe somthing in the fmod ebuild was changed anytime.