View Single Post
  #25  
Old 01-30-2012, 01: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 02:56 PM.
Reply With Quote