View Single Post
  #16  
Old 11-17-2010, 02:57 PM
carmelo42 carmelo42 is offline
Junior Member
 
Join Date: Feb 2010
Posts: 14
carmelo42 is on a distinguished road
Default

Re: RTMPDump - how do I compile source code?


I also have a problem compiling rtmpdump 2.3 from sources tarballs, with Mac OS X 10.6.4 :


Code:
macbook:rtmpdump-2.3 Carmelo$ make SYS=MacOSX
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.3\" -DUSE_OPENSSL  -O2 -fPIC   -c -o rtmp.o rtmp.c
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.3\" -DUSE_OPENSSL  -O2 -fPIC   -c -o log.o log.c
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.3\" -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.3\" -DUSE_OPENSSL  -O2 -fPIC   -c -o hashswf.o hashswf.c
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.3\" -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 -shared -Wl,-soname,librtmp.  -o librtmp. rtmp.o log.o amf.o hashswf.o parseurl.o  -lssl -lcrypto -lz 
ld: unknown option: -soname
collect2: ld returned 1 exit status
make[1]: *** [librtmp.] Error 1
make: *** [librtmp/librtmp.a] Error 2

I also have tried with sudo :

Code:
macbook:rtmpdump-2.3 Carmelo$ sudo make SYS=MacOSX
Password:
gcc -shared -Wl,-soname,librtmp.  -o librtmp. rtmp.o log.o amf.o hashswf.o parseurl.o  -lssl -lcrypto -lz 
ld: unknown option: -soname
collect2: ld returned 1 exit status
make[1]: *** [librtmp.] Error 1
make: *** [librtmp/librtmp.a] Error 2
macbook:rtmpdump-2.3 Carmelo$
Reply With Quote