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

Steven Penny svnpenn at gmail.com
Mon Mar 19 22:58:25 CET 2012

Joshua Finch wrote:
> "It works for me" isn't a form of help.

Your build is failing because it cannot find PolarSSL, not because of reasons
given by you or anyone else. I have made this clear already.

# First we set the PATH

# Install Zlib
mingw-get install libz

# Install PolarSSL
wget polarssl.org/code/releases/polarssl-1.0.0-gpl.tgz
tar xf polarssl*
cd polarssl*
make CC=gcc APPS=
make DESTDIR=/c/mingw install
cd -

# Install RtmpDump
# mingw.org/wiki/IncludePathHOWTO
# gcc.gnu.org/onlinedocs/gcc/Environment-Variables.html
# By default gcc is going to look in these dirs
# /c/mingw32/mingw/include
# /c/mingw32/i686-w64-mingw32/include
# /c/mingw32/lib/gcc/i686-w64-mingw32/4.6.4/include
# /c/mingw32/lib/gcc/i686-w64-mingw32/4.6.4/include-fixed
# It is not going to find PolarSSL there, so we have to add it
git clone git://git.ffmpeg.org/rtmpdump
cd rtmpdump
make SYS=mingw CRYPTO=POLARSSL CPATH=/c/mingw/include LIBRARY_PATH=/c/mingw/lib

More information about the rtmpdump mailing list