[Mesa-dev] Cannot build mesa with wayland from the 0.85 branch

Sven Joachim svenjoac at gmx.de
Wed May 2 22:20:07 PDT 2012


Hi folks,

Building the wayland backend in mesa with wayland from the 0.85 branch
fails:

,----
| make[5]: Entering directory `/usr/local/src/deb-src/mesa/mesa/build/dri/src/gallium/state_trackers/egl'
| gcc -c -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/egl/main -I../../../../src/egl/wayland/wayland-drm/ -I../../../../include -I../../../../src/gallium/winsys -I../../../../src/egl/wayland/wayland-egl -I../../../../src/egl/wayland/wayland-drm -I/usr/include/libdrm   -D_GNU_SOURCE -DPTHREADS -DTEXTURE_FLOAT_ENABLED -DHAVE_POSIX_MEMALIGN -DIN_DRI_DRIVER -DUSE_XCB -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_MINCORE -DHAVE_LIBUDEV -DHAVE_LLVM=0x0209 -DHAVE_WAYLAND_BACKEND -Wall -g -O2 -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-aliasing -fno-builtin-memcmp -Wall -g -O2  -fPIC  -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DTEXTURE_FLOAT_ENABLED -DHAVE_POSIX_MEMALIGN -DIN_DRI_DRIVER -DUSE_XCB -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_MINCORE -DHAVE_LIBUDEV -DHAVE_LLVM=0x0209 -DHAVE_WAYLAND_BACKEND -fvisibility=hidden wayland/native_shm.c -o wayland/native_shm.o
| wayland/native_shm.c: In function 'wayland_create_shm_buffer':
| wayland/native_shm.c:109:4: error: implicit declaration of function 'wl_shm_create_pool' [-Werror=implicit-function-declaration]
| wayland/native_shm.c:109:9: warning: assignment makes pointer from integer without a cast [enabled by default]
| wayland/native_shm.c:110:4: error: implicit declaration of function 'wl_shm_pool_create_buffer' [-Werror=implicit-function-declaration]
| wayland/native_shm.c:110:11: warning: assignment makes pointer from integer without a cast [enabled by default]
| wayland/native_shm.c:112:4: error: implicit declaration of function 'wl_shm_pool_destroy' [-Werror=implicit-function-declaration]
| cc1: some warnings being treated as errors
| make[5]: *** [wayland/native_shm.o] Error 1
`----

The reason for this is commit 9ba3cecaa (st/egl: Update to the new
wl_shm_pool interface), the interface in question only exist in wayland
master.

Is building mesa with wayland from the 0.85 branch still supported?

Cheers,
       Sven


More information about the mesa-dev mailing list