Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Problem compiling 64-bit version with Linux.Hi
The 32-bit version of RTMPDump always compiled for me OK. But now I have a problem compiling RTMPDump 64-bit. Code:
$ cat /etc/issue Linux Mint 18 Sarah \n \l Code:
git clone --depth 1 git://repo.or.cz/rtmpdump.git Code:
$ cp Patch.diff ~/rtmpdump/Patch.diff; cd rtmpdump; patch -p0 -i Patch.diff Code:
.... Hunk #54 succeeded at 5266 (offset 2 lines). Hunk #55 succeeded at 5675 (offset 2 lines). Hunk #56 succeeded at 5878 (offset 2 lines). patching file librtmp/rtmp.h patching file librtmp/rtmp_sys.h patching file rtmpdump.c patching file rtmpgw.c patching file rtmpsrv.c patching file rtmpsuck.c patching file thread.c Code:
$ make SHARED= VERSION="v2.4\ KSV-2015-12-14" But when I try to install it there are errors... Code:
$ make install make[1]: Entering directory '/home/user/rtmpdump/librtmp' 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 /usr/bin/ld: rtmp.o: relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC rtmp.o: error adding symbols: Bad value collect2: error: ld returned 1 exit status Makefile:92: recipe for target 'librtmp.so.1' failed make[1]: *** [librtmp.so.1] Error 1 make[1]: Leaving directory '/home/user/rtmpdump/librtmp' Makefile:76: recipe for target 'librtmp/librtmp.a' failed make: *** [librtmp/librtmp.a] Error 2 How do I do this? |
Tags: 64 bit, rtmpdump |
Thread Tools | |
Display Modes | |
|
|