[Xine-vdpau] Compile Error rev. 93

Christophe Thommeret hftom at free.fr
Thu Dec 18 23:41:47 CET 2008


Le jeudi 18 décembre 2008 21:42:59 'it's me', vous avez écrit :
> Hi list :)
>
> first of all, thanks for your efford!
>
> i'm getting this error when compiling rev. 93 (also wit r90 before):
> ---------------------------
> .
> .
> gcc -DHAVE_CONFIG_H -I. -I../../include
> -I../../../xine-vdpau-93/src/libvdpau -I../../../xine-vdpau-93
> -I../../include -I../../../xine-vdpau-93/include
> -I../../../xine-vdpau-93/src -I../../src/xine-engine
> -I../../../xine-vdpau-93/src/xine-engine
> -I../../../xine-vdpau-93/src/xine-utils -I../../src/input
> -I../../../xine-vdpau-93/src/input -I../../lib -I../../../xine-vdpau-93/lib
> -fvisibility=hidden -D_ISOC99_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64
> -DXINE_COMPILE -O3 -fomit-frame-pointer -fexpensive-optimizations
> -fschedule-insns2 -ffast-math -finline-functions -Wpointer-arith -g3 -O3
> -fPIC -lm -mtune=k8 -pipe -Wall -Wchar-subscripts -Wnested-externs
> -Wcast-align -Wmissing-declarations -Wmissing-prototypes
> -Wmissing-format-attribute -Wformat=2 -Wno-format-zero-length
> -Wstrict-aliasing=2 -DNDEBUG -MT
> xineplug_decode_vdpau_h264_la-vdpau_h264.lo -MD -MP -MF
> .deps/xineplug_decode_vdpau_h264_la-vdpau_h264.Tpo -c
> ../../../xine-vdpau-93/src/libvdpau/vdpau_h264.c  -fPIC -DPIC -o
> .libs/xineplug_decode_vdpau_h264_la-vdpau_h264.o In file included from
> ../../../xine-vdpau-93/src/input/input_plugin.h:28, from
> ../../../xine-vdpau-93/src/xine-engine/xine_internal.h:35, from
> ../../../xine-vdpau-93/src/libvdpau/vdpau_h264.c:30:
> ../../../xine-vdpau-93/src/xine-utils/xineutils.h:977: warning: 'struct
> timezone' declared inside parameter list
> ../../../xine-vdpau-93/src/xine-utils/xineutils.h:977: warning: its scope
> is only this definition or declaration, which is probably not what you want
> ../../../xine-vdpau-93/src/libvdpau/vdpau_h264.c: In function
> 'vdpau_h264_decode_data':
> ../../../xine-vdpau-93/src/libvdpau/vdpau_h264.c:184: warning: format '%d'
> expects type 'int', but argument 2 has type 'uint64_t'
> ../../../xine-vdpau-93/src/libvdpau/vdpau_h264.c:301: warning: passing
> argument 5 of 'this->vdpau_accel->vdp_decoder_create' makes pointer from
> integer without a cast
> ../../../xine-vdpau-93/src/libvdpau/vdpau_h264.c:301: error: too many
> arguments to function 'this->vdpau_accel->vdp_decoder_create'
> ../../../xine-vdpau-93/src/libvdpau/vdpau_h264.c:329: warning: format '%d'
> expects type 'int', but argument 2 has type 'uint64_t'
> ../../../xine-vdpau-93/src/libvdpau/vdpau_h264.c:420: warning:
> dereferencing type-punned pointer might break strict-aliasing rules
> ../../../xine-vdpau-93/src/libvdpau/vdpau_h264.c: In function
> 'vdpau_h264_discontinuity':
> ../../../xine-vdpau-93/src/libvdpau/vdpau_h264.c:527: warning: unused
> variable 'this' ../../../xine-vdpau-93/src/libvdpau/vdpau_h264.c: At top
> level:
> ../../../xine-vdpau-93/src/libvdpau/vdpau_h264.c:654: warning:
> initialization discards qualifiers from pointer target type make[2]: ***
> [xineplug_decode_vdpau_h264_la-vdpau_h264.lo] Error 1 make[2]: Leaving
> directory `/opt/src/download/xine-vdpau/build-ciax/src/libvdpau' make[1]:
> *** [all-recursive] Error 1
> make[1]: Leaving directory `/opt/src/download/xine-vdpau/build-ciax/src'
> make: *** [all-recursive] Error 1
> ---------------------------
>
> ** gcc is (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
> ** System is Ubuntu Gutsy Kernel 2.6.26.5 x86_64
>
> i tried compiling with "./autogen noconfig" in source dir and
> configure with:
> CFLAGS='-g3 -O3 -fPIC -lm -mtune=k8 -pipe' ../xine-vdpau-93/configure
> --disable-debug --without-caca
> --with-external-ffmpeg=/opt/src/vdr/VDR-download/DVB-S2/ffmpeg-svn-2008-12-
>18/ffmpeg --disable-dxr3 in my build dir and after that "make".
>
> the same thing occurs also without "--with-external-ffmpeg"
>
> do you have any hint to solve this issue?
>
> thank you in advance and greets,
> ciax

you need nvidia 180.16 or later

-- 
Christophe Thommeret



More information about the Xine-vdpau mailing list