View Single Post
  #3  
Old 05-13-2012, 12:08 PM
Josan420 Josan420 is offline
Senior Member
 
Join Date: Feb 2012
Location: India
Posts: 150
Josan420 is on a distinguished road
Default

Re: how to compile in window 7 (32bit)


i tried but still
Code:
Josan@Josan-PC ~
$ cd H:\compressed

Josan@Josan-PC /h/compressed
$ cd rtmpdump-v2.5-src

Josan@Josan-PC /h/compressed/rtmpdump-v2.5-src
$ make SHARED= SYS=mingw CRYPTO=POLARSSL XLIBS=-static
make[1]: Entering directory `/h/compressed/rtmpdump-v2.5-src/librtmp'

Josan@Josan-PC /h/compressed/rtmpdump-v2.5-src
$ make SHARED= SYS=mingw CRYPTO=POLARSSL XLIBS=-static
make[1]: Entering directory `/h/compressed/rtmpdump-v2.5-src/librtmp'
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.5\" -DUSE_POLARSSL  -O2    -c -o rtmp.o rtmp
.c
In file included from handshake.h:86:0,
                 from rtmp.c:132:
dh.h: In function 'MDH_generate_key':
dh.h:64:43: error: 'havege_random' undeclared (first use in this function)
dh.h:64:43: note: each undeclared identifier is reported only once for each func
tion it appears in
dh.h: In function 'MDH_compute_key':
dh.h:75:3: warning: pointer targets in passing argument 3 of 'dhm_calc_secret' d
iffer in signedness [-Wpointer-sign]
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/polarssl/dhm.h:124:5:
note: expected 'int *' but argument is of type 'size_t *'
In file included from rtmp.c:132:0:
handshake.h: In function 'InitRC4Encryption':
handshake.h:120:16: warning: variable 'digestLen' set but not used [-Wunused-but
-set-variable]
rtmp.c: In function 'RTMP_Connect1':
rtmp.c:894:7: error: 'havege_random' undeclared (first use in this function)
rtmp.c:894:7: warning: implicit declaration of function 'ssl_set_ciphersuites' [
-Wimplicit-function-declaration]
rtmp.c:894:7: error: 'ssl_default_ciphersuites' undeclared (first use in this fu
nction)
rtmp.c: In function 'RTMP_ReadPacket':
rtmp.c:3198:7: warning: variable 'didAlloc' set but not used [-Wunused-but-set-v
ariable]
make[1]: *** [rtmp.o] Error 1
make[1]: Leaving directory `/h/compressed/rtmpdump-v2.5-src/librtmp'
make: *** [librtmp/librtmp.a] Error 2

Josan@Josan-PC /h/compressed/rtmpdump-v2.5-src
$
Reply With Quote