Bug 31244

Summary: does not check for recent enough xcb
Product: Mesa Reporter: Michal Suchanek <hramrach>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: 7.9   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Michal Suchanek 2010-10-30 13:01:35 UTC
Building mesa with libxcb-dev 1.6 works and with libxcb-dev 1.1 it fails with

gcc -c -I../../../../include -I../../../../src/egl/main -I../../../../src/mapi -DDEFAULT_DRIVER_DIR=\"/usr/lib/dri\"   -I/usr/include/libdrm   -Wall -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden -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 -DHAVE_XCB_DRI2 -DGALLIUM_LLVMPIPE -D__STDC_CONSTANT_MACROS -DHAVE_LLVM=0x0206 egl_dri2.c -o egl_dri2.o               
egl_dri2.c: In function 'dri2_create_pbuffer_surface': egl_dri2.c:1307: error: 'XCB_WINDOW_NONE' undeclared (first use in this function)

The configure script checks only for xcb, not particular version.
Comment 1 Andreas Boll 2012-09-13 12:01:12 UTC
This got fixed.
Current configure.ac contains the xcb check against version 1.8.1.

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.