Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 133310

Summary: games-sports/ultimatestunts fails to compile with the openal/alut split
Product: Gentoo Linux Reporter: Matheus Izvekov <mizvekov>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: fix
fix

Description Matheus Izvekov 2006-05-14 11:24:04 UTC
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../intl -I../shared -I../simulation -I../graphics    -Wall -O3 -march=athlon-xp -pipe -fomit-frame-pointer  -I/usr/include/SDL -D_REENTRANT -MT sndsample.o -MD -MP -MF ".deps/sndsample.Tpo" \
          -c -o sndsample.o `test -f 'sndsample.cpp' || echo './'`sndsample.cpp; \
        then mv -f ".deps/sndsample.Tpo" ".deps/sndsample.Po"; \
        else rm -f ".deps/sndsample.Tpo"; exit 1; \
        fi
sndsample.cpp: In member function 
Comment 1 Matheus Izvekov 2006-05-14 11:24:04 UTC
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../intl -I../shared -I../simulation -I../graphics    -Wall -O3 -march=athlon-xp -pipe -fomit-frame-pointer  -I/usr/include/SDL -D_REENTRANT -MT sndsample.o -MD -MP -MF ".deps/sndsample.Tpo" \
          -c -o sndsample.o `test -f 'sndsample.cpp' || echo './'`sndsample.cpp; \
        then mv -f ".deps/sndsample.Tpo" ".deps/sndsample.Po"; \
        else rm -f ".deps/sndsample.Tpo"; exit 1; \
        fi
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
Comment 2 Matheus Izvekov 2006-05-14 11:25:41 UTC
Created attachment 86763 [details, diff]
fix

This patch fixes up all the problems

This patch changes configure.ac, so the ebuild will need to run autoconf to update  everything
Comment 3 Matheus Izvekov 2006-05-14 11:32:10 UTC
Created attachment 86765 [details, diff]
fix

small nitpick, changed freealut to alut in a comment
Comment 4 Tristan Heaven (RETIRED) gentoo-dev 2006-05-14 11:33:51 UTC
bug #132819
Comment 5 Matheus Izvekov 2006-05-14 11:37:38 UTC
Ooops thanks, i searched for it before submiting but didnt find anything, should have been more careful
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2006-05-15 13:24:34 UTC

*** This bug has been marked as a duplicate of 132819 ***