[FFmpeg-user] Annoying Linker error on vdpau even with --disable-vdpau
Lou
lou at fakeoutdoorsman.com
Sat Apr 2 01:47:23 CEST 2011
On Fri, 1 Apr 2011 18:53:19 -0400
Leo Izen <leo.izen at gmail.com> wrote:
> I'm getting this annoying linker error when compiling ffmpeg for
> windows:
>
> LD ffmpeg_g.exe
> /home/Leo/ffmpeg-w64/ffmpeg/
> libavcodec/libavcodec.a(allcodecs.o):allcodecs.c:(.text+0x16):
> undefined reference to `ff_mpeg1_vdpau_hwaccel'
> /home/Leo/ffmpeg-w64/ffmpeg/libavcodec/libavcodec.a(allcodecs.o):allcodecs.c:(.text+0x2c):
> undefined reference to `ff_mpeg2_vdpau_hwaccel'
> /home/Leo/ffmpeg-w64/ffmpeg/libavcodec/libavcodec.a(mpeg12.o):mpeg12.c:(.text+0x5811):
> undefined reference to `ff_vdpau_mpeg_picture_complete'
> collect2: ld returned 1 exit status
> make: *** [ffmpeg_g.exe] Error 1
>
> I configured ffmpeg with this command:
> ./configure --enable-static --disable-shared --enable-gpl
> --enable-version3 --enable-nonfree --enable-postproc
> --enable-runtime-cpudetect --enable-avisynth --enable-bzlib
> --enable-libopencore-amrnb --enable-libopencore-amrwb
> --enable-libdirac --enable-libfaac --enable-libmp3lame
> --enable-libopenjpeg --enable-libschroedinger --enable-libspeex
> --enable-libtheora --enable-libvorbis --enable-libvpx
> --enable-libx264 --enable-libxvid --enable-zlib --arch=x86_64
> --cpu=x86_64 --enable-pic --enable-sram
> --prefix=/usr/local/x86_64-w64-mingw32
> --cross-prefix=/usr/x86_64-w64-mingw32/bin/ --target-os=mingw32
> --pkg-config=pkg-config --extra-libs=-lorc-0.4\ -lx264
> --enable-stripping --disable-debug --disable-dxva2 --disable-vdpau
> --enable-w32threads
>
> Is there any way to fix this linker error? It didn't happen with a
> build I made two days ago.
Git pull and try again. Fixed in:
<http://git.videolan.org/?p=ffmpeg.git;a=commit;h=ecf94986c8ba7c9fb4f674ee93e3be5f73d8ccdd>
More information about the ffmpeg-user
mailing list