[FFmpeg-trac] #282(build system:open): undefined reference to `_avdevice_register_all'
FFmpeg
trac at avcodec.org
Fri Jun 17 06:36:15 CEST 2011
#282: undefined reference to `_avdevice_register_all'
-------------------------------------------------+-------------------------
Reporter: KSHawkEye | Owner: michael
Type: defect | Status: open
Priority: critical | Component: build
Version: git | system
Keywords: undefined reference | Resolution:
avdevice_register_all | Blocked By:
Blocking: | Reproduced: 0
Analyzed: 0 |
-------------------------------------------------+-------------------------
Comment (by KSHawkEye):
1) I'm using the latest git, 4f643430f295a8376ca51f127a23b0f8ce92068b
2) I build out of the source directory, the build directory is removed and
rebuilt before configure is run.
3)
LDFLAGS="-L/home/kyle/software/ffmpeg/packages/sdl/sdl-1.2.14-win32/lib"
PKG_CONFIG_PATH="/home/kyle/software/ffmpeg/packages/sdl/sdl-1.2.14-win32/lib/pkgconfig"
CFLAGS="-I/home/kyle/software/ffmpeg/packages/sdl/sdl-1.2.14-win32/include"
cross_prefix=i686-w64-mingw32- target_os=mingw32 arch=x86 ../source
/ffmpeg-git/configure --disable-static --enable-shared --enable-gpl
--enable-version3 --enable-memalign-hack --enable-runtime-cpudetect
4) Attached.
Yes I realize that it is a failing link command for ffmpeg, but the issue
only occurs when sdl is in the LDFLAGS and CFLAGS, meaning it only occurs
when FFmpeg is able to build ffplay.
--
Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/282#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list