pjsip cross compile

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

 



Hi

 

I want to cross compile PJSIP from my Ubuntu machine running on x86, for raspberry pi, arm architecture.

But there's some problems.

I've installed "gcc-arm-linux-gnueabi", to cross compile the PJSIP using it for 'arm'.

I ran "./configure –hostname=arm-linux-gnueabi" and it seems it's ok :

(part of the above command result)

checking build system type... x86_64-unknown-linux-gnu

checking host system type... arm-unknown-linux-gnueabi

checking target system type... arm-unknown-linux-gnueabi

checking for arm-linux-gnueabi-gcc... arm-linux-gnueabi-gcc

checking whether the C compiler works... yes

checking for C compiler default output file name... a.out

checking for suffix of executables...

checking whether we are cross compiling... yes

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether arm-linux-gnueabi-gcc accepts -g... yes

 

the following is the result of "make dep" :

make[2]: Leaving directory `/home/farzan/pjproject-2.4.5/pjsip-apps/build'
make -f Samples.mak depend
make[2]: Entering directory `/home/farzan/pjproject-2.4.5/pjsip-apps/build'
make[2]: Nothing to be done for `depend'.
make[2]: Leaving directory `/home/farzan/pjproject-2.4.5/pjsip-apps/build'
make[1]: Leaving directory `/home/farzan/pjproject-2.4.5/pjsip-apps/build'

 

when I run "make" I get the following error:

 

/usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld: cannot find -lasound
/usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld: cannot find -lasound
/usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld: cannot find -lasound
collect2: error: ld returned 1 exit status
make[2]: *** [../bin/pjlib-test-arm-unknown-linux-gnueabi] Error 1
make[2]: Leaving directory `/home/farzan/pjproject-2.4.5/pjlib/build'
make[1]: *** [pjlib-test-arm-unknown-linux-gnueabi] Error 2
make[1]: Leaving directory `/home/farzan/pjproject-2.4.5/pjlib/build'
make: *** [all] Error 1

 

has anybody no idea??

How can I solve it?

_______________________________________________
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