linphone-users
[Top][All Lists]
Advanced

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

Re: [Linphone-users] x86_64 compilation on OS X


From: Guillaume Bienkowski
Subject: Re: [Linphone-users] x86_64 compilation on OS X
Date: Wed, 18 Feb 2015 14:00:47 +0100

This is due to the way we detect build type in Mac environment. 
As of today x86_64 is determined to be a Mac (and not iOS) target (see configure.ac of belle sip), and we can’t easily determine for which target we should compile.

I have a work in progress to add a switch (--for-ios) to the configure script that forces the iOS build, but it is not ready, and in any case, linphone and belle-sip are not the only packages of the SDK that need a bit of handling to compile in x86_64.

You’re welcome to submit patches if you manage to compile.

Regards,

Guillaume Bienkowski



Le 18 févr. 2015 à 12:05, Bjørn Olav Ruud <address@hidden> a écrit :

Hi,

I have been trying to add x86_64 support to the liblinphone build scripts in the linphone-iphone repo, but get an error I am unable to solve when compiling belle-sip.

checking dynamic linker characteristics... darwin dyld
checking how to hardcode library paths into programs... immediate
checking antlr3.h usability... no
checking antlr3.h presence... yes
configure: WARNING: antlr3.h: present but cannot be compiled
configure: WARNING: antlr3.h:     check for missing prerequisite headers?
configure: WARNING: antlr3.h: see the Autoconf documentation
configure: WARNING: antlr3.h:     section "Present But Cannot Be Compiled"
configure: WARNING: antlr3.h: proceeding with the compiler's result
configure: WARNING:     ## ----------------------------------------- ##
configure: WARNING:     ## Report this to address@hidden ##
configure: WARNING:     ## ----------------------------------------- ##
checking for antlr3.h... no
checking whether antlr3StringStreamNew is declared... no
configure: WARNING: res_getservers not usable
checking whether res_ndestroy is declared... no
configure: error: Could not find antlr3 development files. Please install antlr3 version > 3.2 (libantlr3c-dev on debian/ubuntu systems)
make[1]: *** [/Users/boru/src/linphone-clean/submodules/build/../build-x86_64-apple-darwin/belle-sip/Makefile] Error 1
make: *** [broadcast_all] Error 2

The other architectures (i386, armv7, arm64) compile without issues. The result is the same with both MacPorts and Homebrew build environments. Does anyone know why antlr3 is a problem only with x86_64 architecture?

Will there be official x86_64 support in the near future?

_______________________________________________
Linphone-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-users


reply via email to

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