Bug 50782 - the latest git mesa-17e0472 fails to build
Summary: the latest git mesa-17e0472 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-06 04:53 UTC by Jos van Wolput
Modified: 2012-06-06 08:17 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Jos van Wolput 2012-06-06 04:53:51 UTC
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
-----
Comment 1 Brian Paul 2012-06-06 07:16:17 UTC
What was your ./autogen.sh or ./configure command line?  It builds here for me.
Comment 2 Jos van Wolput 2012-06-06 08:17:21 UTC
(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.