Bug 25094

Summary: [gallium] xorg state tracker does not compile
Product: Mesa Reporter: Johannes Obermayr <johannesobermayr>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Johannes Obermayr 2009-11-14 16:47:33 UTC
I tried building Mesa (gallium) with xorg state tracker on openSUSE Build Service but it does not compile.

[full log]
http://download177.mediafire.com/wtzmivn1dekg/koijldkyjjy/build.log (~ 1.2 MiB)

[short log]
<snip>
gcc -c -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers -I/src/gallium/include -I/src/gallium/auxiliary -I/src/gallium/drivers -DHAVE_CONFIG_H -I/usr/include/pixman-1 -I/usr/include/xorg -I/usr/include/drm -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../include -I../../../../src/mesa -I../../../../src/mesa/drivers/dri/common -I../../../../src/mesa/main -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fPIC -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS xorg_exa.c -o xorg_exa.o
xorg_exa.c:60: error: 'PICT_a2r10g10b10' undeclared here (not in a function)
xorg_exa.c:61: error: 'PICT_x2r10g10b10' undeclared here (not in a function)
xorg_exa.c:62: error: 'PICT_a2b10g10r10' undeclared here (not in a function)
xorg_exa.c:63: error: 'PICT_x2b10g10r10' undeclared here (not in a function)
xorg_exa.c:68: error: 'PICT_b8g8r8a8' undeclared here (not in a function)
xorg_exa.c:69: error: 'PICT_b8g8r8x8' undeclared here (not in a function)
xorg_exa.c: In function 'ExaCopy':
xorg_exa.c:454: warning: unused variable 'priv'
gmake[4]: *** [xorg_exa.o] Error 1
gmake[4]: Leaving directory `/usr/src/packages/BUILD/Mesa/src/gallium/state_trackers/xorg'
gmake[3]: *** [subdirs] Error 1
gmake[3]: Leaving directory `/usr/src/packages/BUILD/Mesa/src/gallium/state_trackers'
gmake[2]: *** [default] Error 1
gmake[2]: Leaving directory `/usr/src/packages/BUILD/Mesa/src/gallium'
gmake[1]: *** [subdirs] Error 1
gmake[1]: Leaving directory `/usr/src/packages/BUILD/Mesa/src'
gmake: *** [default] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.17180 (%install)
<snip>
Comment 1 Michel Dänzer 2009-11-16 03:03:43 UTC
Fixed in commit d3a37d93aba86ebca697169a31d88c3ef0ce34b9, thanks for the report.

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.