Bug 132819 - games-sports/ultimatestunts needs patch for openal/freealut split
|
Bug#:
132819
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: games@gentoo.org
|
Reported By: nyhm@gentoo.org
|
|
Component: Games
|
|
|
URL:
|
|
Summary: games-sports/ultimatestunts needs patch for openal/freealut split
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2006-05-09 13:25 0000
|
music.cpp:94:21: error: AL/alut.h: No such file or directory
sndsample.cpp:39:21: error: AL/alut.h: No such file or directory
make[2]: *** [music.o] Error 1
make[2]: *** Waiting for unfinished jobs....
sndsample.cpp: In member function 'virtual bool CSndSample::load(const
CString&, const CParamList&)':
sndsample.cpp:111: error: invalid conversion from 'ALubyte*' to 'const ALchar*'
sndsample.cpp:111: error: initializing argument 1 of 'void*
alGetProcAddress(const ALchar*)'
sndsample.cpp:137: error: invalid conversion from 'ALubyte*' to 'const ALchar*'
sndsample.cpp:137: error: initializing argument 1 of 'void*
alGetProcAddress(const ALchar*)'
sndsample.cpp:162: error: 'alutLoadWAV' was not declared in this scope
make[2]: *** [sndsample.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/ultimatestunts-0.6.1/work/ultimatestunts-srcdata-0611/ultimatestunts'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/ultimatestunts-0.6.1/work/ultimatestunts-srcdata-0611'
make: *** [all] Error 2
!!! ERROR: games-sports/ultimatestunts-0.6.1 failed.
Call stack:
ebuild.sh, line 1525: Called dyn_compile
ebuild.sh, line 928: Called src_compile
ebuild.sh, line 1237: Called games_src_compile
games.eclass, line 136: Called die
!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.
Fixed in CVS... thanks for the patch!
(In reply to comment #1)
> Created an attachment (id=86650) [edit] [details]
> ultimatestunts-0.6.1-freealut.patch
>
> This seems to work
>
It didnt work for me, go no sound
---Sound data
Loading file cars/generic/engine.wav
alutCreateBufferFromFile failed
Loading file cars/generic/skid.wav
alutCreateBufferFromFile failed
Loading file cars/generic/crash_nonfatal.wav
alutCreateBufferFromFile failed
Can you try it with the printf line changed to
printf("%s\n", alutGetErrorString(alutGetError()));
got this:
---Sound data
Loading file cars/generic/engine.wav
There was an error opening the ALC device
Loading file cars/generic/skid.wav
The operation was invalid in the current ALUT state
Loading file cars/generic/crash_nonfatal.wav
The operation was invalid in the current ALUT state
Ops disregard, found the problem already
One program stole my sound device without me noticing
The current code doesnt generate a explicit error message for this case, thats
why i didnt look for it.
Thats something another patch ought to fix :)
*** Bug 133310 has been marked as a duplicate of this bug. ***