Bug 30484 - Mesa 7.9.2-rc2 and git fail to compile
Summary: Mesa 7.9.2-rc2 and git fail to compile
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-29 22:11 UTC by Jos van Wolput
Modified: 2011-12-08 00:12 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Jos van Wolput 2010-09-29 22:11:05 UTC
Mesa 7.9.2-rc2 and git fail to compile
---:
In file included from xorg_driver.c:42:0:
/usr/include/xorg/edid.h:623:4: warning: declaration does not declare anything
xorg_driver.c: In function ‘xorg_tracker_have_modesetting’:
xorg_driver.c:125:5: warning: ‘Xalloc’ is deprecated (declared at /usr/include/xorg/os.h:221)
xorg_driver.c:133:2: warning: ‘Xfree’ is deprecated (declared at /usr/include/xorg/os.h:234)
xorg_driver.c:140:5: warning: ‘Xfree’ is deprecated (declared at /usr/include/xorg/os.h:234)
xorg_driver.c: In function ‘drv_free_rec’:
xorg_driver.c:177:5: warning: ‘Xfree’ is deprecated (declared at /usr/include/xorg/os.h:234)
xorg_driver.c: In function ‘drv_init_drm’:
xorg_driver.c:277:2: warning: ‘Xalloc’ is deprecated (declared at /usr/include/xorg/os.h:221)
xorg_driver.c:286:2: warning: ‘Xfree’ is deprecated (declared at /usr/include/xorg/os.h:234)
xorg_driver.c: In function ‘drv_pre_init’:
xorg_driver.c:447:5: warning: ‘Xalloc’ is deprecated (declared at /usr/include/xorg/os.h:221)
xorg_driver.c: In function ‘drv_bind_front_buffer_kms’:
xorg_driver.c:1188:10: error: ‘struct _ScrnInfoRec’ has no member named ‘pixmapPrivate’
make[4]: *** [xorg_driver.o] Error 1
make[4]: Leaving directory `/home/jos/src/xorg/git-master/mesa/src/gallium/state_trackers/xorg'
make[3]: *** [subdirs] Error 1
make[3]: Leaving directory `/home/jos/src/xorg/git-master/mesa/src/gallium/state_trackers'
make[2]: *** [default] Error 1
make[2]: Leaving directory `/home/jos/src/xorg/git-master/mesa/src/gallium'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/jos/src/xorg/git-master/mesa/src'
make: *** [default] Error 1
---
the error ‘struct _ScrnInfoRec’ has no member named ‘pixmapPrivate’
seems to be caused by 'Kill pixmapPrivate with a vengeance (v2)' applied by Chris Wilson in version 5c6a2f93ebc16a78093782b442306de23ae94e78 of xserver.
Comment 1 Jos van Wolput 2010-10-05 20:48:12 UTC
Same compilation error when compiling mesa-7.9 with --enable-gallium and using
latest git version of xserver:
---
xorg_driver.c: In function ‘drv_bind_front_buffer_kms’:
xorg_driver.c:1188:10: error: ‘struct _ScrnInfoRec’ has no member named ‘pixmapPrivate’
make[4]: *** [xorg_driver.o] Error 1
---
Comment 2 Jos van Wolput 2010-10-05 21:23:02 UTC
No more compilation errors occur when building mesa with the 
--with-state-trackers=dri flag.
I tested some demos using mesa-7.9.2 gallium enabled, they are working.
Comment 3 Witold Baryluk 2010-10-12 15:48:13 UTC
Bug #30451 is very similar, but in ati driver. I mistakly send there some additional information releated to this mesa build error.


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.