PJSIP with G729 on latest Mac OSX

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

 



Hi All,

I have two issues that I would appreciate feedback on. The end game is I want to get G729 working with PJSIP  2.10 on the latest version of the MAC (I am not fussed with which 729 library to use)


Problem 1 

I was previously using an older version of PJSIP (2.1.0) built on OSX Mavericks and successfully built this to use 64bit IPP libraries at the time with G729.  When trying to build the latest pjsip version (2.10) with the same IPP libraries I am hitting  the link issue below as per https://trac.pjsip.org/repos/ticket/2029 . What I found peculiar is that older PJSIP 2.1.0 successfully builds on the latest version of the MAC with the libraries "as is" with no issues. 

As per the above URL  states that the link issue is because the IPP libraries were built using IPP compiler . It does beg the question why the previous version of PJSIP doesn't have this issue while the latest does. I would really like to avoid recompiling IPP libraries as the process is time consuming and filled with trial and error. To build this previously took a couple of weeks of trial and error with little support from Intel on the matter.... 

Link error:
Undefined symbols:
  "_USC_G728_Fxns", referenced from:
      _ipp_codec in libpjmedia-codec-i386-apple-darwin9.8.0.a(ipp_codecs.o)
  "_USC_G729AFP_Fxns", referenced from:
      _ipp_codec in libpjmedia-codec-i386-apple-darwin9.8.0.a(ipp_codecs.o)
  "_USC_AMRWB_Fxns", referenced from:
      _ipp_codec in libpjmedia-codec-i386-apple-darwin9.8.0.a(ipp_codecs.o)



Problem 2

As an alternative to the above I thought to try and build  bcg729 .. I have successfully built it using CMAKE  and followed instruction as per https://trac.pjsip.org/repos/ticket/2029 on the OSX machine (and verifed that it is a 64 bit library). When setting up pjsip ./configure it doesn't recognize the library (bcg has built both a static .a file and dylib)... When forcing the PJSIP make to look in the appropriate location and enabling BCG729 in config_site.h, everything builds but linker fails 

I am hitting the issue that PJSIP does not recognize the library with error below       

Undefined symbols for architecture x86_64:
"_pjmedia_codec_bcg729_init", referenced from:
_pjmedia_codec_register_audio_codecs in libpjmedia-codec-x86_64-apple-darwin18.5.0(audio_codecs.o)
ld: symbol(s) not found for architecture x86_64 















_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux