LinPhone build support for both 32 bit and 64 bit

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

LinPhone build support for both 32 bit and 64 bit

piyush
This post was updated on .
I have been using the linphone for long time. My app is working fine in iPhone 5s and iPhone 6, but it is giving error in iPhone 4s. It is giving 201 linking errors like below:-

Undefined symbols for architecture i386:
  "_libmsilbc_init", referenced from:
      -[LinphoneManager createLinphoneCore] in LinphoneManager.o
  "_libmsopenh264_init", referenced from:
      -[LinphoneManager createLinphoneCore] in LinphoneManager.o
  "_libmssilk_init", referenced from:

I have pasted here only 3 errors for reference.

After searching a lot and reading "Readme" file, I found that to support 32 bit architecture, I have to call "enable_i386=yes" at the time of building the SDK. But for some reasons, I didn't do that.
Now, my app is working for 64 bit architecture and not for 32 bit architecture. So, is there any way I can make my app compatible for both 32 bit and 64 bit architectures.

Thanks in advance

Regards
Piyush
Reply | Threaded
Open this post in threaded view
|

Re: LinPhone build support for both 32 bit and 64 bit

Guillaume BIENKOWSKI-2
Recompile the SDK by issuing make enable_i386=yes. Your SDK will have the required i386 libs after that.


On Fri, May 1, 2015 at 2:33 PM, piyush <[hidden email]> wrote:
I have been using the linphone for long time. My app is working fine in
iPhone 5s and iPhone 6, but it is giving error in iPhone 4s. It is giving
201 linking errors like below:-

Undefined symbols for architecture i386:
  "_libmsilbc_init", referenced from:
      -[LinphoneManager createLinphoneCore] in LinphoneManager.o
  "_libmsopenh264_init", referenced from:
      -[LinphoneManager createLinphoneCore] in LinphoneManager.o
  "_libmssilk_init", referenced from:

I have pasted here only 3 errors for reference.

After searching a lot and reading "Readme" file, I found that to support 32
bit architecture, I have to call "enable_i386=yes" at the time building the
SDK. But for some reasons, I didn't do that.
Now, my app is working for 64 bit architecture and not 32 bit architecture.
So, is there any way I can make my app compatible for both 32 bit and 64 bit
architectures.

Thanks in advance

Regards
Piyush




--
View this message in context: http://nongnu.13855.n7.nabble.com/LinPhone-build-support-for-both-32-bit-and-64-bit-tp199510.html
Sent from the linphone-developers mailing list archive at Nabble.com.

_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers


_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers
Reply | Threaded
Open this post in threaded view
|

Re: LinPhone build support for both 32 bit and 64 bit

piyush
Ok. Thank you so much for the help.