Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 01-30-2012, 02:59 PM
greenythebeast greenythebeast is offline
Senior Member
 
Join Date: Dec 2011
Posts: 105
greenythebeast is on a distinguished road
Default

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
Can anyone help me on what this means? Thanks.

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.
Reply With Quote
  #2  
Old 07-19-2012, 01:42 PM
Eldorado Eldorado is offline
Junior Member
 
Join Date: Apr 2011
Posts: 15
Eldorado is on a distinguished road
Default

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
This is my first jump into OS X and even compiling source of this nature so am trying to get a grasp of it all

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
Reply With Quote
  #3  
Old 07-01-2018, 10:49 AM
dariusii dariusii is offline
Junior Member
 
Join Date: Jun 2018
Posts: 8
dariusii is on a distinguished road
Default

Re: How do you compile rtmpdump in Mac OS X 10.6?


Quote:
Originally Posted by Eldorado View Post
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
This is my first jump into OS X and even compiling source of this nature so am trying to get a grasp of it all

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
there're errors anyway
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
$ cat Makefile | grep soname
$
Reply With Quote
Reply Post New Thread
Tags: , , , , , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 04:16 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons