Bug 11648 - xorg-server build fails on linux-alpha with linux-headers versions 2.6.19.2 or up, maybe some older ones as well
Summary: xorg-server build fails on linux-alpha with linux-headers versions 2.6.19.2 o...
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 7.2 (2007.02)
Hardware: Alpha Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-18 05:16 UTC by Stefaan
Modified: 2007-07-19 17:51 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Patch that fixes the build problem with newer linux kernel header files (838 bytes, patch)
2007-07-18 05:17 UTC, Stefaan
no flags Details | Splinter Review

Description Stefaan 2007-07-18 05:16:10 UTC
linux 2.6.11 headers are known to work
Problem seems to be that <asm/pci.h> isn't included in new linux headers anymore. 

original bug report: http://bugs.gentoo.org/show_bug.cgi?id=164240

Patch that fixes the problem follows
Comment 1 Stefaan 2007-07-18 05:17:34 UTC
Created attachment 10783 [details] [review]
Patch that fixes the build problem with newer linux kernel header files

This patch is confirmed to work both with 2.6.11 and 2.6.19 linux kernel headers
Comment 2 Julien Cristau 2007-07-18 06:21:43 UTC
(In reply to comment #0)
> linux 2.6.11 headers are known to work
> Problem seems to be that <asm/pci.h> isn't included in new linux headers
> anymore. 
> 
> original bug report: http://bugs.gentoo.org/show_bug.cgi?id=164240
> 
> Patch that fixes the problem follows
> 
Confirmed, I fixed this up a few days ago with http://git.debian.org/?p=pkg-xorg/xserver/xorg-server.git;a=blob;f=debian/patches/50_alpha_no_include_asm_pci.h.diff;h=dc4ccaa03fb9df314f8cb3ed52ad1c71aa8a09d9
Comment 3 Julien Cristau 2007-07-19 17:51:36 UTC
(In reply to comment #0)
> linux 2.6.11 headers are known to work
> Problem seems to be that <asm/pci.h> isn't included in new linux headers
> anymore. 

Fixed in commit 0f91abd5c68eb044d09733d18ef0f6b8ed128200


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.