Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110843 - games-action/chromium needs to depend on freealut as well as openal, and may fail to build
Summary: games-action/chromium needs to depend on freealut as well as openal, and may ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 132826
  Show dependency tree
 
Reported: 2005-10-29 15:59 UTC by Tony Vroon (RETIRED)
Modified: 2006-05-19 17:15 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
0.9.12-freealut.patch (0.9.12-freealut.patch,6.84 KB, patch)
2006-05-18 21:02 UTC, Tristan Heaven (RETIRED)
Details | Diff
0.9.12-configure.patch (0.9.12-configure.patch,323 bytes, patch)
2006-05-18 21:04 UTC, Tristan Heaven (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!