[rtmpdump] Won't compile with Polarssl-1.3.1.

bat guano batguano999 at hotmail.com
Tue Oct 29 20:17:04 CET 2013


Hi
RTMPDump still seems to build OK with old version of polarssl.(eg polarssl-1.1.4)
But it won't build for me (using ARCH Linux) with latest version polarssl-1.3.1.

Method used.
##############################################
#
cd ~/; mkdir build; cd build
#
curl -L polarssl.org/code/releases/polarssl-1.3.1-gpl.tgz | tar -xz; cd polarssl-*
#
make; make install DESTDIR=$HOME/build
#
cd ..
#
git clone --depth 1 git://git.ffmpeg.org/rtmpdump; cd rtmpdump
#
make install CRYPTO=POLARSSL SHARED= XLDFLAGS=-L$HOME/build/lib INC=-I$HOME/build/include prefix=$HOME/build
#
##############################################
Result.

$ make install CRYPTO=POLARSSL SHARED= XLDFLAGS=-L$HOME/build/lib INC=-I$HOME/build/include prefix=$HOME/build
gcc -Wall  -I/home/user/build/include -DRTMPDUMP_VERSION=\"v2.4\"   -O2   -c -o rtmpdump.o rtmpdump.c
make[1]: Entering directory '/home/user/build/rtmpdump/librtmp'
gcc -Wall  -I/home/user/build/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_POLARSSL  -O2    -c -o rtmp.o rtmp.c
In file included from rtmp.c:32:0:
rtmp_sys.h:82:2: error: unknown type name ‘x509_cert’
  x509_cert cert;
  ^
In file included from rtmp.c:150:0:
handshake.h:28:27: fatal error: polarssl/sha2.h: No such file or directory
 #include <polarssl/sha2.h>
                           ^
compilation terminated.
<builtin>: recipe for target 'rtmp.o' failed
make[1]: *** [rtmp.o] Error 1
make[1]: Leaving directory '/home/user/build/rtmpdump/librtmp'
Makefile:76: recipe for target 'librtmp/librtmp.a' failed
make: *** [librtmp/librtmp.a] Error 2
############################################## 		 	   		  


More information about the rtmpdump mailing list