Bug 30390 - Mesa-7.8.2: dri2.h missing in src/gallium/state_trackers/xorg
Summary: Mesa-7.8.2: dri2.h missing in src/gallium/state_trackers/xorg
Status: RESOLVED INVALID
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-27 01:31 UTC by Peter Häring
Modified: 2011-02-09 07:41 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Peter Häring 2010-09-27 01:31:21 UTC
xorg_dri2.c includes "dri2.h".
This header file is originated from xorg-server:hw/xfree86/dri2/dri2.h.
If there is already an X-Server with dri2-acceleration installed, the header file is found. If you are just going to build it the first time, it is missing.

Workaround: copy dri2.h from xorg-server sources to src/gallium/state_trackers/xorg.

Solution: I don't know, if it is a solution to include a private copy of this header dri2.h in Mesa sources, or if it would be better to move it from xorg-server to the dri2proto package.
Comment 1 Jerome Glisse 2011-02-09 07:41:30 UTC
Something was wrong on your end installing proto should be enough, no issue here


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.