public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] x11-drm compile failure - linux/config.h not found
@ 2006-12-20  8:58 Alan McKinnon
  2006-12-20 10:50 ` Uwe Thiem
  2006-12-20 13:57 ` Jürgen Pierau
  0 siblings, 2 replies; 4+ messages in thread
From: Alan McKinnon @ 2006-12-20  8:58 UTC (permalink / raw
  To: gentoo-user

Hi,

I'm sure I'm missing something here but can't quite pinpoint it.

I want to install x11-drm and compare it to the drm in the mainline 
2.6.19-suspend2-r1 kernel. I've disabled drm in my kernel config as 
required, and emerge x11-drm fails with this error:

In file included from q:36:
/var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux-core/drmP.h:44:26: 
error: linux/config.h: No such file or directory

line 44 of drmP.h contains this:

#include <linux/config.h>

Which is odd as /usr/include/linux/config.h exists

As far as I can tell from my logs, I had this working previously in 
suspend2-sources-2.6.16-r8 and gentoo-sources-2.6.17-r7

Any pointers before I file a bug?

alan

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] x11-drm compile failure - linux/config.h not found
  2006-12-20  8:58 [gentoo-user] x11-drm compile failure - linux/config.h not found Alan McKinnon
@ 2006-12-20 10:50 ` Uwe Thiem
  2006-12-20 13:57 ` Jürgen Pierau
  1 sibling, 0 replies; 4+ messages in thread
From: Uwe Thiem @ 2006-12-20 10:50 UTC (permalink / raw
  To: gentoo-user

On 20 December 2006 10:58, Alan McKinnon wrote:
> Hi,
>
> I'm sure I'm missing something here but can't quite pinpoint it.
>
> I want to install x11-drm and compare it to the drm in the mainline
> 2.6.19-suspend2-r1 kernel. I've disabled drm in my kernel config as
> required, and emerge x11-drm fails with this error:
>
> In file included from q:36:
> /var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux-core/drmP.h:44:26
>: error: linux/config.h: No such file or directory
>
> line 44 of drmP.h contains this:
>
> #include <linux/config.h>
>
> Which is odd as /usr/include/linux/config.h exists

Does the commandline invoking gcc include something 
like "-I /usr/include/linux"? If not so, there is a bug in the Makefile.

Uwe

-- 
A fast and easy generator of fractals for KDE:
http://www.SysEx.com.na/iwy-1.0.tar.bz2
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] x11-drm compile failure - linux/config.h not found
  2006-12-20  8:58 [gentoo-user] x11-drm compile failure - linux/config.h not found Alan McKinnon
  2006-12-20 10:50 ` Uwe Thiem
@ 2006-12-20 13:57 ` Jürgen Pierau
  2006-12-20 14:11   ` Alan McKinnon
  1 sibling, 1 reply; 4+ messages in thread
From: Jürgen Pierau @ 2006-12-20 13:57 UTC (permalink / raw
  To: gentoo-user

Alan McKinnon schrieb:
> I want to install x11-drm and compare it to the drm in the mainline 
> 2.6.19-suspend2-r1 kernel. I've disabled drm in my kernel config as 
> required, and emerge x11-drm fails with this error:
>
> In file included from q:36:
> /var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux-core/drmP.h:44:26: 
> error: linux/config.h: No such file or directory
>
> line 44 of drmP.h contains this:
>
> #include <linux/config.h>
>   
Hi Alan,

you seem to be experiencing bug #156784:

http://bugs.gentoo.org/show_bug.cgi?id=156784

There is a dirty workaround somewhere around comment #15. I'd recommend 
waiting for an updated ebuild, though.

C'Ya,
Jürgen
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] x11-drm compile failure - linux/config.h not found
  2006-12-20 13:57 ` Jürgen Pierau
@ 2006-12-20 14:11   ` Alan McKinnon
  0 siblings, 0 replies; 4+ messages in thread
From: Alan McKinnon @ 2006-12-20 14:11 UTC (permalink / raw
  To: gentoo-user

On Wednesday 20 December 2006 15:57, Jürgen Pierau wrote:
> Alan McKinnon schrieb:
> > I want to install x11-drm and compare it to the drm in the mainline
> > 2.6.19-suspend2-r1 kernel. I've disabled drm in my kernel config as
> > required, and emerge x11-drm fails with this error:
> >
> > In file included from q:36:
> > /var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux-core/drmP
> >.h:44:26: error: linux/config.h: No such file or directory
> >
> > line 44 of drmP.h contains this:
> >
> > #include <linux/config.h>
>
> Hi Alan,
>
> you seem to be experiencing bug #156784:
>
> http://bugs.gentoo.org/show_bug.cgi?id=156784

Yes, that's exactly the one. 

> There is a dirty workaround somewhere around comment #15. I'd
> recommend waiting for an updated ebuild, though.

That workaround is so ugly it insults other ugly things in the world! I 
think I'll give this x11-drm test a miss, I get OK results with the 
in-kernel drm, and I compile too many kernels almost daily to be 
bothered remembering to set a symlink each time

Thanks for your and Uwe's help though

alan

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-12-20 14:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-20  8:58 [gentoo-user] x11-drm compile failure - linux/config.h not found Alan McKinnon
2006-12-20 10:50 ` Uwe Thiem
2006-12-20 13:57 ` Jürgen Pierau
2006-12-20 14:11   ` Alan McKinnon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox