PJSIP2 – libSDL and Android

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

 



Hello,

I'm trying to cross compile the pjsip SVN revision 4145 on MacOSX 10.6.8 for Android14-toolchain, but I get an error related to the libSDL library. This issue doesn't occur with the SVN revision 4038. 

Compilation for MacOSX works fine for SVN revision 4145 . Below you are the steps to reproduce the issue. 


$ $HOME/android-ndk-r7/build/tools/make-standalone-toolchain.sh --platform=android-14 --install-dir=$HOME/android14-toolchain

$ port installed | grep sdl
libsdl-devel @1.3.0-6248_0 (active)


$ svn co http://svn.pjsip.org/repos/pjproject/trunk pjproject
$ cd pjproject
$ curl -O http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110324/186c9954/attachment-0001.patch
$ patch -p1 < attachment-0001.patch
$ autoconf aconfigure.ac >aconfigure
$ CC=~/android14-toolchain/bin/arm-linux-androideabi-gcc ./configure --host=arm-linux-androideabi --disable-floating-point --disable-large-filter
?
checking SDL availability..... 1.3.0
checking for pkg-config... pkg-config
checking ffmpeg packages...  libavformat libavcodec libswscale libavutil
checking for v4l2_open in -lv4l2... no
?

$ make dep
$ make
?
/opt/local/lib/libSDL.a: could not read symbols: Archive has no index; run ranlib to add one
collect2: ld returned 1 exit status
make[2]: *** [../bin/pjlib-test-arm-unknown-linux-gnu-androideabi] Error 1
make[1]: *** [pjlib-test] Error 2
make: *** [all] Error 1
?

Does anybody know how to fix this?

Thank you.

Francisco




[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