I am a newbie in pjsip build with iPhone. I am using iOS 9.3.2, Xcode 7.3
and Pjsip 2.5. I have successfully build Pjsip 2.5 without g729 and it's
working fine without g729. As My application require g729 also, I follow
all instruction from here
http://trac.etellicom.com/wiki/G729CodecForPJSIP2x_iOS6
After enabling g729 using above steps, upon "make dep && make clean &&
make" , it gives below error for all architecture I am using for my
application.
../src/pjsua2-test/main.cppif test ! -d ../bin; then mkdir -p ../bin;
fi/Applications/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/../../../Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-o ../bin/pjsua2-test-armv7-apple-darwin_ios
output/pjsua2-test-armv7-apple-darwin_ios/main.o
-L/MyApps/pjproject/pjlib/lib -L/MyApps/pjproject/pjlib-util/lib
-L/MyApps/pjproject/pjnath/lib -L/MyApps/pjproject/pjmedia/lib
-L/MyApps/pjproject/pjsip/lib -L/MyApps/pjproject/third_party/lib
-O2 -arch armv7 -isysroot
/Applications/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk
-framework AudioToolbox -framework Foundation
-lpjsua2-armv7-apple-darwin_ios -lstdc++
-lpjsua-armv7-apple-darwin_ios -lpjsip-ua-armv7-apple-darwin_ios
-lpjsip-simple-armv7-apple-darwin_ios -lpjsip-armv7-apple-darwin_ios
-lpjmedia-codec-armv7-apple-darwin_ios
-lpjmedia-armv7-apple-darwin_ios
-lpjmedia-videodev-armv7-apple-darwin_ios
-lpjmedia-audiodev-armv7-apple-darwin_ios
-lpjmedia-armv7-apple-darwin_ios -lpjnath-armv7-apple-darwin_ios
-lpjlib-util-armv7-apple-darwin_ios -lsrtp-armv7-apple-darwin_ios
-lresample-armv7-apple-darwin_ios -lgsmcodec-armv7-apple-darwin_ios
-lspeex-armv7-apple-darwin_ios -lilbccodec-armv7-apple-darwin_ios
-lg7221codec-armv7-apple-darwin_ios -lpj-armv7-apple-darwin_ios -lm
-lpthread -framework CoreAudio -framework CoreFoundation -framework
AudioToolbox -framework CFNetwork -framework UIKit -framework UIKit
-framework OpenGLES -framework AVFoundation -framework CoreGraphics
-framework QuartzCore -framework CoreVideo -framework CoreMedia
Undefined symbols for architecture armv7:
"_pjmedia_codec_g729_init", referenced from:
_pjmedia_codec_register_audio_codecs in
libpjmedia-codec-armv7-apple-darwin_ios.a(audio_codecs.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [../bin/pjsua2-test-armv7-apple-darwin_ios] Error 1
make[1]: *** [pjsua2-test-armv7-apple-darwin_ios] Error 2
make: *** [all] Error 1
--
Thanks,
Megha Parmar,
iOS Developer,
iNextrix Technologies Pvt. Ltd.
http://www.inextrix.com/
I have bad news for you: You need to obtain a G.729 implementation for both
armv7 (iPhone 5) and arm64 (iPhone 6, iPad Mini, ...) architectures.
On 7 June 2016 at 04:44, Megha Parmar megha.parmar@inextrix.com wrote:
I am a newbie in pjsip build with iPhone. I am using iOS 9.3.2, Xcode 7.3
and Pjsip 2.5. I have successfully build Pjsip 2.5 without g729 and it's
working fine without g729. As My application require g729 also, I follow
all instruction from here
http://trac.etellicom.com/wiki/G729CodecForPJSIP2x_iOS6
After enabling g729 using above steps, upon "make dep && make clean &&
make" , it gives below error for all architecture I am using for my
application.
../src/pjsua2-test/main.cppif test ! -d ../bin; then mkdir -p ../bin; fi/Applications/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/../../../Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -o ../bin/pjsua2-test-armv7-apple-darwin_ios
output/pjsua2-test-armv7-apple-darwin_ios/main.o -L/MyApps/pjproject/pjlib/lib -L/MyApps/pjproject/pjlib-util/lib -L/MyApps/pjproject/pjnath/lib -L/MyApps/pjproject/pjmedia/lib -L/MyApps/pjproject/pjsip/lib -L/MyApps/pjproject/third_party/lib -O2 -arch armv7 -isysroot /Applications/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk -framework AudioToolbox -framework Foundation -lpjsua2-armv7-apple-darwin_ios -lstdc++ -lpjsua-armv7-apple-darwin_ios -lpjsip-ua-armv7-apple-darwin_ios -lpjsip-simple-armv7-apple-darwin_ios -lpjsip-armv7-apple-darwin_ios -lpjmedia-codec-armv7-apple-darwin_ios -lpjmedia-armv7-apple-darwin_ios -lpjmedia-videodev-armv7-apple-darwin_ios -lpjmedia-audiodev-armv7-apple-darwin_ios -lpjmedia-armv7-apple-darwin_ios -lpjnath-armv7-apple-darwin_ios -lpjlib-util-armv7-apple-darwin_ios -lsrtp-armv7-apple-darwin_ios -lresample-armv7-apple-darwin_ios -lgsmcodec-armv7-apple-darwin_ios -lspeex-armv7-apple-darwin_ios -lilbccodec-armv7-apple-darwin_ios -lg7221codec-armv7-apple-darwin_ios -lpj-armv7-apple-darwin_ios -lm -lpthread -framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork -framework UIKit -framework UIKit -framework OpenGLES -framework AVFoundation -framework CoreGraphics -framework QuartzCore -framework CoreVideo -framework CoreMedia Undefined symbols for architecture armv7:
"_pjmedia_codec_g729_init", referenced from:
_pjmedia_codec_register_audio_codecs in libpjmedia-codec-armv7-apple-darwin_ios.a(audio_codecs.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [../bin/pjsua2-test-armv7-apple-darwin_ios] Error 1
make[1]: *** [pjsua2-test-armv7-apple-darwin_ios] Error 2
make: *** [all] Error 1
--
Thanks,
Megha Parmar,
iOS Developer,
iNextrix Technologies Pvt. Ltd.
http://www.inextrix.com/
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
i can help you to implement G729.Please contact me at my mail.
On Thu, Jul 21, 2016 at 10:15 PM, Nuno Centeio nuno.r.centeio@gmail.com wrote:
I have bad news for you: You need to obtain a G.729 implementation for both
armv7 (iPhone 5) and arm64 (iPhone 6, iPad Mini, ...) architectures.
On 7 June 2016 at 04:44, Megha Parmar megha.parmar@inextrix.com wrote:
I am a newbie in pjsip build with iPhone. I am using iOS 9.3.2, Xcode 7.3
and Pjsip 2.5. I have successfully build Pjsip 2.5 without g729 and it's
working fine without g729. As My application require g729 also, I follow all
instruction from here
After enabling g729 using above steps, upon "make dep && make clean &&
make" , it gives below error for all architecture I am using for my
application.
../src/pjsua2-test/main.cpp
if test ! -d ../bin; then mkdir -p ../bin; fi
/Applications/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/../../../Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-o ../bin/pjsua2-test-armv7-apple-darwin_ios
output/pjsua2-test-armv7-apple-darwin_ios/main.o
-L/MyApps/pjproject/pjlib/lib -L/MyApps/pjproject/pjlib-util/lib
-L/MyApps/pjproject/pjnath/lib -L/MyApps/pjproject/pjmedia/lib
-L/MyApps/pjproject/pjsip/lib -L/MyApps/pjproject/third_party/lib
-O2 -arch armv7 -isysroot
/Applications/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk
-framework AudioToolbox -framework Foundation
-lpjsua2-armv7-apple-darwin_ios -lstdc++ -lpjsua-armv7-apple-darwin_ios
-lpjsip-ua-armv7-apple-darwin_ios -lpjsip-simple-armv7-apple-darwin_ios
-lpjsip-armv7-apple-darwin_ios -lpjmedia-codec-armv7-apple-darwin_ios
-lpjmedia-armv7-apple-darwin_ios -lpjmedia-videodev-armv7-apple-darwin_ios
-lpjmedia-audiodev-armv7-apple-darwin_ios -lpjmedia-armv7-apple-darwin_ios
-lpjnath-armv7-apple-darwin_ios -lpjlib-util-armv7-apple-darwin_ios
-lsrtp-armv7-apple-darwin_ios -lresample-armv7-apple-darwin_ios
-lgsmcodec-armv7-apple-darwin_ios -lspeex-armv7-apple-darwin_ios
-lilbccodec-armv7-apple-darwin_ios -lg7221codec-armv7-apple-darwin_ios
-lpj-armv7-apple-darwin_ios -lm -lpthread -framework CoreAudio -framework
CoreFoundation -framework AudioToolbox -framework CFNetwork -framework UIKit
-framework UIKit -framework OpenGLES -framework AVFoundation -framework
CoreGraphics -framework QuartzCore -framework CoreVideo -framework CoreMedia
Undefined symbols for architecture armv7:
"_pjmedia_codec_g729_init", referenced from:
_pjmedia_codec_register_audio_codecs in
libpjmedia-codec-armv7-apple-darwin_ios.a(audio_codecs.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[2]: *** [../bin/pjsua2-test-armv7-apple-darwin_ios] Error 1
make[1]: *** [pjsua2-test-armv7-apple-darwin_ios] Error 2
make: *** [all] Error 1
--
Thanks,
Megha Parmar,
iOS Developer,
iNextrix Technologies Pvt. Ltd.
http://www.inextrix.com/
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org