Error while compiling pjsip 2 for cxode 4.3.2 and SDK 5.1

Posted by Linus Persson on Stack Overflow See other posts from Stack Overflow or by Linus Persson
Published on 2012-04-24T13:15:45Z Indexed on 2012/06/22 9:16 UTC
Read the original article Hit count: 217

Filed under:
|
|
|
|

I'm trying to compile pjsip version 2 using the terminal and I'm getting constant error no matter what I try. Been looking for the answer all over the internet including stackoverflow.

I downloaded pjsip version 2 using their subversion repository today so all files should be up to date.

When following this guide: http://trac.pjsip.org/repos/wiki/Getting-Started/iPhone I get this error after running "make dep && make clean && make":

ld: symbol(s) not found for architecture armv7
collect2: ld returned 1 exit status
make[2]: *** [../bin/pjsua-arm-apple-darwin9] Error 1
make[1]: *** [pjsua] Error 2
make: *** [all] Error 1

When using the above guide combined with this guide: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2011-October/013481.html I get this error after running "make dep && make clean && make":

ld: symbol(s) not found for architecture arm
collect2: ld returned 1 exit status
make[2]: *** [../bin/pjsua-arm-apple-darwin10] Error 1
make[1]: *** [pjsua] Error 2
make: *** [all] Error 1

I've included /pjlib/include/pj/config_site.h with the following code:

#define PJ_CONFIG_IPHONE 1
#include <pj/config_site_sample.h>

How do I get pjsip to compile without errors?

Please consider that I'm new to this, thank you!

© Stack Overflow or respective owner

Related posts about iphone

Related posts about osx