Re: linux/config.h header file missing?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2006-10-11 at 15:21 -0400, Garrett Mitchener wrote:
> I've tried building several kernel-related programs on FC6 test3, like
> an older version of the mptscsi driver and the ATI proprietary driver
> for FireGL graphics cards and such.  I keep running into this error
> that they want to #include <linux/config.h> and there is no such file
> in any of the kernel versions.  Is this a packaging mistake where this
> file has somehow been left out of an RPM?  Or has something happened
> recently in kernel development such that the kernel no longer comes
> with this file?

> I've been able to get many of these things to compile by creating an
> empty file, as in,

> touch /usr/src/kernels/2.6.18-1.2747.fc6-x86_64/include/linux/config.h

> but I'm a little uneasy about this hack.

	It's a hack and I've used it with VMware and it just points up the fact
that <linux/config.h> is no longer necessary.  An empty file serves the
purpose just fine.  The owners of the package you are trying to build
should remove the "#include <linux/config.h>" from their sources
entirely.  Which you can do as well, if you prefer.  It doesn't do
anything, any longer, but it doesn't harm anything.  It's just vestigial
cruft now.

> -- Garrett Mitchener

	Mike
-- 
Michael H. Warfield (AI4NB) | (770) 985-6132 |  mhw@xxxxxxxxxxxx
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471        | possible worlds.  A pessimist is sure of it!

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]