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

Bug 110843

Summary: games-action/chromium needs to depend on freealut as well as openal, and may fail to build
Product: Gentoo Linux Reporter: Tony Vroon (RETIRED) <chainsaw>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: theli.ua, tristan
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 132826    
Attachments: 0.9.12-freealut.patch
0.9.12-configure.patch

Description Tony Vroon (RETIRED) gentoo-dev 2005-10-29 15:59:30 UTC
AudioOpenAL.cpp:33:21: AL/alut.h: No such file or directory
AudioOpenAL.cpp:56:29: AL/alexttypes.h: No such file or directory
AudioOpenAL.cpp: In destructor `virtual AudioOpenAL::~AudioOpenAL()':
AudioOpenAL.cpp:147: error: `ALC_CHAN_CD_LOKI' undeclared (first use this function)
AudioOpenAL.cpp:147: error: (Each undeclared identifier is reported only once
for each function it appears in.)
AudioOpenAL.cpp:161: error: invalid conversion from `void*' to `ALCcontext*'
AudioOpenAL.cpp:161: error:   initializing argument 1 of `void
alcDestroyContext(ALCcontext*)'
AudioOpenAL.cpp: In member function `bool AudioOpenAL::createContext()':
AudioOpenAL.cpp:203: error: invalid conversion from `void*' to `ALCcontext*'
AudioOpenAL.cpp:203: error:   initializing argument 1 of `ALCboolean
alcMakeContextCurrent(ALCcontext*)'
AudioOpenAL.cpp: In member function `void AudioOpenAL::checkForExtensions()':
AudioOpenAL.cpp:313: error: invalid conversion from `ALubyte*' to `const ALchar*'
AudioOpenAL.cpp:313: error:   initializing argument 1 of `void*
alGetProcAddress(const ALchar*)'
AudioOpenAL.cpp:321: error: invalid conversion from `const ALubyte*' to `const
ALchar*'
AudioOpenAL.cpp:321: error:   initializing argument 1 of `void*
alGetProcAddress(const ALchar*)'
AudioOpenAL.cpp:323: error: invalid conversion from `const ALubyte*' to `const
ALchar*'
AudioOpenAL.cpp:323: error:   initializing argument 1 of `void*
alGetProcAddress(const ALchar*)'
AudioOpenAL.cpp:326: error: `ALC_CHAN_CD_LOKI' undeclared (first use this function)
AudioOpenAL.cpp:331: error: invalid conversion from `const ALubyte*' to `const
ALchar*'
AudioOpenAL.cpp:331: error:   initializing argument 1 of `void*
alGetProcAddress(const ALchar*)'
AudioOpenAL.cpp:334: error: invalid conversion from `const ALubyte*' to `const
ALchar*'
AudioOpenAL.cpp:334: error:   initializing argument 1 of `void*
alGetProcAddress(const ALchar*)'
AudioOpenAL.cpp: In member function `virtual void
AudioOpenAL::setMusicVolume(float)':
AudioOpenAL.cpp:457: error: `ALC_CHAN_CD_LOKI' undeclared (first use this function)
AudioOpenAL.cpp: In member function `void AudioOpenAL::loadSounds()':
AudioOpenAL.cpp:484: error: `alutLoadWAV' undeclared (first use this function)
AudioOpenAL.cpp: In member function `bool AudioOpenAL::loadWAV(const char*)':
AudioOpenAL.cpp:849: error: `alutLoadWAV' undeclared (first use this function)
make[1]: *** [AudioOpenAL.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/chromium-0.9.12-r5/work/Chromium-0.9/src'
make: *** [src] Error 2
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2005-10-31 07:32:41 UTC
It might also need to link against -lalut now, since the functions are split
into a new library.
Comment 2 Tristan Heaven (RETIRED) gentoo-dev 2006-05-18 21:02:14 UTC
Created attachment 87028 [details, diff]
0.9.12-freealut.patch

hopefully working patch
Comment 3 Tristan Heaven (RETIRED) gentoo-dev 2006-05-18 21:04:12 UTC
Created attachment 87029 [details, diff]
0.9.12-configure.patch

Replacement for proper-options.patch.

I moved the openal related stuff into the other patch.
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2006-05-19 17:15:40 UTC
Fixed!

Thanks for the patches!