View Single Post
  #6  
Old 09-16-2010, 08:34 AM
marsm marsm is offline
Junior Member
 
Join Date: Sep 2010
Posts: 5
marsm is on a distinguished road
Default

Re: RTMPDump - how do I compile source code?


I've been trying to compile the latest version (2.30) of RTMP in Centos, 64-bit... keep getting errors - can someone please point me in the right direction...

I type in make sys-linux

I then get this back:

# make sys=linux
make[1]: Entering directory `/rtmpdump/librtmp'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/rtmpdump/librtmp'
gcc -Wall -o rtmpgw rtmpgw.o thread.o -Llibrtmp -lrtmp -lssl -lcrypto -lz
thread.o: In function `ThreadCreate':
thread.c.text+0x46): undefined reference to `pthread_create'
collect2: ld returned 1 exit status
make: *** [rtmpgw] Error 1

Any help would be massively appreciated.

I've also done this:

# make linux
make: *** No rule to make target `linux'. Stop.
Reply With Quote