Error in the linking phase

So giving it my first try, I build the Startrooper project and got 30 errors in the linker:

_alSpeedOfSound
_alcSuspendContest
_aclMakeContextCurrent

… and so on.

I had to change the build settings to use my code signing identity, but otherwise I did nothing. Just hit build got link errors.

Anyone have any suggestions?

Bump, because I seriously can’t get anything to link. At all. This is highly frustrating.

Is it just me?

The total lack of a reply is (a) unlike Unity and (b) really frustrating.

I understand your frustration and am sorry to hear your having such troubles right out of the gate, but you have to understand that we’re in the middle of Unite and most of the devs are extremely busy at the moment.

Hopefully someone will be able to respond with some answers by the end of the day.

I feel your pain, I spent six hours yesterday trying to get the remote app to work (wasn’t unity’s fault - it was Apples)

I ended up having to re-install the 2.1 software on the phone, then I got my error to go away.

A few suggestions

what version of xCode are you using? I ended up downloading the latest one in my troubleshooting (though it’s 1.4 gigs)

can you install the remote application?

I haven’t seen anybody else have linking errors which is why you aren’t getting too many responses.

Flash

I’m using XCode 3.1. iPhone apps are the bulk of my paid work at the moment. I’ve been careful to segregate the latest SDKs to other an computer.

I can build the Unity Remote app without a problem. But Unity Remote doesn’t include the audio libraries that are giving me trouble. It’s the actual games out of Unity that aren’t working.

Sorry if I was complaining at an inopportune time. But that’s why I came to the forums instead of IRC.

I have tried removing and re-adding the OpenAL framework. Still, no luck.

I am using the Unity for iPhone Pro.

Hope everyone had fun at the conference last week. Now that it’s over, can someone help me with my problem?

I figured out the problem. The manpage for ld says that frameworks are linked from /Library/Frameworks and then from /System/Library/Frameworks first.

I checked in /Library/Frameworks and there was a copy of OpenAL.framework in there. Some installer must have placed it there. (I’m thinking Torque.) And lo and behind, check out the architecture:

rob$ file /Library/Frameworks/OpenAL.framework.hidden/OpenAL
/Library/Frameworks/OpenAL.framework.hidden/OpenAL: Mach-O dynamically linked shared library ppc

So, ld was trying to link against the framework in /Library/Frameworks – even though the framework in the project has an explicitly different path – and it found the framework, so the linker’s finding routine is satisfied, but the file it found doesn’t have the correct architecture, and so the link fails.

After a quick rename I got the project to build. Now I can finally catch up with all the others!

Hope this helps someone else.

Bliprob, THANK YOU!

Ditto - I have been trying to solve the same problem for 3 days, and yes, it’s most probably Torque’s Open AL.

I could kiss ya - errrm you know in a thankful way!

Unity team - might be worth putting this pitfall in the docs, as I’m guessing quite a few of us will have had torque installed at some point in the past?

Which Torque engine(s) do you have installed?

Also, I’m wondering if something like App Zapper would remove Torque completely and repair this, but I’m guessing not.

thats definitely no torque issue

have TGE 1.5.2, TGB 1.7.1 and iTGB 1.0.1 installed here and don’t get it.

I would guess its more a mess around in the generated project or something globally in XCode and its installation that is causing it, as the iphone openal is part of the XCode 3.1 iphone SDK install, not of any app you install.

When I was working on a Torque project (quite a while ago), I had to install a newer version of OpenAL, to get the sound emitters to work properly - I think that is where it came from but I can’t be sure. Certainly renaming the existing OpenAL in Library/Frameworks resolved the issue for me.

Hope this info helps.

It’s definitely from Torque. However,you guys who never had a PowerPC Mac probably won’t get this error. This comes from a Torque that pre-dates Intel Macs.

The problem is that the framework only had code for the powerpc architecture inside. Torque has shipped with universal binaries for a while now, but I was a TGE user before there were intel macs, hence the problem.

