linux/config.h header file missing?

Michael H. Warfield mhw at WittsEnd.com
Wed Oct 11 23:17:30 UTC 2006


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 at WittsEnd.com
   /\/\|=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!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-test-list/attachments/20061011/49fba679/attachment.sig>


More information about the fedora-test-list mailing list