Hi,
In version 1.12 of PJSIP it mentions that it now supports opencore-amr, but
I am finding it impossible to compile opencore-amr for iOS and I was
wondering if I had missed any instructions?
When I attempt to compile opencore-amr it always produces an x86_64 (which
is the architecture of the MacBook Air I am compiling it on) and I have
attempted using the following command to produce a armv6 version but to no
avail:
./configure --prefix=/usr/local/iphone --host=arm-apple-darwin9
--disable-shared --enable-gcc-armv5 CC="gcc -arch armv6
-sdkroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk"
CXX="g++ -arch armv6
-sdkroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk"
LDFLAGS="-Wl,-syslibroot,/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk"
CFLAGS="-arch armv6 -pipe -std=c99 -Wno-trigraphs -fpascal-strings
-fasm-blocks -O0 -Wreturn-type -Wunused-variable -fmessage-length=0
-fvisibility=hidden -miphoneos-version-min=4.0 -gdwarf-2 -isysroot
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk"
CPP=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/cpp
AR=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ar
Any help would be appreciated.
Regards
Spencer
Hi,
Here is a shell script to compile opencore-amr
Regards
Samuel
Le 26/01/12 12:58, Spencer MacDonald a écrit :
Hi,
In version 1.12 of PJSIP it mentions that it now supports
opencore-amr, but I am finding it impossible to compile opencore-amr
for iOS and I was wondering if I had missed any instructions?
When I attempt to compile opencore-amr it always produces an x86_64
(which is the architecture of the MacBook Air I am compiling it on)
and I have attempted using the following command to produce a armv6
version but to no avail:
./configure --prefix=/usr/local/iphone --host=arm-apple-darwin9 --disable-shared --enable-gcc-armv5 CC="gcc -arch armv6 -sdkroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk" CXX="g++ -arch armv6 -sdkroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk" LDFLAGS="-Wl,-syslibroot,/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk" CFLAGS="-arch armv6 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -fmessage-length=0 -fvisibility=hidden -miphoneos-version-min=4.0 -gdwarf-2 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk" CPP=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/cpp AR=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ar
Any help would be appreciated.
Regards
Spencer
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org