Gentoo Archives: gentoo-user

From: Uwe Thiem <uwix@××××.na>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] x11-drm compile failure - linux/config.h not found
Date: Wed, 20 Dec 2006 11:11:23
Message-Id: 200612201250.15146.uwix@iway.na
In Reply to: [gentoo-user] x11-drm compile failure - linux/config.h not found by Alan McKinnon
1 On 20 December 2006 10:58, Alan McKinnon wrote:
2 > Hi,
3 >
4 > I'm sure I'm missing something here but can't quite pinpoint it.
5 >
6 > I want to install x11-drm and compare it to the drm in the mainline
7 > 2.6.19-suspend2-r1 kernel. I've disabled drm in my kernel config as
8 > required, and emerge x11-drm fails with this error:
9 >
10 > In file included from q:36:
11 > /var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux-core/drmP.h:44:26
12 >: error: linux/config.h: No such file or directory
13 >
14 > line 44 of drmP.h contains this:
15 >
16 > #include <linux/config.h>
17 >
18 > Which is odd as /usr/include/linux/config.h exists
19
20 Does the commandline invoking gcc include something
21 like "-I /usr/include/linux"? If not so, there is a bug in the Makefile.
22
23 Uwe
24
25 --
26 A fast and easy generator of fractals for KDE:
27 http://www.SysEx.com.na/iwy-1.0.tar.bz2
28 --
29 gentoo-user@g.o mailing list