The latest git mesa-17e0472 fails to build: make: ----- xorg_driver.c: In function ‘drv_block_handler’: xorg_driver.c:614:27: warning: assignment from incompatible pointer type [enabled by default] xorg_driver.c:615:5: warning: passing argument 1 of ‘pScreen->BlockHandler’ makes pointer from integer without a cast [enabled by default] xorg_driver.c:615:5: note: expected ‘ScreenPtr’ but argument is of type ‘int’ xorg_driver.c:615:5: error: too many arguments to function ‘pScreen->BlockHandler’ xorg_driver.c:616:27: warning: assignment from incompatible pointer type [enabled by default] xorg_driver.c: In function ‘drv_screen_init’: xorg_driver.c:802:22: warning: assignment from incompatible pointer type [enabled by default] xorg_driver.c:803:27: warning: assignment from incompatible pointer type [enabled by default] xorg_driver.c:875:26: warning: assignment from incompatible pointer type [enabled by default] xorg_driver.c: In function ‘drv_close_screen’: xorg_driver.c:1015:27: warning: assignment from incompatible pointer type [enabled by default] xorg_driver.c:1040:5: warning: passing argument 1 of ‘pScreen->CloseScreen’ makes pointer from integer without a cast [enabled by default] xorg_driver.c:1040:5: note: expected ‘ScreenPtr’ but argument is of type ‘int’ xorg_driver.c:1040:5: error: too many arguments to function ‘pScreen->CloseScreen’ make[4]: *** [xorg_driver.o] Error 1 make[4]: Leaving directory `/home/jos/src/xorg/git/mesa/src/gallium/state_trackers/xorg' make[3]: *** [subdirs] Error 1 make[3]: Leaving directory `/home/jos/src/xorg/git/mesa/src/gallium/state_trackers' make[2]: *** [default] Error 1 make[2]: Leaving directory `/home/jos/src/xorg/git/mesa/src/gallium' make[1]: *** [subdirs] Error 1 make[1]: Leaving directory `/home/jos/src/xorg/git/mesa/src' make: *** [default] Error 1 -----
What was your ./autogen.sh or ./configure command line? It builds here for me.
(In reply to comment #1) > What was your ./autogen.sh or ./configure command line? It builds here for me. ./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --enable-debug=no --with-dri-drivers=radeon,swrast --enable-osmesa --enable-gallium-egl --enable-openvg --with-gallium-drivers=r600,swrast --enable-xorg --with-x No more build problems with the latest mesa-2bb2e6a6!
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.