[rtmpdump] bad reloc address 0x0 in section `.data'

Steven Penny svnpenn at gmail.com
Tue Mar 20 04:51:59 CET 2012


Joshua Finch wrote:
> Same thing, static lib can't find polarssl. I've always been building the
> static lib. Those exes that rtmpdump builds seem to have no issues linking
> with polarssl. Can't get MPlayer to work with it even if I force
> '-lpolarssl' into the script.

Mate, im not sure what youre on about, but this is not the mplayer
mailing list. Maybe you got lost. For this nth time RtmpDump compiles.

You could also consider asking Kyle Schwarz at http://ffmpeg.zeranoe.com

PROOF

make[1]: Entering directory `/c/home/Steven/Desktop/rtmpdump/librtmp'
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_POLARSSL  -O2 -fPIC   -c
-o rtmp.o rtmp.c
rtmp.c:1:0: warning: -fPIC ignored for target (all code is position
independent) [enabled by default]
In file included from rtmp.c:127:0:
handshake.h: In function 'InitRC4Encryption':
handshake.h:119:16: warning: variable 'digestLen' set but not used
[-Wunused-but-set-variable]
rtmp.c: In function 'RTMP_ReadPacket':
rtmp.c:2933:7: warning: variable 'didAlloc' set but not used
[-Wunused-but-set-variable]
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_POLARSSL  -O2 -fPIC   -c
-o log.o log.c
log.c:1:0: warning: -fPIC ignored for target (all code is position
independent) [enabled by default]
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_POLARSSL  -O2 -fPIC   -c
-o amf.o amf.c
amf.c:1:0: warning: -fPIC ignored for target (all code is position
independent) [enabled by default]
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_POLARSSL  -O2 -fPIC   -c
-o hashswf.o hashswf.c
hashswf.c:1:0: warning: -fPIC ignored for target (all code is position
independent) [enabled by default]
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_POLARSSL  -O2 -fPIC   -c
-o parseurl.o parseurl.c
parseurl.c:1:0: warning: -fPIC ignored for target (all code is
position independent) [enabled by default]
ar rs librtmp.a rtmp.o log.o amf.o hashswf.o parseurl.o
c:\mingw32\bin\ar.exe: creating librtmp.a
gcc -shared -Wl,--out-implib,librtmp.dll.a  -o librtmp.dll rtmp.o
log.o amf.o hashswf.o parseurl.o  -lpolarssl -lz -lws2_32 -lwinmm
-lgdi32
Creating library file: librtmp.dll.a
ln -sf librtmp.dll librtmp.so	
make[1]: Leaving directory `/c/home/Steven/Desktop/rtmpdump/librtmp'
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\"   -O2   -c -o rtmpdump.o rtmpdump.c
rtmpdump.c: In function 'GetLastKeyframe':
rtmpdump.c:297:7: warning: unknown conversion type character 'l' in
format [-Wformat]
rtmpdump.c:297:7: warning: too many arguments for format [-Wformat-extra-args]
gcc -Wall  -o rtmpdump.exe rtmpdump.o -Llibrtmp -lrtmp -lpolarssl -lz
-lws2_32 -lwinmm -lgdi32
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\"   -O2   -c -o rtmpgw.o rtmpgw.c
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\"   -O2   -c -o thread.o thread.c
thread.c: In function 'ThreadCreate':
thread.c:35:11: warning: comparison between pointer and integer
[enabled by default]
gcc -Wall  -o rtmpgw.exe rtmpgw.o thread.o  -Llibrtmp -lrtmp
-lpolarssl -lz -lws2_32 -lwinmm -lgdi32
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\"   -O2   -c -o rtmpsrv.o rtmpsrv.c
rtmpsrv.c: In function 'dumpAMF':
rtmpsrv.c:406:10: warning: variable 'len' set but not used
[-Wunused-but-set-variable]
gcc -Wall  -o rtmpsrv.exe rtmpsrv.o thread.o  -Llibrtmp -lrtmp
-lpolarssl -lz -lws2_32 -lwinmm -lgdi32
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\"   -O2   -c -o rtmpsuck.o rtmpsuck.c
gcc -Wall  -o rtmpsuck.exe rtmpsuck.o thread.o  -Llibrtmp -lrtmp
-lpolarssl -lz -lws2_32 -lwinmm -lgdi32


More information about the rtmpdump mailing list