Audio/video stream recording forums
|
| Attention Visitor: |
You may have to register or log in before you can post:
|
|
|||||||
|
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
|||
|
|||
Re: How do you compile rtmpdump in Mac OS X 10.6?I'm trying to build rtmpdump 2.4 with KSV's patch on Mac OS X 10.6.8 but I am getting the following error during the compiling:
Code:
Greenys-MacBook-Pro-2:rtmpdump Greeny$ sudo make install SYS=darwin gcc -dynamiclib -twolevel_namespace -undefined dynamic_lookup -fno-common -headerpad_max_install_names -install_name /usr/local/lib/librtmp.0.dylib -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 rtmpsuck.o rtmpsuck.c rtmpsuck.c: In function ‘ServeInvoke’: rtmpsuck.c:162: error: thread-local storage not supported for this target rtmpsuck.c:162: error: thread-local storage not supported for this target make: *** [rtmpsuck.o] Error 1 Edit: I did some snooping on Google and was able to compile rtmpdump by getting rid of __thread on line 162 of rtmpsuck.c. Can anyone tell me if this is ok to do? Or will it not affect rtmpdump from working correctly? Last edited by greenythebeast : 01-30-2012 at 03:56 PM. |
|
#2
|
|||
|
|||
Re: How do you compile rtmpdump in Mac OS X 10.6?I hate to ask what I know is a stupid question.. but...
![]() I've installed OS X 10.7.3 thru VMWare, installed latest XCode 4.3, grabbed rtmpdump from git etc. Finally able to get it to compile using either of the two command lines (not really sure of the difference or how it affects the final bins) Code:
sudo make install sys=posix Code:
make sys=darwin So my stupid question, my main goal is to compile a new librtmp.0.dylib file to be used on iOS.. since my compiles appear to go fine and I do see the executables in /usr/local/bin I'm assuming it all went good... but where do I find the librtmp.0.dylib file? Do I need to compile differently? I'm hoping I'm not wasting my time compiling on OS X and finding out later that I should be doing it elsewhere to get something for iOS ![]() |
|
#3
|
|||
|
|||
Re: How do you compile rtmpdump in Mac OS X 10.6?Quote:
Code:
make sys=darwin gcc -shared -Wl,-soname,librtmp.so.1 -o librtmp.so.1 rtmp.o log.o amf.o hashswf.o parseurl.o -lssl -lcrypto -lz -lm ld: unknown option: -soname clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [librtmp.so.1] Error 1 make: *** [librtmp/librtmp.a] Error 2 $ |
|
| Tags: compile, compile rtmpdump, mac, mac os, mac os x, macintosh, macosx, rtmp dump, rtmpdump |
| Thread Tools | |
| Display Modes | |
|
|