<html><body><div>Hello !</div><div><br></div><div>I have tried to build<font class="Apple-style-span" face="Times" size="3"><span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 4px; -webkit-border-vertical-spacing: 4px;"> rtmpdump (for Mac OS X 10.7.1) as described in the README.<br>After I run make (if I run make SYS=posix it is the same) I get the following output : </span></font></div><div><font class="Apple-style-span" face="Times" size="3"><span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 4px; -webkit-border-vertical-spacing: 4px;"><br></span></font><span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 4px; -webkit-border-vertical-spacing: 4px; font-family: Times; font-size: medium; ">-----------</span></div><div>gcc -Wall -DRTMPDUMP_VERSION=\"v2.3\" -DUSE_OPENSSL -O2 -fPIC -c -o rtmp.o rtmp.c</div><div>In file included from handshake.h:83,</div><div> from rtmp.c:126:</div><div>dh.h: In function ‘isValidPublicKey’:</div><div>dh.h:161: warning: ‘BN_new’ is deprecated (declared at /usr/include/openssl/bn.h:417)</div><div>dh.h:165: warning: ‘BN_set_word’ is deprecated (declared at /usr/include/openssl/bn.h:464)</div><div>dh.h:166: warning: ‘BN_cmp’ is deprecated (declared at /usr/include/openssl/bn.h:467)</div><div>dh.h:174: warning: ‘BN_copy’ is deprecated (declared at /usr/include/openssl/bn.h:420)</div><div>dh.h:175: warning: ‘BN_sub_word’ is deprecated (declared at /usr/include/openssl/bn.h:463)</div><div>dh.h:176: warning: ‘BN_cmp’ is deprecated (declared at /usr/include/openssl/bn.h:467)</div><div>dh.h:192: warning: ‘BN_CTX_new’ is deprecated (declared at /usr/include/openssl/bn.h:403)</div><div>dh.h:192: warning: ‘BN_mod_exp’ is deprecated (declared at /usr/include/openssl/bn.h:475)</div><div>dh.h:192: warning: ‘BN_CTX_free’ is deprecated (declared at /usr/include/openssl/bn.h:407)</div><div>dh.h:194: warning: ‘BN_cmp’ is deprecated (declared at /usr/include/openssl/bn.h:467)</div><div>dh.h:194: warning: ‘BN_value_one’ is deprecated (declared at /usr/include/openssl/bn.h:401)</div><div>dh.h:201: warning: ‘BN_free’ is deprecated (declared at /usr/include/openssl/bn.h:468)</div><div>dh.h: In function ‘DHInit’:</div><div>dh.h:209: warning: ‘DH_new’ is deprecated (declared at /usr/include/openssl/dh.h:184)</div><div>dh.h:214: warning: ‘BN_new’ is deprecated (declared at /usr/include/openssl/bn.h:417)</div><div>dh.h:219: warning: ‘BN_hex2bn’ is deprecated (declared at /usr/include/openssl/bn.h:507)</div><div>dh.h:225: warning: ‘BN_set_word’ is deprecated (declared at /usr/include/openssl/bn.h:464)</div><div>dh.h:232: warning: ‘DH_free’ is deprecated (declared at /usr/include/openssl/dh.h:185)</div><div>dh.h: In function ‘DHGenerateKey’:</div><div>dh.h:248: warning: ‘DH_generate_key’ is deprecated (declared at /usr/include/openssl/dh.h:204)</div><div>dh.h:251: warning: ‘BN_hex2bn’ is deprecated (declared at /usr/include/openssl/bn.h:507)</div><div>dh.h:257: warning: ‘BN_free’ is deprecated (declared at /usr/include/openssl/bn.h:468)</div><div>dh.h:258: warning: ‘BN_free’ is deprecated (declared at /usr/include/openssl/bn.h:468)</div><div>dh.h:262: warning: ‘BN_free’ is deprecated (declared at /usr/include/openssl/bn.h:468)</div><div>dh.h: In function ‘DHGetPublicKey’:</div><div>dh.h:278: warning: ‘BN_num_bits’ is deprecated (declared at /usr/include/openssl/bn.h:415)</div><div>dh.h:283: warning: ‘BN_bn2bin’ is deprecated (declared at /usr/include/openssl/bn.h:423)</div><div>dh.h: In function ‘DHComputeSharedSecretKey’:</div><div>dh.h:318: warning: ‘BN_bin2bn’ is deprecated (declared at /usr/include/openssl/bn.h:422)</div><div>dh.h:322: warning: ‘BN_hex2bn’ is deprecated (declared at /usr/include/openssl/bn.h:507)</div><div>dh.h:326: warning: ‘DH_compute_key’ is deprecated (declared at /usr/include/openssl/dh.h:205)</div><div>dh.h:330: warning: ‘BN_free’ is deprecated (declared at /usr/include/openssl/bn.h:468)</div><div>dh.h:331: warning: ‘BN_free’ is deprecated (declared at /usr/include/openssl/bn.h:468)</div><div>In file included from rtmp.c:126:</div><div>handshake.h: In function ‘InitRC4Encryption’:</div><div>handshake.h:122: warning: ‘HMAC_CTX_init’ is deprecated (declared at /usr/include/openssl/hmac.h:90)</div><div>handshake.h:122: warning: ‘HMAC_Init_ex’ is deprecated (declared at /usr/include/openssl/hmac.h:98)</div><div>handshake.h:122: warning: ‘EVP_sha256’ is deprecated (declared at /usr/include/openssl/evp.h:673)</div><div>handshake.h:123: warning: ‘HMAC_Update’ is deprecated (declared at /usr/include/openssl/hmac.h:99)</div><div>handshake.h:124: warning: ‘HMAC_Final’ is deprecated (declared at /usr/include/openssl/hmac.h:100)</div><div>handshake.h:124: warning: ‘HMAC_CTX_cleanup’ is deprecated (declared at /usr/include/openssl/hmac.h:91)</div><div>handshake.h:129: warning: ‘RC4_set_key’ is deprecated (declared at /usr/include/openssl/rc4.h:84)</div><div>handshake.h:131: warning: ‘HMAC_CTX_init’ is deprecated (declared at /usr/include/openssl/hmac.h:90)</div><div>handshake.h:131: warning: ‘HMAC_Init_ex’ is deprecated (declared at /usr/include/openssl/hmac.h:98)</div><div>handshake.h:131: warning: ‘EVP_sha256’ is deprecated (declared at /usr/include/openssl/evp.h:673)</div><div>handshake.h:132: warning: ‘HMAC_Update’ is deprecated (declared at /usr/include/openssl/hmac.h:99)</div><div>handshake.h:133: warning: ‘HMAC_Final’ is deprecated (declared at /usr/include/openssl/hmac.h:100)</div><div>handshake.h:133: warning: ‘HMAC_CTX_cleanup’ is deprecated (declared at /usr/include/openssl/hmac.h:91)</div><div>handshake.h:138: warning: ‘RC4_set_key’ is deprecated (declared at /usr/include/openssl/rc4.h:84)</div><div>handshake.h: In function ‘HMACsha256’:</div><div>handshake.h:268: warning: ‘HMAC_CTX_init’ is deprecated (declared at /usr/include/openssl/hmac.h:90)</div><div>handshake.h:268: warning: ‘HMAC_Init_ex’ is deprecated (declared at /usr/include/openssl/hmac.h:98)</div><div>handshake.h:268: warning: ‘EVP_sha256’ is deprecated (declared at /usr/include/openssl/evp.h:673)</div><div>handshake.h:269: warning: ‘HMAC_Update’ is deprecated (declared at /usr/include/openssl/hmac.h:99)</div><div>handshake.h:270: warning: ‘HMAC_Final’ is deprecated (declared at /usr/include/openssl/hmac.h:100)</div><div>handshake.h:270: warning: ‘HMAC_CTX_cleanup’ is deprecated (declared at /usr/include/openssl/hmac.h:91)</div><div>handshake.h: In function ‘HandShake’:</div><div>handshake.h:719: warning: ‘RC4’ is deprecated (declared at /usr/include/openssl/rc4.h:86)</div><div>handshake.h:724: warning: ‘RC4’ is deprecated (declared at /usr/include/openssl/rc4.h:86)</div><div>handshake.h: In function ‘SHandShake’:</div><div>handshake.h:1073: warning: ‘RC4’ is deprecated (declared at /usr/include/openssl/rc4.h:86)</div><div>handshake.h:1078: warning: ‘RC4’ is deprecated (declared at /usr/include/openssl/rc4.h:86)</div><div>rtmp.c: In function ‘RTMP_TLS_Init’:</div><div>rtmp.c:219: warning: ‘SSL_load_error_strings’ is deprecated (declared at /usr/include/openssl/ssl.h:1416)</div><div>rtmp.c:220: warning: ‘SSL_library_init’ is deprecated (declared at /usr/include/openssl/ssl.h:1553)</div><div>rtmp.c:221: warning: ‘OpenSSL_add_all_digests’ is deprecated (declared at /usr/include/openssl/evp.h:840)</div><div>rtmp.c:222: warning: ‘SSL_CTX_new’ is deprecated (declared at /usr/include/openssl/ssl.h:1346)</div><div>rtmp.c:222: warning: ‘SSLv23_method’ is deprecated (declared at /usr/include/openssl/ssl.h:1515)</div><div>rtmp.c:223: warning: ‘SSL_CTX_ctrl’ is deprecated (declared at /usr/include/openssl/ssl.h:1498)</div><div>rtmpc:224: warning: ‘SSL_CTX_set_default_verify_paths’ is deprecated (declared at /usr/include/openssl/ssl.h:1570)</div><div>rtmp.c: In function ‘RTMP_Connect1’:</div><div>rtmp.c:859: warning: ‘SSL_new’ is deprecated (declared at /usr/include/openssl/ssl.h:1481)</div><div>rtmp.c:860: warning: ‘SSL_set_fd’ is deprecated (declared at /usr/include/openssl/ssl.h:1370)</div><div>rtmp.c:861: warning: ‘SSL_connect’ is deprecated (declared at /usr/include/openssl/ssl.h:1492)</div><div>rtmp.c: In function ‘ReadN’:</div><div>rtmp.c:1337: warning: ‘RC4’ is deprecated (declared at /usr/include/openssl/rc4.h:86)</div><div>rtmp.c: In function ‘WriteN’:</div><div>rtmp.c:1363: warning: ‘RC4’ is deprecated (declared at /usr/include/openssl/rc4.h:86)</div><div>rtmp.c: In function ‘RTMP_Close’:</div><div>rtmp.c:3464: warning: ‘DH_free’ is deprecated (declared at /usr/include/openssl/dh.h:185)</div><div>rtmp.c: In function ‘RTMPSockBuf_Fill’:</div><div>rtmp.c:3494: warning: ‘SSL_read’ is deprecated (declared at /usr/include/openssl/ssl.h:1493)</div><div>rtmp.c: In function ‘RTMPSockBuf_Send’:</div><div>rtmp.c:3537: warning: ‘SSL_write’ is deprecated (declared at /usr/include/openssl/ssl.h:1495)</div><div>rtmp.c: In function ‘RTMPSockBuf_Close’:</div><div>rtmp.c:3553: warning: ‘SSL_shutdown’ is deprecated (declared at /usr/include/openssl/ssl.h:1532)</div><div>rtmp.c:3554: warning: ‘SSL_free’ is deprecated (declared at /usr/include/openssl/ssl.h:1490)</div><div>gcc -Wall -DRTMPDUMP_VERSION=\"v2.3\" -DUSE_OPENSSL -O2 -fPIC -c -o log.o log.c</div><div>gcc -Wall -DRTMPDUMP_VERSION=\"v2.3\" -DUSE_OPENSSL -O2 -fPIC -c -o amf.o amf.c</div><div>In file included from amf.c:33:</div><div>bytes.h:74:2: warning: #warning "Float word order not defined, assuming the same as byte order!"</div><div>gcc -Wall -DRTMPDUMP_VERSION=\"v2.3\" -DUSE_OPENSSL -O2 -fPIC -c -o hashswfo hashswf.c</div><div>hashswf.c: In function ‘HTTP_get’:</div><div>hashswf.c:164: warning: ‘SSL_new’ is deprecated (declared at /usr/include/openssl/ssl.h:1481)</div><div>hashswf.c:165: warning: ‘SSL_set_fd’ is deprecated (declared at /usr/include/openssl/ssl.h:1370)</div><div>hashswf.c:166: warning: ‘SSL_connect’ is deprecated (declared at /usr/include/openssl/ssl.h:1492)</div><div>hashswf.c: In function ‘swfcrunch’:</div><div>hashswf.c:314: warning: ‘HMAC_Update’ is deprecated (declared at /usr/include/openssl/hmac.h:99)</div><div>hashswf.c:332: warning: ‘HMAC_Update’ is deprecated (declared at /usr/include/openssl/hmac.h:99)</div><div>hashswf.c:339: warning: ‘HMAC_Update’ is deprecated (declared at /usr/include/openssl/hmac.h:99)</div><div>hashswf.c: In function ‘RTMP_HashSWF’:</div><div>hashswf.c:585: warning: ‘HMAC_CTX_init’ is deprecated (declared at /usr/include/openssl/hmac.h:90)</div><div>hashswf.c:585: warning: ‘HMAC_Init_ex’ is deprecated (declared at /usr/include/openssl/hmac.h:98)</div><div>hashswf.c:585: warning: ‘EVP_sha256’ is deprecated (declared at /usr/include/openssl/evp.h:673)</div><div>hashswf.c:640: warning: ‘HMAC_Final’ is deprecated (declared at /usr/include/openssl/hmac.h:100)</div><div>hashswf.c:651: warning: ‘HMAC_CTX_cleanup’ is deprecated (declared at /usr/include/openssl/hmac.h:91)</div><div>gcc -Wall -DRTMPDUMP_VERSION=\"v2.3\" -DUSE_OPENSSL -O2 -fPIC -c -o parseurl.o parseurl.c</div><div>ar rs librtmp.a rtmp.o log.o amf.o hashswf.o parseurl.o</div><div>ar: creating archive librtmp.a</div><div>gcc -shared -Wl,-soname,librtmp.so.0 -o librtmp.so.0 rtmp.o log.o amf.o hashswf.o parseurl.o -lssl -lcrypto -lz </div><div>ld: unknown option: -soname</div><div>collect2: ld returned 1 exit status</div><div>make[1]: *** [librtmp.so.0] Error 1</div><div>make: *** [librtmp/librtmp.a] Error 2</div><div><span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 4px; -webkit-border-vertical-spacing: 4px; font-family: Times; font-size: medium; ">----------<br><br>A ld -v brings the following output : <br>----------<br>@(#)PROGRAM:ld PROJECT:ld64-123.2.1<br><div>llvm version 3.0svn, from Apple Clang 2.1 (build 163.7.1)</div>----------<br> <br>Does anyone know how to fix this (man ld brings no help for me) ?<br>Thanks for your answer.</span></div><div><span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 4px; -webkit-border-vertical-spacing: 4px; font-family: Times; font-size: medium; "><br></span></div><div><span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 4px; -webkit-border-vertical-spacing: 4px; font-family: Times; font-size: medium; ">Regards,</span></div><div><span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 4px; -webkit-border-vertical-spacing: 4px; font-family: Times; font-size: medium; "><br></span></div><div><span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 4px; -webkit-border-vertical-spacing: 4px; font-family: Times; font-size: medium; ">Murauer Christoph</span></div><div><span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 4px; -webkit-border-vertical-spacing: 4px; font-family: Times; font-size: medium; "> </span><font class="Apple-style-span" face="Times" size="3"><span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 4px; -webkit-border-vertical-spacing: 4px; "></span></font></div></body></html>