 Re: Rtmpdump build for Android
Thanks !!
I have problems compiling it on my own... Maybe you can help me :
I created an standalone toolchain for android using androidNDK toolkit.
I crosscompiled polarssl using this command : make CC=arm-linux-androideabi-gcc APPS=
Now i have the polarssl library . I copied it to include path of the android standalone toolchain.
Then i modified the 2 makefiles of rtmpdump so that I use the arm-linux-androideabi-gcc compiler. But when i try to compile it somehow I get :
$ make all SHARED= SYS=android CRYPTO=POLARSSL LIBZ="-lz -static"
make[1]: Entering directory `/home/Florian/rtmpdump/librtmp'
/home/Florian/arm-linux-androideabi-4.6/arm-linux-androideabi-4.6/bin/arm-linux-
androideabi-gcc.exe -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_POLARSSL -O2
-c -o rtmp.o rtmp.c
In file included from rtmp.c:33:0:
rtmp_sys.h:64:30: fatal error: polarssl/version.h: No such file or directory
compilation terminated.
<builtin>: recipe for target `rtmp.o' failed
make[1]: *** [rtmp.o] Error 1
make[1]: Leaving directory `/home/Florian/rtmpdump/librtmp'
Makefile:91: recipe for target `librtmp/librtmp.a' failed
make: *** [librtmp/librtmp.a] Error 2
Seems that the compiler can't find the polarssl library... I tried to figure out where I have to copy the libpolarssl.a file but up to now I didn't managed to...
|