Cross compiling PJSIP for ARM

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

 



Hi Everyone,

I'm trying to cross compile PJSIP for ARM but I'm having a bit of trouble
compiling the python module.

I'm using the cross compiler that I created using buildroot, and everything
seems to go fine in the ./configure --host=arm-linux , make dep , and make
steps of the process.  However when I try to create the python module I get
the following.

bc at azure:~/pjproject-1.3/pjsip-apps/src/python$ sudo python setup.py install
running install
running build
running build_py
running build_ext
building '_pjsua' extension
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions
build/temp.linux-i686-2.5/_pjsua.o -L/home/bc/pjproject-1.3/pjlib/lib
-L/home/bc/pjproject-1.3/pjlib-util/lib -L/home/bc/pjproject-1.3/pjnath/lib
-L/home/bc/pjproject-1.3/pjmedia/lib -L/home/bc/pjproject-1.3/pjsip/lib
-L/home/bc/pjproject-1.3/third_party/lib -lpjsua-arm-unknown-linux-gnu
-lpjsip-ua-arm-unknown-linux-gnu -lpjsip-simple-arm-unknown-linux-gnu
-lpjsip-arm-unknown-linux-gnu -lpjmedia-codec-arm-unknown-linux-gnu
-lpjmedia-arm-unknown-linux-gnu -lpjmedia-audiodev-arm-unknown-linux-gnu
-lpjnath-arm-unknown-linux-gnu -lpjlib-util-arm-unknown-linux-gnu
-lresample-arm-unknown-linux-gnu -lmilenage-arm-unknown-linux-gnu
-lsrtp-arm-unknown-linux-gnu -lgsmcodec-arm-unknown-linux-gnu
-lspeex-arm-unknown-linux-gnu -lilbccodec-arm-unknown-linux-gnu
-lg7221codec-arm-unknown-linux-gnu -lportaudio-arm-unknown-linux-gnu
-lpj-arm-unknown-linux-gnu -lm -lnsl -lrt -lpthread -o
build/lib.linux-i686-2.5/_pjsua.so
/usr/bin/ld: skipping incompatible
/home/bc/pjproject-1.3/pjsip/lib/libpjsua-arm-unknown-linux-gnu.a when
searching for -lpjsua-arm-unknown-linux-gnu
/usr/bin/ld: cannot find -lpjsua-arm-unknown-linux-gnu
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

I'm not sure why the linker is saying the file is incompatible.  Can anyone
explain why this is happening and how to fix it?

Thanks for your help,
Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090706/c787cb3c/attachment.html>


[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