Hi,
Want to add G729 codec to PJSIP 2.5 build for iOS. i followed every step mentioned in the site
http://trac.etellicom.com/wiki/G729CodecForPJSIP2x_iOS6
but i got linking error as below :
Undefined symbols for architecture armv7:
"_g729a_dec_deinit", referenced from:
_g729_dealloc_codec in libpjmedia-codec-armv7-apple-darwin_ios.a(g729.o)
_g729_close in libpjmedia-codec-armv7-apple-darwin_ios.a(g729.o)
"_g729a_dec_init", referenced from:
_g729_open in libpjmedia-codec-armv7-apple-darwin_ios.a(g729.o)
"_g729a_dec_mem_size", referenced from:
_g729_open in libpjmedia-codec-armv7-apple-darwin_ios.a(g729.o)
"_g729a_dec_process", referenced from:
_g729_decode in libpjmedia-codec-armv7-apple-darwin_ios.a(g729.o)
"_g729a_enc_deinit", referenced from:
_g729_dealloc_codec in libpjmedia-codec-armv7-apple-darwin_ios.a(g729.o)
_g729_close in libpjmedia-codec-armv7-apple-darwin_ios.a(g729.o)
"_g729a_enc_init", referenced from:
_g729_open in libpjmedia-codec-armv7-apple-darwin_ios.a(g729.o)
"_g729a_enc_mem_size", referenced from:
_g729_open in libpjmedia-codec-armv7-apple-darwin_ios.a(g729.o)
"_g729a_enc_process", referenced from:
_g729_encode in libpjmedia-codec-armv7-apple-darwin_ios.a(g729.o)
And also g729 libs are not getting generated under third party lib folder.
When i build the same changes in linux machine , getting error
g729.c:(.text+0x7a): undefined reference to `g729a_enc_deinit'
g729.c:(.text+0x83): undefined reference to `g729a_dec_deinit'
/home/deepak/comp_pjsip_code/Original_PJSIP/g729codecforpjsip/pjmedia/lib/libpjmedia-codec-x86_64-unknown-linux-gnu.a(g729.o): In function `g729_decode':
g729.c:(.text+0x10c): undefined reference to `g729a_dec_process'
/home/deepak/comp_pjsip_code/Original_PJSIP/g729codecforpjsip/pjmedia/lib/libpjmedia-codec-x86_64-unknown-linux-gnu.a(g729.o): In function `g729_encode':
g729.c:(.text+0x223): undefined reference to `g729a_enc_process'
/home/deepak/comp_pjsip_code/Original_PJSIP/g729codecforpjsip/pjmedia/lib/libpjmedia-codec-x86_64-unknown-linux-gnu.a(g729.o): In function `g729_open':
g729.c:(.text+0x318): undefined reference to `g729a_enc_mem_size'
g729.c:(.text+0x339): undefined reference to `g729a_enc_init'
g729.c:(.text+0x353): undefined reference to `g729a_dec_mem_size'
g729.c:(.text+0x374): undefined reference to `g729a_dec_init'
Looks like , it is not able to find the g729 header files. Tried every possiblities, but some where i am missing.
can anyone suggest , how to overcome this error ,and successfully build for all architecture (armv7, armv7s, arm62, i386) for iOS
Thanks in AdvanceWant to add G729 codec to PJSIP 2.5 build for iOS. i followed every step mentioned in the site
http://trac.etellicom.com/wiki/G729CodecForPJSIP2x_iOS6
but i got linking error as below :
Undefined symbols for architecture armv7:
"_g729a_dec_deinit", referenced from:
_g729_dealloc_codec in libpjmedia-codec-armv7-apple-darwin_ios.a(g729.o)
_g729_close in libpjmedia-codec-armv7-apple-darwin_ios.a(g729.o)
"_g729a_dec_init", referenced from:
_g729_open in libpjmedia-codec-armv7-apple-darwin_ios.a(g729.o)
"_g729a_dec_mem_size", referenced from:
_g729_open in libpjmedia-codec-armv7-apple-darwin_ios.a(g729.o)
"_g729a_dec_process", referenced from:
_g729_decode in libpjmedia-codec-armv7-apple-darwin_ios.a(g729.o)
"_g729a_enc_deinit", referenced from:
_g729_dealloc_codec in libpjmedia-codec-armv7-apple-darwin_ios.a(g729.o)
_g729_close in libpjmedia-codec-armv7-apple-darwin_ios.a(g729.o)
"_g729a_enc_init", referenced from:
_g729_open in libpjmedia-codec-armv7-apple-darwin_ios.a(g729.o)
"_g729a_enc_mem_size", referenced from:
_g729_open in libpjmedia-codec-armv7-apple-darwin_ios.a(g729.o)
"_g729a_enc_process", referenced from:
_g729_encode in libpjmedia-codec-armv7-apple-darwin_ios.a(g729.o)
And also g729 libs are not getting generated under third party lib folder.
When i build the same changes in linux machine , getting error
g729.c:(.text+0x7a): undefined reference to `g729a_enc_deinit'
g729.c:(.text+0x83): undefined reference to `g729a_dec_deinit'
/home/deepak/comp_pjsip_code/Original_PJSIP/g729codecforpjsip/pjmedia/lib/libpjmedia-codec-x86_64-unknown-linux-gnu.a(g729.o): In function `g729_decode':
g729.c:(.text+0x10c): undefined reference to `g729a_dec_process'
/home/deepak/comp_pjsip_code/Original_PJSIP/g729codecforpjsip/pjmedia/lib/libpjmedia-codec-x86_64-unknown-linux-gnu.a(g729.o): In function `g729_encode':
g729.c:(.text+0x223): undefined reference to `g729a_enc_process'
/home/deepak/comp_pjsip_code/Original_PJSIP/g729codecforpjsip/pjmedia/lib/libpjmedia-codec-x86_64-unknown-linux-gnu.a(g729.o): In function `g729_open':
g729.c:(.text+0x318): undefined reference to `g729a_enc_mem_size'
g729.c:(.text+0x339): undefined reference to `g729a_enc_init'
g729.c:(.text+0x353): undefined reference to `g729a_dec_mem_size'
g729.c:(.text+0x374): undefined reference to `g729a_dec_init'
Looks like , it is not able to find the g729 header files. Tried every possiblities, but some where i am missing.
can anyone suggest , how to overcome this error ,and successfully build for all architecture (armv7, armv7s, arm62, i386) for iOS
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org