- m00nie
- Medlem ●
- Askersund
- 2012-01-13 16:25
Tack för ditt svar!
Jag gjorde som du föreslog, men det fungerar inte ändå. Nedanstående meddelande returnerades:
ChristiansMacBook:rtmpdump mane89$ make clean
rm -f *.o rtmpdump rtmpgw rtmpsrv rtmpsuck
rm -f *.o *.a *.so *.so.0
ChristiansMacBook:rtmpdump mane89$ make SYS=darwin
gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -O2 -fPIC -c -o rtmp.o rtmp.c
In file included from handshake.h:83,
from rtmp.c:126:
dh.h: In function ‘isValidPublicKey’:
dh.h:161: warning: ‘BN_new’ is deprecated (declared at /usr/include/openssl/bn.h:417)
dh.h:165: warning: ‘BN_set_word’ is deprecated (declared at /usr/include/openssl/bn.h:464)
dh.h:166: warning: ‘BN_cmp’ is deprecated (declared at /usr/include/openssl/bn.h:467)
dh.h:174: warning: ‘BN_copy’ is deprecated (declared at /usr/include/openssl/bn.h:420)
dh.h:175: warning: ‘BN_sub_word’ is deprecated (declared at /usr/include/openssl/bn.h:463)
dh.h:176: warning: ‘BN_cmp’ is deprecated (declared at /usr/include/openssl/bn.h:467)
dh.h:192: warning: ‘BN_CTX_new’ is deprecated (declared at /usr/include/openssl/bn.h:403)
dh.h:192: warning: ‘BN_mod_exp’ is deprecated (declared at /usr/include/openssl/bn.h:475)
dh.h:192: warning: ‘BN_CTX_free’ is deprecated (declared at /usr/include/openssl/bn.h:407)
dh.h:194: warning: ‘BN_cmp’ is deprecated (declared at /usr/include/openssl/bn.h:467)
dh.h:194: warning: ‘BN_value_one’ is deprecated (declared at /usr/include/openssl/bn.h:401)
dh.h:201: warning: ‘BN_free’ is deprecated (declared at /usr/include/openssl/bn.h:468)
dh.h: In function ‘DHInit’:
dh.h:209: warning: ‘DH_new’ is deprecated (declared at /usr/include/openssl/dh.h:184)
dh.h:214: warning: ‘BN_new’ is deprecated (declared at /usr/include/openssl/bn.h:417)
dh.h:219: warning: ‘BN_hex2bn’ is deprecated (declared at /usr/include/openssl/bn.h:507)
dh.h:225: warning: ‘BN_set_word’ is deprecated (declared at /usr/include/openssl/bn.h:464)
dh.h:232: warning: ‘DH_free’ is deprecated (declared at /usr/include/openssl/dh.h:185)
dh.h: In function ‘DHGenerateKey’:
dh.h:248: warning: ‘DH_generate_key’ is deprecated (declared at /usr/include/openssl/dh.h:204)
dh.h:251: warning: ‘BN_hex2bn’ is deprecated (declared at /usr/include/openssl/bn.h:507)
dh.h:257: warning: ‘BN_free’ is deprecated (declared at /usr/include/openssl/bn.h:468)
dh.h:258: warning: ‘BN_free’ is deprecated (declared at /usr/include/openssl/bn.h:468)
dh.h:262: warning: ‘BN_free’ is deprecated (declared at /usr/include/openssl/bn.h:468)
dh.h: In function ‘DHGetPublicKey’:
dh.h:278: warning: ‘BN_num_bits’ is deprecated (declared at /usr/include/openssl/bn.h:415)
dh.h:283: warning: ‘BN_bn2bin’ is deprecated (declared at /usr/include/openssl/bn.h:423)
dh.h: In function ‘DHComputeSharedSecretKey’:
dh.h:318: warning: ‘BN_bin2bn’ is deprecated (declared at /usr/include/openssl/bn.h:422)
dh.h:322: warning: ‘BN_hex2bn’ is deprecated (declared at /usr/include/openssl/bn.h:507)
dh.h:326: warning: ‘DH_compute_key’ is deprecated (declared at /usr/include/openssl/dh.h:205)
dh.h:330: warning: ‘BN_free’ is deprecated (declared at /usr/include/openssl/bn.h:468)
dh.h:331: warning: ‘BN_free’ is deprecated (declared at /usr/include/openssl/bn.h:468)
In file included from rtmp.c:126:
handshake.h: In function ‘InitRC4Encryption’:
handshake.h:122: warning: ‘HMAC_CTX_init’ is deprecated (declared at /usr/include/openssl/hmac.h:90)
handshake.h:122: warning: ‘HMAC_Init_ex’ is deprecated (declared at /usr/include/openssl/hmac.h:98)
handshake.h:122: warning: ‘EVP_sha256’ is deprecated (declared at /usr/include/openssl/evp.h:673)
handshake.h:123: warning: ‘HMAC_Update’ is deprecated (declared at /usr/include/openssl/hmac.h:99)
handshake.h:124: warning: ‘HMAC_Final’ is deprecated (declared at /usr/include/openssl/hmac.h:100)
handshake.h:124: warning: ‘HMAC_CTX_cleanup’ is deprecated (declared at /usr/include/openssl/hmac.h:91)
handshake.h:129: warning: ‘RC4_set_key’ is deprecated (declared at /usr/include/openssl/rc4.h:84)
handshake.h:131: warning: ‘HMAC_CTX_init’ is deprecated (declared at /usr/include/openssl/hmac.h:90)
handshake.h:131: warning: ‘HMAC_Init_ex’ is deprecated (declared at /usr/include/openssl/hmac.h:98)
handshake.h:131: warning: ‘EVP_sha256’ is deprecated (declared at /usr/include/openssl/evp.h:673)
handshake.h:132: warning: ‘HMAC_Update’ is deprecated (declared at /usr/include/openssl/hmac.h:99)
handshake.h:133: warning: ‘HMAC_Final’ is deprecated (declared at /usr/include/openssl/hmac.h:100)
handshake.h:133: warning: ‘HMAC_CTX_cleanup’ is deprecated (declared at /usr/include/openssl/hmac.h:91)
handshake.h:138: warning: ‘RC4_set_key’ is deprecated (declared at /usr/include/openssl/rc4.h:84)
handshake.h: In function ‘HMACsha256’:
handshake.h:268: warning: ‘HMAC_CTX_init’ is deprecated (declared at /usr/include/openssl/hmac.h:90)
handshake.h:268: warning: ‘HMAC_Init_ex’ is deprecated (declared at /usr/include/openssl/hmac.h:98)
handshake.h:268: warning: ‘EVP_sha256’ is deprecated (declared at /usr/include/openssl/evp.h:673)
handshake.h:269: warning: ‘HMAC_Update’ is deprecated (declared at /usr/include/openssl/hmac.h:99)
handshake.h:270: warning: ‘HMAC_Final’ is deprecated (declared at /usr/include/openssl/hmac.h:100)
handshake.h:270: warning: ‘HMAC_CTX_cleanup’ is deprecated (declared at /usr/include/openssl/hmac.h:91)
handshake.h: In function ‘HandShake’:
handshake.h:1046: warning: ‘RC4’ is deprecated (declared at /usr/include/openssl/rc4.h:86)
handshake.h:1051: warning: ‘RC4’ is deprecated (declared at /usr/include/openssl/rc4.h:86)
handshake.h: In function ‘SHandShake’:
handshake.h:1396: warning: ‘RC4’ is deprecated (declared at /usr/include/openssl/rc4.h:86)
handshake.h:1401: warning: ‘RC4’ is deprecated (declared at /usr/include/openssl/rc4.h:86)
rtmp.c: In function ‘RTMP_TLS_Init’:
rtmp.c:219: warning: ‘SSL_load_error_strings’ is deprecated (declared at /usr/include/openssl/ssl.h:1416)
rtmp.c:220: warning: ‘SSL_library_init’ is deprecated (declared at /usr/include/openssl/ssl.h:1553)
rtmp.c:221: warning: ‘OpenSSL_add_all_digests’ is deprecated (declared at /usr/include/openssl/evp.h:840)
rtmp.c:222: warning: ‘SSL_CTX_new’ is deprecated (declared at /usr/include/openssl/ssl.h:1346)
rtmp.c:222: warning: ‘SSLv23_method’ is deprecated (declared at /usr/include/openssl/ssl.h:1515)
rtmp.c:223: warning: ‘SSL_CTX_ctrl’ is deprecated (declared at /usr/include/openssl/ssl.h:1498)
rtmp.c:224: warning: ‘SSL_CTX_set_default_verify_paths’ is deprecated (declared at /usr/include/openssl/ssl.h:1570)
rtmp.c: In function ‘RTMP_Connect1’:
rtmp.c:859: warning: ‘SSL_new’ is deprecated (declared at /usr/include/openssl/ssl.h:1481)
rtmp.c:860: warning: ‘SSL_set_fd’ is deprecated (declared at /usr/include/openssl/ssl.h:1370)
rtmp.c:861: warning: ‘SSL_connect’ is deprecated (declared at /usr/include/openssl/ssl.h:1492)
rtmp.c: In function ‘ReadN’:
rtmp.c:1354: warning: ‘RC4’ is deprecated (declared at /usr/include/openssl/rc4.h:86)
rtmp.c: In function ‘WriteN’:
rtmp.c:1380: warning: ‘RC4’ is deprecated (declared at /usr/include/openssl/rc4.h:86)
rtmp.c: In function ‘RTMP_Close’:
rtmp.c:3490: warning: ‘DH_free’ is deprecated (declared at /usr/include/openssl/dh.h:185)
rtmp.c: In function ‘RTMPSockBuf_Fill’:
rtmp.c:3520: warning: ‘SSL_read’ is deprecated (declared at /usr/include/openssl/ssl.h:1493)
rtmp.c: In function ‘RTMPSockBuf_Send’:
rtmp.c:3563: warning: ‘SSL_write’ is deprecated (declared at /usr/include/openssl/ssl.h:1495)
rtmp.c: In function ‘RTMPSockBuf_Close’:
rtmp.c:3579: warning: ‘SSL_shutdown’ is deprecated (declared at /usr/include/openssl/ssl.h:1532)
rtmp.c:3580: warning: ‘SSL_free’ is deprecated (declared at /usr/include/openssl/ssl.h:1490)
gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -O2 -fPIC -c -o log.o log.c
gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -O2 -fPIC -c -o amf.o amf.c
In file included from amf.c:33:
bytes.h:74:2: warning: #warning "Float word order not defined, assuming the same as byte order!"
gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -O2 -fPIC -c -o hashswf.o hashswf.c
hashswf.c: In function ‘HTTP_get’:
hashswf.c:164: warning: ‘SSL_new’ is deprecated (declared at /usr/include/openssl/ssl.h:1481)
hashswf.c:165: warning: ‘SSL_set_fd’ is deprecated (declared at /usr/include/openssl/ssl.h:1370)
hashswf.c:166: warning: ‘SSL_connect’ is deprecated (declared at /usr/include/openssl/ssl.h:1492)
hashswf.c: In function ‘swfcrunch’:
hashswf.c:314: warning: ‘HMAC_Update’ is deprecated (declared at /usr/include/openssl/hmac.h:99)
hashswf.c:332: warning: ‘HMAC_Update’ is deprecated (declared at /usr/include/openssl/hmac.h:99)
hashswf.c:339: warning: ‘HMAC_Update’ is deprecated (declared at /usr/include/openssl/hmac.h:99)
hashswf.c: In function ‘RTMP_HashSWF’:
hashswf.c:585: warning: ‘HMAC_CTX_init’ is deprecated (declared at /usr/include/openssl/hmac.h:90)
hashswf.c:585: warning: ‘HMAC_Init_ex’ is deprecated (declared at /usr/include/openssl/hmac.h:98)
hashswf.c:585: warning: ‘EVP_sha256’ is deprecated (declared at /usr/include/openssl/evp.h:673)
hashswf.c:640: warning: ‘HMAC_Final’ is deprecated (declared at /usr/include/openssl/hmac.h:100)
hashswf.c:651: warning: ‘HMAC_CTX_cleanup’ is deprecated (declared at /usr/include/openssl/hmac.h:91)
gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -O2 -fPIC -c -o parseurl.o parseurl.c
ar rs librtmp.a rtmp.o log.o amf.o hashswf.o parseurl.o
ar: creating archive librtmp.a
gcc -dynamiclib -flat_namespace -undefined suppress -fno-common -headerpad_max_install_names -o librtmp.0.dylib rtmp.o log.o amf.o hashswf.o parseurl.o -lssl -lcrypto -lz
ln -sf librtmp.0.dylib librtmp.dylib
gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -O2 -c -o rtmpdump.o rtmpdump.c
gcc -Wall -o rtmpdump rtmpdump.o -Llibrtmp -lrtmp -lssl -lcrypto -lz
gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -O2 -c -o rtmpgw.o rtmpgw.c
gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -O2 -c -o thread.o thread.c
gcc -Wall -o rtmpgw rtmpgw.o thread.o -lpthread -Llibrtmp -lrtmp -lssl -lcrypto -lz
gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -O2 -c -o rtmpsrv.o rtmpsrv.c
gcc -Wall -o rtmpsrv rtmpsrv.o thread.o -lpthread -Llibrtmp -lrtmp -lssl -lcrypto -lz
gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -O2 -c -o rtmpsuck.o rtmpsuck.c
gcc -Wall -o rtmpsuck rtmpsuck.o thread.o -lpthread -Llibrtmp -lrtmp -lssl -lcrypto -lz
ChristiansMacBook:rtmpdump mane89$ ./rtmpdump
dyld: Library not loaded: librtmp.0.dylib
Referenced from: /users/mane89/rtmpdump/./rtmpdump
Reason: no suitable image found. Did find:
/usr/local/lib/librtmp.0.dylib: stat() failed with errno=13
Trace/BPT trap: 5