Build process is busted in vdpau
I try to build from a freshly updated git source VLC, and every time build process stops in vdpau.
Here is what I get :
In file included from avcodec/vaapi.c:41:0:
avcodec/vaapi.c: Hors de toute fonction :
avcodec/va.h:63:18: attention : ‘vlc_va_New’ declared ‘static’ but never defined [-Wunused-function]
avcodec/va.h:64:13: attention : ‘vlc_va_Delete’ declared ‘static’ but never defined [-Wunused-function]
CCLD libfaad_plugin.la
CCLD libflac_plugin.la
CCLD libfluidsynth_plugin.la
avcodec/vdpau.c:60:5: error: unknown type name 'AVVDPAUContext'
avcodec/vdpau.c: In function 'Init':
avcodec/vdpau.c:156:54: error: request for member 'decoder' in something not a structure or union
avcodec/vdpau.c:161:21: error: request for member 'decoder' in something not a structure or union
avcodec/vdpau.c: In function 'Deinit':
avcodec/vdpau.c:206:38: error: request for member 'decoder' in something not a structure or union
avcodec/vdpau.c:207:28: error: request for member 'bitstream_buffers' in something not a structure or union
avcodec/vdpau.c: In function 'Setup':
avcodec/vdpau.c:215:21: error: request for member 'decoder' in something not a structure or union
avcodec/vdpau.c:220:21: error: request for member 'decoder' in something not a structure or union
avcodec/vdpau.c: In function 'Open':
avcodec/vdpau.c:302:17: error: request for member 'decoder' in something not a structure or union
avcodec/vdpau.c:326:17: error: request for member 'render' in something not a structure or union
avcodec/vdpau.c:336:19: error: 'AV_PIX_FMT_VDPAU' undeclared (first use in this function)
avcodec/vdpau.c:336:19: note: each undeclared identifier is reported only once for each function it appears in
avcodec/vdpau.c: In function 'Close':
avcodec/vdpau.c:354:21: error: request for member 'decoder' in something not a structure or union
In file included from avcodec/vdpau.c:41:0:
avcodec/vdpau.c: At top level:
avcodec/va.h:63:18: warning: 'vlc_va_New' declared 'static' but never defined [-Wunused-function]
avcodec/va.h:64:13: warning: 'vlc_va_Delete' declared 'static' but never defined [-Wunused-function]
make[4]: *** [libvdpau_plugin_la-vdpau.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/home/fred/vlc-git/src/vlc-build/modules/codec'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/fred/vlc-git/src/vlc-build/modules/codec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/fred/vlc-git/src/vlc-build/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fred/vlc-git/src/vlc-build'
make: *** [all] Error 2
And of course, libvdpau is installed on my archlinux.
If it matters, here is my gcc -v info :
[fred@fredo-arch ~]$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /build/src/gcc-4.7.2/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --enable-libstdcxx-time --enable-gnu-unique-object --enable-linker-build-id --with-ppl --enable-cloog-backend=isl --disable-ppl-version-check --disable-cloog-version-check --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --with-linker-hash-style=gnu --disable-multilib --disable-libssp --disable-build-with-cxx --disable-build-poststage1-with-cxx --enable-checking=release
Thread model: posix
gcc version 4.7.2 (GCC)