[rtmpdump] Cannot compile rtmpdump on mac os 10.4.11 on ibook g4

sejsel sejsel at gmail.com
Sat Mar 13 23:28:49 CET 2010


Hello!

Here is the terminal output on rtmpdump compilation attempt (make  
posix).
Previously made were installation of openssl, update of darwin ports.

Even though it appears that all necessary steps were made, these  
errors (below) remain, and this is way below my level of knowledge,  
so any help is highly appreciated!

$ make posix
gcc -Wall   -DRTMPDUMP_VERSION="v2.2a" -O2   -c -o rtmp.o rtmp.c
In file included from rtmp.c:2217:
handshake.h: In function 'InitRC4Encryption':
handshake.h:64: error: 'SHA256_DIGEST_LENGTH' undeclared (first use  
in this function)
handshake.h:64: error: (Each undeclared identifier is reported only once
handshake.h:64: error: for each function it appears in.)
handshake.h:72: warning: implicit declaration of function 'EVP_sha256'
handshake.h:72: warning: passing argument 4 of 'HMAC_Init_ex' makes  
pointer from integer without a cast
handshake.h:83: warning: passing argument 4 of 'HMAC_Init_ex' makes  
pointer from integer without a cast
handshake.h:64: warning: unused variable 'digest'
handshake.h: In function 'HMACsha256':
handshake.h:215: warning: passing argument 4 of 'HMAC_Init_ex' makes  
pointer from integer without a cast
handshake.h: In function 'CalculateDigest':
handshake.h:227: error: 'SHA256_DIGEST_LENGTH' undeclared (first use  
in this function)
handshake.h: In function 'VerifyDigest':
handshake.h:242: error: 'SHA256_DIGEST_LENGTH' undeclared (first use  
in this function)
handshake.h:242: warning: unused variable 'calcDigest'
handshake.h: In function 'HandShake':
handshake.h:419: error: 'SHA256_DIGEST_LENGTH' undeclared (first use  
in this function)
handshake.h:531: warning: unused variable 'digestResp'
handshake.h:595: warning: unused variable 'digest'
handshake.h:594: warning: unused variable 'signature'
handshake.h: In function 'SHandShake':
handshake.h:797: error: 'SHA256_DIGEST_LENGTH' undeclared (first use  
in this function)
handshake.h:890: warning: unused variable 'digestResp'
handshake.h:933: warning: unused variable 'digest'
handshake.h:932: warning: unused variable 'signature'
make[2]: *** [rtmp.o] Error 1
make[1]: *** [librtmp/librtmp.a] Error 2
make: *** [posix] Error 2
  


More information about the rtmpdump mailing list