vaapi/VaapiSurface.cpp: In constructor ‘gnash::VaapiSurfaceImpl::VaapiSurfaceImpl(const gnash::VaapiSurface*, unsigned int, unsigned int)’: vaapi/VaapiSurface.cpp:66:45: error: invalid conversion from ‘int’ to ‘VASurfaceID* {aka unsigned int*}’ [-fpermissive] 1, &surface_id); ^ vaapi/VaapiSurface.cpp:66:45: error: invalid conversion from ‘VASurfaceID* {aka unsigned int*}’ to ‘unsigned int’ [-fpermissive] vaapi/VaapiSurface.cpp:66:45: error: too few arguments to function ‘VAStatus vaCreateSurfaces(VADisplay, unsigned int, unsigned int, unsigned int, VASurfaceID*, unsigned int, VASurfaceAttrib*, unsigned int)’ In file included from vaapi/vaapi_common.h:27:0, from vaapi/VaapiSurface.h:25, from vaapi/VaapiSurface.cpp:24: /usr/include/va/va.h:824:1: note: declared here vaCreateSurfaces( ^ libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../libbase -D__STDC_CONSTANT_MACROS -I/usr/include/libavcodec -pipe -O2 -march=athlon64-sse3 -W -Wall -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunu$ Makefile:1388: recipe for target 'libgnashvaapi_la-VaapiSurface.lo' failed Reproducible: Always
Created attachment 392842 [details] build.log Using x11-libs/libva-1.4.1
Possibly related to bug #459806.
Created attachment 392996 [details] build.log Same problem here: vaapi/VaapiSurface.cpp: In constructor ‘gnash::VaapiSurfaceImpl::VaapiSurfaceImpl(const gnash::VaapiSurface*, unsigned int, unsigned int)’: vaapi/VaapiSurface.cpp:66:45: error: invalid conversion from ‘int’ to ‘VASurfaceID* {aka unsigned int*}’ [-fpermissive] 1, &surface_id); ^ vaapi/VaapiSurface.cpp:66:45: error: invalid conversion from ‘VASurfaceID* {aka unsigned int*}’ to ‘unsigned int’ [-fpermissive] vaapi/VaapiSurface.cpp:66:45: error: too few arguments to function ‘VAStatus vaCreateSurfaces(VADisplay, unsigned int, unsigned int, unsigned int, VASurfaceID*, unsigned int, VASurfaceAttrib*, unsigned int)’ Looks like libva API change.
Created attachment 392998 [details] environment
Created attachment 393000 [details] emerge --info
I use libva-1.4.1 configured as follows: $ eix -e libva [...] Installed versions: 1.4.1{tbz2}(06:13:47 PM 01/02/2015)(X drm opengl vdpau -egl -wayland ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" VIDEO_CARDS="nvidia -dummy -fglrx -intel")
Created attachment 395740 [details, diff] [PATCH] vaapi-compat --- /usr/portage/www-plugins/gnash/gnash-0.8.10_p20131019.ebuild 2013-12-04 13:24:48.000000000 +0200 +++ gnash-0.8.10_p20131019.ebuild 2014-12-17 21:04:03.066002008 +0200 @@ -146,6 +146,8 @@ # Allow building against npapi-sdk, bug #383071 epatch "${FILESDIR}"/${PN}-0.8.10-npapi-sdk.patch + epatch "${FILESDIR}"/0001-vaapi-compat.patch + eautoreconf } src_configure() { Is how I fixed gnash+libva on my machines.
This patch is included in snapshot 0.8.10_p20150316
*** Bug 591016 has been marked as a duplicate of this bug. ***