G729, iOS4 + PJSIP 1.8 Issues

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

 



I'm also encountering a similar problem, I'm going to debug it on my own and say what I did to fix it. The error I'm getting is below, I'm sure you saw it already.
Undefined symbols:
  "_pjmedia_codec_g722_init", referenced from:
      _pjmedia_codec_g722_init$non_lazy_ptr in mips_test.o
     (maybe you meant: _pjmedia_codec_g722_init$non_lazy_ptr)
  "_pjmedia_codec_g722_deinit", referenced from:
      _pjmedia_codec_g722_deinit$non_lazy_ptr in mips_test.o
     (maybe you meant: _pjmedia_codec_g722_deinit$non_lazy_ptr)
ld: symbol(s) not found

The steps I took to compile are these:
1. Add the config_site.h with these lines.
#define PJ_CONFIG_IPHONE 1
#include <pj/config_site_sample.h>

2. Configure with like this.
CFLAGS="-miphoneos-version-min=3.1" CFLAGS="-miphoneos-version-min=3.1" ./configure-iphone --prefix="/opt-iphone"

3. Compile like this.
make dep
make clean
make

As I said, I'll look more into this to find the problem, but if someone has a fix, please tell me. When I find the fix, I'll post it.

On Sep 24, 2010, at 2:10 AM, Samuel Vinson wrote:

> Hi,
> 
> Do you have just one undefined symbol ? You should have two undefined symbol in your case :
> pjmedia_codec_g729_init
> pjmedia_codec_g729_deinit
> Did you include and compile g720.h/.c in pjmedia_codec library ?
> 
> Regards
> 
> Samuel
> 
> Le 24/09/10 03:19, Dan Nolan a ?crit :
>> 
>> G'day guys,
>> 
>> Followed the guide from piedmont wireless for compiling G729 (Samuel's ITU implementation) and am having that same: 
>> 
>> Undefined symbols:
>>   "_pjmedia_codec_g729_init", referenced from:
>>       _pjsua_media_subsys_init in libpjsua-arm-apple-darwin9.a(pjsua_media.o)
>> 
>> Error. I've double, triple and quadruple checked that the references are all there, and that Samuel's ITU implementation is in third_party, that it's added in pj-media and the codecs directories and it's referenced. Just won't seem to compile against pjsip 1.8. Was wondering if anyone had any idea how to compile pjsip 1.8 against the Intel IPP libraries instead (there appears to be an ARM variant), or how to fix this to get G729 working with pjsip. I've been testing it with ILBC but it doesn't sound too crash hot and the echo cancellation doesn't seem to be functioning all that well, though I saw that that may be due to a bug in iOS 4.0/4.1
>> 
>> Cheers,
>> 
>> Dan Nolan
>> _______________________________________________
>> Visit our blog: http://blog.pjsip.org
>> 
>> pjsip mailing list
>> pjsip at lists.pjsip.org
>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>> 
>> 
> 
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
> 
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100924/04fd99c5/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4657 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100924/04fd99c5/attachment-0001.p7s>


[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