Part Number: TMDSLCDK138
Other Parts Discussed in Thread: OMAPL138
Tool/software: Linux
Hello,
I am trying to cross compile PJSIP for my OMAPL138.
I am on Ubuntu 16.04, I have downloaded the arago toolchain here.
I add it into the PATH like so :
~$ export PATH=/home/usr/arago-2011.09-armv5te-linux-gnueabi-sdk/arago-2011.09/armv5te/bin/:$PATH
I tested it by doing :
~$ arm-arago-linux-gnueabi-gcc --version arm-arago-linux-gnueabi-gcc (GCC) 4.5.3 20110311 (prerelease) Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Now in the pjsip folder I did :
~$ ./configure --build=x86_64-linux-gnu --host=arm-elf-linux --without-gcc --with-cxx-main=arm-arago-linux-gnueabi-gcc --disable-libyuv ~$ make dep ~$ make ~$ make install DESTDIR=OMAP_pjsip
I did a tar.bz2 containing pjsip/bin,etc. and all the libs (pjsip-apps, etc.) and I sent it to my board with a scp.
Then I past the pjsip/lib and include/ in /usr/ and I tried to launch an app like so :
~pjsip-apps/bin/samples/arm-elf-linux-gnu$ ./stereotest -sh: ./stereotest: cannot execute binary file
It seems that pjsip has not been compiled for the proper host... Because When I try to launch the same script on my Ubuntu it works.
What do I have to do ?
Thank you in advance for your help !