[FFmpeg-user] ffmpeg.c:4492: undefined reference to `_avdevice_register_all'
kshawkeye at gmail.com
Wed Sep 7 20:50:07 CEST 2011
I'm really trying to get this bug:
It seems to not even be linking avdevice.
I tried running: i686-w64-mingw32-gcc -Llibavdevice -Wl,--as-needed
-Wl,--warn-common -Wl,-rpath-link=libavdevice -o ffmpeg_g.exe ffmpeg.o
cmdutils.o -lavdevice 2>&1 | grep "_avdevice_register_all"
just for a basic link, but that even fails with:
"ffmpeg.c:4492: undefined reference to `_avdevice_register_all'"
Also: i686-w64-mingw32-nm "./libavdevice/avdevice.dll" | grep
Returns: 6d7814c0 T _avdevice_register_all
I'm using the latest FFmpeg and trying to compile with MinGW-w64, the
problem seems to only happen with "--disable-static --enable-shared" and
when SDL is found. (Though the bug doesn't seem related to SDL so it's
Any help would be great.
More information about the ffmpeg-user