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

compn tempn at twmi.rr.com
Mon Mar 19 17:54:24 CET 2012


On Mon, 19 Mar 2012 12:00:12 -0400, Joshua Finch wrote:
>Well, I tried 4.6.3-1 and it seems to have gotten rid of "bad reloc 
>address" but it is still unable to use polarssl.
>
>#include <librtmp/rtmp.h>
>int main(void) { RTMP_Socket(NULL); return 0; }
>
>gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith 
>-Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes 
>-Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement 
>-std=gnu99 -Werror-implicit-function-declaration -O4 -march=i486 
>-mtune=generic -pipe -ffast-math -fomit-frame-pointer 
>-fno-tree-vectorize /tmp/mplayer-configure-14908-8776/tmp.c 
>-Ilibdvdread4 -I. -Iffmpeg  -fno-common  -static -lm  -lwinmm 
>-ffast-math -lws2_32 -lz -ladvapi32 -lole32  -lopengl32 -lgdi32 -lwinmm 
>-lgdi32  -o /tmp/mplayer-configure-14908-8776/tmp.exe -lrtmp

probably need -lpolarssl in there , if you cant figure it out from the
makefile, copy and paste the command yourself.

btw i use sherpya's mingw enviroment for compiling
mplayer/ffmpeg/rtmpdump:

http://oss.netfarm.it/mplayer-win32.php

-compn


More information about the rtmpdump mailing list