[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] Include liblinphone in an iOS App

From: Ramon Poca
Subject: Re: [Linphone-developers] Include liblinphone in an iOS App
Date: Fri, 7 Sep 2012 10:36:18 +0200

Beware if you are building with the linker -load_all flag. We had a similar problem due to duplicate symbols in some of linphone's third party libraries. 

The solution is not to use -load_all, which loads all symbols from all libraries wether they are needed or not, but rather -force_load only the libraries that require it (mostly ObjC categories). 

PS: load_all or load-all, check the exact syntax… ;)

Ramon Poca

El 04/09/2012, a les 0:50, Leonardo Cecilia <address@hidden> va escriure:

I'm trying to include liblinphone in an iOS App. My app has one Xcode project which has one more internal project. That internal project manages the communications and other low level resources. I included liblinphone in the internal project and it worked well, I mean I could build it.
Now I'm having an issue, when I try to build the main project, it doesn't build. I get the following errors:

Duplicate symbol _ff_inverse in /Users/user/Library/Developer/Xcode/DerivedData/PD-ebehdxmgbtgbtlbjdlkqtkrghpsw/Build/Products/Debug-iphoneos/libOtoRemoteMixerLib.a(inverse.o) and /Users/user/Library/Developer/Xcode/DerivedData/PD-ebehdxmgbtgbtlbjdlkqtkrghpsw/Build/Products/Debug-iphoneos/libOtoRemoteMixerLib.a(inverse.o) for architecture armv7

Command /DeveloperPlatforms/iPhoneOS.platform/Developer/usr/bin/clang++ failed with exit code 1

Thanks in advance,
Linphone-developers mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]