Torque doesn’t use an installer that stores BOM receipts so there’s no way for AppZapper to know about it. (Torque might these days, but it certainly didn’t back then.)

Bliprob,

I had the same errors during the linking phase. It was the OpenAL.framework in /Library/Frameworks. Problem solved. Thanks!

Btw, I had evaluated torque game builder pro before settling on Unity.

Hi, i have the same problem i think and checked all the other things.

I understand that i have to reroute the openal path somewhere in xcode but do not know how and where exactly.
(First time i looked at xcode.)

Can someone plese help me?

I think i have found out how to reroute the openal.framework now. but i have many of these frameworksin different folders and each time i change them i get the 30 errors.

Please help.

I am sorry for this long list of my 30 errors that i get but hopefully someone can help me after reading this!

As i can read in the failure list i link to the wrong openal framework.
So i changed it to this one i found with the finder.
This is the path i found it:

Macintosh HD/Developer/Plattforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.1.sdk/System/Library/Frameworks/OpenAL.framework

So i changed it in xCode and tryout “relative to current sdk” (system/library/frameworks) and “absolute path”

But each time i get the 30 errors.
Also i found 5 folders on my HD with the Openal framework from Torque installed software, just to inform you.
Then i have Openal frameworks for Mac OS 10.5, Mac OS 10.4, iPhoneOS2.1 sdk, iPhoneOS2.0, iPhoneSimulator2.1 and iPhoneSimulator2.0

And yes i have changed to the iPhone OS 2.1 device and also to the right provisioning files and get no errors here.

Edit:
Just found out that the other frameworks al linkt to the iPhoneOS2.0.sdk and not to the iPhoneOS2.1.sdk and also in the “Device Release” dropdown menu i checked Device - iPhone 2.1 but behind Device - iPhone 2.0 i can read (Project Setting) even after saving the project.

So here is the error list, hope someone can help me.

Building target “Unity-iPhone” of project “Unity-iPhone” with configuration “Release” — (30 errors)
cd “/Users/mathiasstolley/My New iPhone tryout Project/thewanderer”
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g+±4.0 -arch armv6 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.1.sdk “-L/Users/mathiasstolley/My New iPhone tryout Project/thewanderer/build” “-L/Users/mathiasstolley/My New iPhone tryout Project/thewanderer” “-L/Users/mathiasstolley/My New iPhone tryout Project/thewanderer/Libraries” “-F/Users/mathiasstolley/My New iPhone tryout Project/thewanderer/build” -filelist “/Users/mathiasstolley/My New iPhone tryout Project/thewanderer/build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv6/thewanderer.LinkFileList” -miphoneos-version-min=2.1 -Wl,-dead_strip -framework Foundation -framework UIKit -framework OpenGLES -framework QuartzCore -framework OpenAL -liconv.2 -liPhone-lib -o “/Users/mathiasstolley/My New iPhone tryout Project/thewanderer/build/thewanderer.app/thewanderer”

ld warning: in /Library/Frameworks//OpenAL.framework/OpenAL, file is not of required architecture
Undefined symbols:

