Has anyone managed to compile the latest rtmpdump source using PolarSSL? I've tried on OSX and on windows 7 using Cygwin and I keep getting the same error message:
Code:
yansky@yansky-Win7PC ~/rtmpdump
$ make CRYPTO=POLARSSL
make[1]: Entering directory `/home/yansky/rtmpdump/librtmp'
gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_POLARSSL -O2 -fPIC -c -o rtmp.o rtmp.c
rtmp.c:1:0: warning: -fPIC ignored for target (all code is position independent)
In file included from handshake.h:83:0,
from rtmp.c:127:
dh.h: In function ‘MDH_generate_key’:
dh.h:64:43: error: ‘havege_rand’ undeclared (first use in this function)
dh.h:64:43: note: each undeclared identifier is reported only once for each function it appears in
rtmp.c: In function ‘RTMP_Connect1’:
rtmp.c:867:7: error: ‘havege_rand’ undeclared (first use in this function)
<builtin>: recipe for target `rtmp.o' failed
make[1]: *** [rtmp.o] Error 1
make[1]: Leaving directory `/home/yansky/rtmpdump/librtmp'
Makefile:76: recipe for target `librtmp/librtmp.a' failed
make: *** [librtmp/librtmp.a] Error 2
Anyone have any ideas?