Bug 39210 - incompatible types when assigning to type ‘struct VADriverVTable *’ from type ‘struct VADriverVTable’
Summary: incompatible types when assigning to type ‘struct VADriverVTable *’ from type...
Status: RESOLVED NOTABUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: All All
: low major
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-13 15:52 UTC by Alexandre Demers
Modified: 2011-07-14 02:44 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Alexandre Demers 2011-07-13 15:52:51 UTC
When compiling with --enable-va, I receive the following error:

gcc -c -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers   -I../../../../src/gallium/winsys/g3dvl -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -m64 -g  -fPIC  -DUSE_X86_64_ASM -D_GNU_SOURCE -DPTHREADS -DDEBUG -DTEXTURE_FLOAT_ENABLED -DHAVE_POSIX_MEMALIGN -DMESA_SELINUX -DUSE_XCB -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_LIBUDEV -DHAVE_XCB_DRI2 -DXCB_DRI2_CONNECT_DEVICE_NAME_BROKEN -DHAVE_XEXTPROTO_71 -DGALLIUM_LLVMPIPE -D__STDC_CONSTANT_MACROS -DHAVE_LLVM=0x0208 -fvisibility=hidden -DVER_MAJOR=0 -DVER_MINOR=3  -I/usr/lib/llvm-2.8/include   -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS va_context.c -o va_context.o
va_context.c: In function ‘__vaDriverInit_0_31’:
va_context.c:63:16: error: incompatible types when assigning to type ‘struct VADriverVTable *’ from type ‘struct VADriverVTable’
make: *** [va_context.o] Error

It seems one of the type is wrong.
Comment 1 Christian König 2011-07-14 02:22:42 UTC
The VA state tracker is currently unmaintained.

It should at least compile without a problem, so that automated builds are not disturbed.

I will take a look into it.
Comment 2 Christian König 2011-07-14 02:44:03 UTC
The Problem is you are using VAAPI 0.32, while this state tracker only compiles with VAAPI 0.31.

I will add a configure check for this.


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.