“_alSpeedOfSound”, referenced from:
AudioManager::AudioManager(ObjectCreationMode)in libiPhone-lib.a(AudioManager.o)
AudioManager::AwakeFromLoad(AwakeFromLoadMode) in libiPhone-lib.a(AudioManager.o)
“_alcSuspendContext”, referenced from:
AudioManager::SetPause(bool) in libiPhone-lib.a(AudioManager.o)
“_alcMakeContextCurrent”, referenced from:
AudioManager::InitializeClass() in libiPhone-lib.a(AudioManager.o)
AudioManager::CleanupClass() in libiPhone-lib.a(AudioManager.o)
“_alGetEnumValue”, referenced from:
InitOpenALFormats() in libiPhone-lib.a(AudioClip.o)
“_alGetSourcei”, referenced from:
AudioManager::SetPause(bool) in libiPhone-lib.a(AudioManager.o)
AudioManager::SetPause(bool) in libiPhone-lib.a(AudioManager.o)
AudioSource::GetSecPosition() const in libiPhone-lib.a(AudioSource.o)
PlayingSource::UpdateStream() in libiPhone-lib.a(PlayingSource.o)
PlayingSource::IsPlaying() in libiPhone-lib.a(PlayingSource.o)
PlayingSource::Cleanup() in libiPhone-lib.a(PlayingSource.o)
PlayingSource::CleanupIfStopped() in libiPhone-lib.a(PlayingSource.o)
“_alcCloseDevice”, referenced from:
AudioManager::InitializeClass() in libiPhone-lib.a(AudioManager.o)
AudioManager::InitializeClass() in libiPhone-lib.a(AudioManager.o)
AudioManager::CleanupClass() in libiPhone-lib.a(AudioManager.o)
“_alSourcef”, referenced from:
alSourcePitchWrapper(unsigned int, float)in libiPhone-lib.a(AudioSource.o)
AudioSource::SetRolloffFactor(float) in libiPhone-lib.a(AudioSource.o)
AudioSource::SetRolloffFactor(float) in libiPhone-lib.a(AudioSource.o)
AudioSource::SetupState(PlayingSource, float, bool)in libiPhone-lib.a(AudioSource.o)
AudioSource::SetupState(PlayingSource, float, bool)in libiPhone-lib.a(AudioSource.o)
AudioSource::SetupState(PlayingSource, float, bool)in libiPhone-lib.a(AudioSource.o)
AudioSource::SetupState(PlayingSource, float, bool)in libiPhone-lib.a(AudioSource.o)
AudioSource::SetVolume(float) in libiPhone-lib.a(AudioSource.o)
AudioSource::SetVolume(float) in libiPhone-lib.a(AudioSource.o)
AudioSource::UpdateListenerVolume() in libiPhone-lib.a(AudioSource.o)
AudioSource::UpdateListenerVolume() in libiPhone-lib.a(AudioSource.o)
AudioSource::UpdateListenerVolume() in libiPhone-lib.a(AudioSource.o)
AudioSource::UpdateListenerVolume() in libiPhone-lib.a(AudioSource.o)
AudioSource::UpdateListenerVolume() in libiPhone-lib.a(AudioSource.o)
AudioSource::UpdateListenerVolume() in libiPhone-lib.a(AudioSource.o)
“_alSourcei”, referenced from:
AudioSource::SetSecPosition(float) in libiPhone-lib.a(AudioSource.o)
PlayingSource::SetLooping(bool) in libiPhone-lib.a(PlayingSource.o)
PlayingSource::Setup(AudioClip*, bool) in libiPhone-lib.a(PlayingSource.o)
“_alSourceQueueBuffers”, referenced from:
PlayingSource::UpdateStream() in libiPhone-lib.a(PlayingSource.o)
PlayingSource::Setup(AudioClip*, bool) in libiPhone-lib.a(PlayingSource.o)
“_alcProcessContext”, referenced from:
AudioManager::InitializeClass() in libiPhone-lib.a(AudioManager.o)
AudioManager::SetPause(bool) in libiPhone-lib.a(AudioManager.o)
“_alGenBuffers”, referenced from:
AudioClip::GetBufferID() in libiPhone-lib.a(AudioClip.o)
PlayingSource::Setup(AudioClip*, bool) in libiPhone-lib.a(PlayingSource.o)
“_alSourceUnqueueBuffers”, referenced from:
PlayingSource::UpdateStream() in libiPhone-lib.a(PlayingSource.o)
PlayingSource::Cleanup() in libiPhone-lib.a(PlayingSource.o)
“_alcGetError”, referenced from:
AudioManager::CleanupClass() in libiPhone-lib.a(AudioManager.o)
“_alSourcefv”, referenced from:
AudioSource::UpdatePosition(int) in libiPhone-lib.a(AudioSource.o)
AudioSource::smile:oUpdate() in libiPhone-lib.a(AudioSource.o)
AudioSource::smile:oUpdate() in libiPhone-lib.a(AudioSource.o)
AudioSource::smile:oUpdate() in libiPhone-lib.a(AudioSource.o)
AudioSource::smile:oUpdate() in libiPhone-lib.a(AudioSource.o)
“_alDopplerFactor”, referenced from:
AudioManager::AudioManager(ObjectCreationMode)in libiPhone-lib.a(AudioManager.o)
AudioManager::AwakeFromLoad(AwakeFromLoadMode) in libiPhone-lib.a(AudioManager.o)
“_alDeleteBuffers”, referenced from:
AudioClip::~AudioClip()in libiPhone-lib.a(AudioClip.o)
AudioClip::~AudioClip()in libiPhone-lib.a(AudioClip.o)
PlayingSource::Cleanup() in libiPhone-lib.a(PlayingSource.o)
PlayingSource::Cleanup() in libiPhone-lib.a(PlayingSource.o)
PlayingSource::Setup(AudioClip*, bool) in libiPhone-lib.a(PlayingSource.o)
“_alListenerf”, referenced from:
AudioManager::SetPause(bool) in libiPhone-lib.a(AudioManager.o)
AudioManager::SetPause(bool) in libiPhone-lib.a(AudioManager.o)
“_alGenSources”, referenced from:
PlayingSource::Setup(AudioClip*, bool) in libiPhone-lib.a(PlayingSource.o)
“_alBufferData”, referenced from:
AudioClip::SetAudioBufferData() in libiPhone-lib.a(AudioClip.o)
AudioClip::SetAudioBufferData() in libiPhone-lib.a(AudioClip.o)
PlayingSource::StreamIntoBuffer(int) in libiPhone-lib.a(PlayingSource.o)
“_alListenerfv”, referenced from:
AudioListener::smile:oUpdate() in libiPhone-lib.a(AudioListener.o)
AudioListener::smile:oUpdate() in libiPhone-lib.a(AudioListener.o)
AudioListener::smile:oUpdate() in libiPhone-lib.a(AudioListener.o)
AudioManager::AudioManager(ObjectCreationMode)in libiPhone-lib.a(AudioManager.o)
AudioManager::AudioManager(ObjectCreationMode)in libiPhone-lib.a(AudioManager.o)
AudioManager::AudioManager(ObjectCreationMode)in libiPhone-lib.a(AudioManager.o)
“_alcGetContextsDevice”, referenced from:
AudioManager::CleanupClass() in libiPhone-lib.a(AudioManager.o)
“_alDeleteSources”, referenced from:
PlayingSource::Cleanup() in libiPhone-lib.a(PlayingSource.o)
“_alSourcePlay”, referenced from:
AudioManager::SetPause(bool) in libiPhone-lib.a(AudioManager.o)
AudioSource::PlayOneShot(AudioClip, float) in libiPhone-lib.a(AudioSource.o)
PlayingSource::Play() in libiPhone-lib.a(PlayingSource.o)
PlayingSource::CleanupIfStopped() in libiPhone-lib.a(PlayingSource.o)
“_alSourceStop”, referenced from:
AudioSource::StopOneShots() in libiPhone-lib.a(AudioSource.o)
PlayingSource::Cleanup() in libiPhone-lib.a(PlayingSource.o)
“_alIsExtensionPresent”, referenced from:
InitOpenALFormats() in libiPhone-lib.a(AudioClip.o)
“_alSourcePause”, referenced from:
AudioManager::SetPause(bool) in libiPhone-lib.a(AudioManager.o)
AudioManager::SetPause(bool) in libiPhone-lib.a(AudioManager.o)
PlayingSource::Pause() in libiPhone-lib.a(PlayingSource.o)
“_alcDestroyContext”, referenced from:
AudioManager::InitializeClass() in libiPhone-lib.a(AudioManager.o)
AudioManager::CleanupClass() in libiPhone-lib.a(AudioManager.o)
“_alcOpenDevice”, referenced from:
AudioManager::InitializeClass() in libiPhone-lib.a(AudioManager.o)
“_alDistanceModel”, referenced from:
AudioManager::AudioManager(ObjectCreationMode)in libiPhone-lib.a(AudioManager.o)
“_alcCreateContext”, referenced from:
AudioManager::InitializeClass() in libiPhone-lib.a(AudioManager.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
“_alSpeedOfSound”, referenced from:
AudioManager::AudioManager(ObjectCreationMode)in libiPhone-lib.a(AudioManager.o)
AudioManager::AwakeFromLoad(AwakeFromLoadMode) in libiPhone-lib.a(AudioManager.o)
“_alcSuspendContext”, referenced from:
AudioManager::SetPause(bool) in libiPhone-lib.a(AudioManager.o)
“_alcMakeContextCurrent”, referenced from:
AudioManager::InitializeClass() in libiPhone-lib.a(AudioManager.o)
AudioManager::CleanupClass() in libiPhone-lib.a(AudioManager.o)
“_alGetEnumValue”, referenced from:
InitOpenALFormats() in libiPhone-lib.a(AudioClip.o)
“_alGetSourcei”, referenced from:
AudioManager::SetPause(bool) in libiPhone-lib.a(AudioManager.o)
AudioManager::SetPause(bool) in libiPhone-lib.a(AudioManager.o)
AudioSource::GetSecPosition() const in libiPhone-lib.a(AudioSource.o)
PlayingSource::UpdateStream() in libiPhone-lib.a(PlayingSource.o)
PlayingSource::IsPlaying() in libiPhone-lib.a(PlayingSource.o)
PlayingSource::Cleanup() in libiPhone-lib.a(PlayingSource.o)
PlayingSource::CleanupIfStopped() in libiPhone-lib.a(PlayingSource.o)
“_alcCloseDevice”, referenced from:
AudioManager::InitializeClass() in libiPhone-lib.a(AudioManager.o)
AudioManager::InitializeClass() in libiPhone-lib.a(AudioManager.o)
AudioManager::CleanupClass() in libiPhone-lib.a(AudioManager.o)
“_alSourcef”, referenced from:
alSourcePitchWrapper(unsigned int, float)in libiPhone-lib.a(AudioSource.o)
AudioSource::SetRolloffFactor(float) in libiPhone-lib.a(AudioSource.o)
AudioSource::SetRolloffFactor(float) in libiPhone-lib.a(AudioSource.o)
AudioSource::SetupState(PlayingSource, float, bool)in libiPhone-lib.a(AudioSource.o)
AudioSource::SetupState(PlayingSource, float, bool)in libiPhone-lib.a(AudioSource.o)
AudioSource::SetupState(PlayingSource, float, bool)in libiPhone-lib.a(AudioSource.o)
AudioSource::SetupState(PlayingSource, float, bool)in libiPhone-lib.a(AudioSource.o)
AudioSource::SetVolume(float) in libiPhone-lib.a(AudioSource.o)
AudioSource::SetVolume(float) in libiPhone-lib.a(AudioSource.o)
AudioSource::UpdateListenerVolume() in libiPhone-lib.a(AudioSource.o)
AudioSource::UpdateListenerVolume() in libiPhone-lib.a(AudioSource.o)
AudioSource::UpdateListenerVolume() in libiPhone-lib.a(AudioSource.o)
AudioSource::UpdateListenerVolume() in libiPhone-lib.a(AudioSource.o)
AudioSource::UpdateListenerVolume() in libiPhone-lib.a(AudioSource.o)
AudioSource::UpdateListenerVolume() in libiPhone-lib.a(AudioSource.o)
“_alSourcei”, referenced from:
AudioSource::SetSecPosition(float) in libiPhone-lib.a(AudioSource.o)
PlayingSource::SetLooping(bool) in libiPhone-lib.a(PlayingSource.o)
PlayingSource::Setup(AudioClip*, bool) in libiPhone-lib.a(PlayingSource.o)
“_alSourceQueueBuffers”, referenced from:
PlayingSource::UpdateStream() in libiPhone-lib.a(PlayingSource.o)
PlayingSource::Setup(AudioClip*, bool) in libiPhone-lib.a(PlayingSource.o)
“_alcProcessContext”, referenced from:
AudioManager::InitializeClass() in libiPhone-lib.a(AudioManager.o)
AudioManager::SetPause(bool) in libiPhone-lib.a(AudioManager.o)
“_alGenBuffers”, referenced from:
AudioClip::GetBufferID() in libiPhone-lib.a(AudioClip.o)
PlayingSource::Setup(AudioClip*, bool) in libiPhone-lib.a(PlayingSource.o)
“_alSourceUnqueueBuffers”, referenced from:
PlayingSource::UpdateStream() in libiPhone-lib.a(PlayingSource.o)
PlayingSource::Cleanup() in libiPhone-lib.a(PlayingSource.o)
“_alcGetError”, referenced from:
AudioManager::CleanupClass() in libiPhone-lib.a(AudioManager.o)
“_alSourcefv”, referenced from:
AudioSource::UpdatePosition(int) in libiPhone-lib.a(AudioSource.o)
AudioSource::smile:oUpdate() in libiPhone-lib.a(AudioSource.o)
AudioSource::smile:oUpdate() in libiPhone-lib.a(AudioSource.o)
AudioSource::smile:oUpdate() in libiPhone-lib.a(AudioSource.o)
AudioSource::smile:oUpdate() in libiPhone-lib.a(AudioSource.o)
“_alDopplerFactor”, referenced from:
AudioManager::AudioManager(ObjectCreationMode)in libiPhone-lib.a(AudioManager.o)
AudioManager::AwakeFromLoad(AwakeFromLoadMode) in libiPhone-lib.a(AudioManager.o)
“_alDeleteBuffers”, referenced from:
AudioClip::~AudioClip()in libiPhone-lib.a(AudioClip.o)
AudioClip::~AudioClip()in libiPhone-lib.a(AudioClip.o)
PlayingSource::Cleanup() in libiPhone-lib.a(PlayingSource.o)
PlayingSource::Cleanup() in libiPhone-lib.a(PlayingSource.o)
PlayingSource::Setup(AudioClip*, bool) in libiPhone-lib.a(PlayingSource.o)
“_alListenerf”, referenced from:
AudioManager::SetPause(bool) in libiPhone-lib.a(AudioManager.o)
AudioManager::SetPause(bool) in libiPhone-lib.a(AudioManager.o)
“_alGenSources”, referenced from:
PlayingSource::Setup(AudioClip*, bool) in libiPhone-lib.a(PlayingSource.o)
“_alBufferData”, referenced from:
AudioClip::SetAudioBufferData() in libiPhone-lib.a(AudioClip.o)
AudioClip::SetAudioBufferData() in libiPhone-lib.a(AudioClip.o)
PlayingSource::StreamIntoBuffer(int) in libiPhone-lib.a(PlayingSource.o)
“_alListenerfv”, referenced from:
AudioListener::smile:oUpdate() in libiPhone-lib.a(AudioListener.o)
AudioListener::smile:oUpdate() in libiPhone-lib.a(AudioListener.o)
AudioListener::smile:oUpdate() in libiPhone-lib.a(AudioListener.o)
AudioManager::AudioManager(ObjectCreationMode)in libiPhone-lib.a(AudioManager.o)
AudioManager::AudioManager(ObjectCreationMode)in libiPhone-lib.a(AudioManager.o)
AudioManager::AudioManager(ObjectCreationMode)in libiPhone-lib.a(AudioManager.o)
“_alcGetContextsDevice”, referenced from:
AudioManager::CleanupClass() in libiPhone-lib.a(AudioManager.o)
“_alDeleteSources”, referenced from:
PlayingSource::Cleanup() in libiPhone-lib.a(PlayingSource.o)
“_alSourcePlay”, referenced from:
AudioManager::SetPause(bool) in libiPhone-lib.a(AudioManager.o)
AudioSource::PlayOneShot(AudioClip, float) in libiPhone-lib.a(AudioSource.o)
PlayingSource::Play() in libiPhone-lib.a(PlayingSource.o)
PlayingSource::CleanupIfStopped() in libiPhone-lib.a(PlayingSource.o)
“_alSourceStop”, referenced from:
AudioSource::StopOneShots() in libiPhone-lib.a(AudioSource.o)
PlayingSource::Cleanup() in libiPhone-lib.a(PlayingSource.o)
“_alIsExtensionPresent”, referenced from:
InitOpenALFormats() in libiPhone-lib.a(AudioClip.o)
“_alSourcePause”, referenced from:
AudioManager::SetPause(bool) in libiPhone-lib.a(AudioManager.o)
AudioManager::SetPause(bool) in libiPhone-lib.a(AudioManager.o)
PlayingSource::Pause() in libiPhone-lib.a(PlayingSource.o)
“_alcDestroyContext”, referenced from:
AudioManager::InitializeClass() in libiPhone-lib.a(AudioManager.o)
AudioManager::CleanupClass() in libiPhone-lib.a(AudioManager.o)
“_alcOpenDevice”, referenced from:
AudioManager::InitializeClass() in libiPhone-lib.a(AudioManager.o)
“_alDistanceModel”, referenced from:
AudioManager::AudioManager(ObjectCreationMode)in libiPhone-lib.a(AudioManager.o)
“_alcCreateContext”, referenced from:
AudioManager::InitializeClass() in libiPhone-lib.a(AudioManager.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
Build failed (30 errors)

So nobody can help?

:frowning:

Hi, this one had me beat for a while too:

http://forum.unity3d.com/viewtopic.php?t=15573&highlight=openal

  • to fix it, find the OpenAL framework folder that xCode is wrongly using, it is probably in root/Library/frameworks - and rename the folder, I chose to call the folder “OpenAL(OLD).framework”.

That’ll sort it for you.

I will try it that way.
Thank you.

Edit1:
Although i am the only user and i am the admin in the systemcontrols i can not change the name of the folder.

I have to say that i am new to Mac. Bought it becouse of Unity :o)

I try to find out how to get the rights, now.

What i saw is that even i try to to reroute the path in xcode, the path again is in the iPnoe 2.0 sdk and not in the iPhone 2.1 sdk like i reroute it.

Edit2:
Ok, now i have changed the rights and then rename the Folder OpenAl(old).framework and then in xCode the OpenAl.framework getting red. I only can redirect it to a the new iPhone 2.1 sdk with an absolute path when i am in the info window. But after that it still is red and i get the same 30 errors.

Then i looked at all the other frameworks and see that all of them link to the iPhone 2.0 sdk and not the new iPhone sdk 2.1.
Is this the same on your pjojects?
( I changed it in the device drop down list to 2.1 but it will not change them).

Edit 3:

Just hear that it is ok when the frameworks are linking to the iPhone 2.0 frameworks.

When I try to rename the folder, it says “You do not have sufficient access privileges to rename the item ‘OpenAL.framework’.”

I am on an admin account though, which is weird. if you have any sollutions, ti would be much appreciated.

Thanks