[Openal] MacOSX OpenAL 1.1 & FreeALUT problems &

Mauti mauti at damnr6.com
Thu Jul 5 23:25:11 PDT 2007


I would never dare to delete a folder Apple installed with the  
system, but if an Apple representative says so, it's probably no  
necessary to have a library/frameworks/OpenAL folder ;-)

@ freealut: maybe it is the problem that I updated from Panther to  
Tiger a few years ago and so some frameworks are messed up?

At all if I try to configure and make the freealut source files  
without renaming the functions I get the following error during the  
"make" process:

ld: warning multiple definitions of symbol _alutExit
.libs/libalut_la-alutInit.o definition of _alutExit in section  
(__TEXT,__text)
/Library/Frameworks/OpenAL.framework/OpenAL(single module) definition  
of _alutExit
ld: warning multiple definitions of symbol _alutInit
.libs/libalut_la-alutInit.o definition of _alutInit in section  
(__TEXT,__text)
/Library/Frameworks/OpenAL.framework/OpenAL(single module) definition  
of _alutInit
ld: warning multiple definitions of symbol _alutLoadWAVFile
.libs/libalut_la-alutLoader.o definition of _alutLoadWAVFile in  
section (__TEXT,__text)
/Library/Frameworks/OpenAL.framework/OpenAL(single module) definition  
of _alutLoadWAVFile
ld: warning multiple definitions of symbol _alutLoadWAVMemory
.libs/libalut_la-alutLoader.o definition of _alutLoadWAVMemory in  
section (__TEXT,__text)
/Library/Frameworks/OpenAL.framework/OpenAL(single module) definition  
of _alutLoadWAVMemory
ld: warning multiple definitions of symbol _alutUnloadWAV
.libs/libalut_la-alutLoader.o definition of _alutUnloadWAV in section  
(__TEXT,__text)
/Library/Frameworks/OpenAL.framework/OpenAL(single module) definition  
of _alutUnloadWAV

However most important is that it works now and I have a working  
freealut version =)

Nevertheless your tips are very useful. Thanks.

Mauti

Am 05.07.2007 um 21:50 schrieb George Warner:

> On Wed, 4 Jul 2007 22:24:28 +0200, Mauti <mauti at damnr6.com> wrote:
>> I downloaded the source code and compiled a clean universal binary
>> framework of OpenAL and replaced mine.
>
> Probably not a good idea. I'd just delete the "/Library/Frameworks/ 
> OpenAL"
> directory from the root directory and the SDK directories (they  
> don't exist
> on any of my systems). The "/System/Library/Frameworks/OpenAL"  
> directories
> exist in both my root and SDK directories.
>
>> So back to my freealut issues: I tried again to build a lib with a
>> modified freealut code(I renamed the freealut functions that are
>> still in the MacOSX version of OpenAL to avoid multiple definition
>> errors) and out of the sudden finally my game has built in sound =)
>
> This should only be necessary on pre-Tiger systems.
>
> -- 
> Enjoy,
> George Warner,
> Schizophrenic Optimization Scientist
> Apple Developer Technical Support (DTS)
>
>



More information about the Openal mailing list