Bug 432354 - missing and different header files in kernel-headers package
Summary: missing and different header files in kernel-headers package
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: All
OS: Linux
high
low
Target Milestone: ---
Assignee: David Woodhouse
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-02-11 15:19 UTC by Thomas Woerner
Modified: 2008-04-14 19:05 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-04-14 19:05:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Thomas Woerner 2008-02-11 15:19:30 UTC
Description of problem:
iptables-1.4.0 needs linux/compiler.h, which is not part of the kernel-headers
package. The netfilter headers in the /lib/modules/../build/include/linux are
different to the header files in /usr/include/linux (e.g. missing #include
<linux/in6.h> in ip6_tables.h).

Version-Release number of selected component (if applicable):
kernel-headers-2.6.24.1-26.fc9

How reproducable:
Try to compile iptables-1.4.0-1 from dist CVS.

Additional info:
iptables cannot be built against kernel-headers without the proper header files.

Comment 1 Brian K Davis 2008-02-15 00:44:15 UTC
i also noticed a similar problem while trying to compile a unrelated package.
on my i686 (non-x86_64) was installed X86_64 kernel headers.

Comment 2 Dave Jones 2008-02-21 22:15:10 UTC
what is it using from compiler.h ? Ie, where does it fail if you just remove the
#include ?

From a quick look, there's nothing in that header that userspace should be using.

Comment 3 David Woodhouse 2008-02-22 07:35:32 UTC
This may well be related to what's discussed in the thread at
http://marc.info/?l=linux-netdev&m=120342897402742&w=2

Comment 4 David Woodhouse 2008-02-22 07:55:07 UTC
Or it may just be that iptables contains its own broken copy of the headers
taken from the kernel without using 'make headers_install'.

Comment 5 Brian K Davis 2008-02-22 19:39:11 UTC
no, the default kernel package contains /usr/include/asm files from x86_64 and
cause failure for any thing (in my case, a popular media player) to fail do to
incorrect versions of structures which it uses. it is definitely the
kernel-headers package at fault. 

Comment 6 David Woodhouse 2008-04-14 19:05:41 UTC
I believe iptables got fixed. Brian, if there is a bug in another userspace
package, please file a bug against that package and explain the problem in
detail. Cc me if it relates to abuse of kernel headers, and I'll try to help.


Note You need to log in before you can comment on or make changes to this bug.