Bug 27090 - xorg_crtc.c won't compile because of change in libdrm
Summary: xorg_crtc.c won't compile because of change in libdrm
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: git
Hardware: x86 (IA32) All
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-15 10:29 UTC by Martin Stolpe
Modified: 2010-03-16 13:55 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Martin Stolpe 2010-03-15 10:29:46 UTC
Compilation of xorg_crtc.c fails with the following error:
xorg_crtc.c: In Funktion »crtc_load_cursor_argb_kms«:
xorg_crtc.c:245: Fehler: »KMS_BO_TYPE_CURSOR« nicht deklariert (erste Benutzung in dieser Funktion)
xorg_crtc.c:245: Fehler: (Jeder nicht deklarierte Bezeichner wird nur einmal aufgeführt
xorg_crtc.c:245: Fehler: für jede Funktion in der er auftritt.)

It's because of the follwing change in libkms.h: "libkms: Rework interface to not duplicate fields from kms and make formats explicit" (44a0e0a099eeeb6501359f08449dcaa5e9899398)
Comment 1 Michel Dänzer 2010-03-16 11:11:47 UTC
AFAICT this should be fixed on mesa_7_7_branch as well as the 7.8 and master branches. If you're still seeing this with a current checkout of any of those, what does

git describe

say?
Comment 2 Martin Stolpe 2010-03-16 13:55:19 UTC
Hm, strange git describe shows me the following line:
 mesa_7_6_1_rc1-2402-ga0518e6
I was using the master branch.

Switching to the mesa_7_7_branch didn't help.

After deleting the source directory and creating a new checkout I get the following line:
 mesa_7_6_1_rc1-6259-g5782b2a
And now it compiles. Really strange.



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.