View Single Post
  #474  
Old 01-01-2019, 02:39 AM
supersonic80 supersonic80 is offline
Senior Member
 
Join Date: Mar 2016
Posts: 138
supersonic80 is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


Quote:
Originally Posted by j_cool View Post
I tried to compile rtmpdump and didn't work, this is how:

removed line 40 of rtmpdump.c ( #define off_t off64_t )

added -static after -lz on line 14 of Makefile ( LIBZ=-lz -static )

renamed Users/IEUser/Downloads to supersonic
I believe compiling of openssl should be a bit different, try this:

Code:
# Compile openssl
cd /c/supersonic/openssl-1.0.2q
make clean
./config shared
make
Then

Code:
# Compile rtmdump-ksv
cd /c/supersonic/rtmpdump-ksv-master
make clean
make SYS=mingw INC="-I/c/supersonic/openssl-1.0.2q/include -I/c/supersonic/zlib-1.2.11 -L/c/supersonic/openssl-1.0.2q -L/c/supersonic/zlib-1.2.11" LDFLAGS="-L/c/supersonic/openssl-1.0.2q -L/c/supersonic/zlib-1.2.11"
Reply With Quote