./autogen.sh --prefix=/usr --libdir=/usr/lib64 --with-dri-drivers="" --with-gall ium-drivers=r600,swrast --enable-gallium-egl --enable-openvg --enable-gles1 --en able-gles2 --enable-texture-float --enable-vdpau --enable-xvmc --enable-osmesa - -enable-xorg --enable-texture-float I get this error when compiling mesa today, it worked fine yesterday. gmake[4]: Entering directory `/home/kdekorte/git/mesa/src/gallium/state_trackers/vdpau' gcc -c -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers -I../../../../src/gallium/winsys/g3dvl -g -O2 -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-aliasing -fno-builtin-memcmp -g -O2 -fPIC -DUSE_X86_64_ASM -D_GNU_SOURCE -DPTHREADS -DTEXTURE_FLOAT_ENABLED -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_MINCORE -DHAVE_LIBUDEV -DHAVE_XCB_DRI2 -DXCB_DRI2_CONNECT_DEVICE_NAME_BROKEN -DHAVE_XEXTPROTO_71 -D__STDC_CONSTANT_MACROS -DHAVE_LLVM=0x0209 -fvisibility=hidden -DVER_MAJOR=1 -DVER_MINOR=0 -I/usr/include -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS preemption.c -o preemption.o preemption.c:34:6: error: no previous prototype for ‘vlVdpPreemptionCallback’ [-Werror=missing-prototypes] preemption.c:42:11: error: no previous prototype for ‘vlVdpPreemptionCallbackRegister’ [-Werror=missing-prototypes] cc1: some warnings being treated as errors
Already investigating, looks like somebody added "-Werror=missing-prototypes" to the default mesa build options. But currently even the gallium dri drivers won't compile for me.
Seems like #include "vdpau_private.h" is missing inside src/gallium/state_trackers/vdpau/preemption.c ?
That was a one liner. Fix pushed to master. Christian.
And 8 months later someone notices this nondescript bug an closes it.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.