muneeebpv / siphon

Automatically exported from code.google.com/p/siphon
0 stars 0 forks source link

how to integrate g729a codec for pjsip 1.12 for ios5.x #559

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Dear Siphon Team,

I am trying to compile pjsip 1.12 with g729a codec to integrate in siphon for 
ios 5.0 and ios simulator 5.0 using xcode 4.2 by following the below URL:

http://www.piemontewireless.net/Compile_available_codecs_in_PJSip_with_iPhoneSDK
312

But getting a lots of errors like 

Gaurav-iMac:pjproject Home$ export 
CC=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.0
Gaurav-iMac:pjproject Home$ CFLAGS="-O2 -m32 -miphoneos-version-min=4.0" 
LDFLAGS="-O2 -m32" ./configure-iphone
configure-iphone: IPHONESDK is not specified, choosing iPhoneSimulator5.0.sdk
configure-iphone: CXX is not specified, using 
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++-4.0
configure-iphone: calling ./aconfigure with env vars:
 CC = /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.0
 CXX = /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++-4.0
 SDKPATH = /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk
 CFLAGS = -O2 -m32 -miphoneos-version-min=4.0 -DPJ_SDK_NAME="\"iPhoneSimulator5.0.sdk\""  -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk
 LDFLAGS = -O2 -m32  -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -framework AudioToolbox -framework Foundation
 AR = /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/libtool -static -o
 RANLIB = echo ranlib
aconfigure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... i386-apple-darwin10.8.0
checking host system type... arm-apple-darwin9
checking target system type... arm-apple-darwin9
checking for arm-apple-darwin9-gcc... 
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.0
checking for C compiler default output file name... 
aconfigure: error: C compiler cannot create executables
See `config.log' for more details.

make -f /Users/Gaurav/desktop/pjproject/build/rules.mak APP=PJLIB app=pjlib 
clean
.pjlib-arm-apple-darwin9.depend:1: *** missing separator.  Stop.
make[1]: *** [clean] Error 2
make: *** [clean] Error 1

Could you please let me know where I have to make changes in the above 
guideline to compile pjsip 1.12 with g729 a codec for ios 5.0 using xcode 4.2 
for siphon.

I will be highly thankful to you .

Thanks & Best Regards
Gaurav Bhaskar.

Original issue reported on code.google.com by gauraviP...@gmail.com on 30 Jan 2012 at 7:41

GoogleCodeExporter commented 9 years ago
have the same problem did someone find out what you need to do ?

Original comment by nielstur...@gmail.com on 14 Mar 2012 at 11:58

GoogleCodeExporter commented 9 years ago
i'm also facing the same problem....do we need to include any patches for g729?

Original comment by d.sarava...@gmail.com on 15 May 2012 at 2:59