Skip to contentSkip to conversation

compiling iptables on fedora core 4

DISCUSSION Randy Grimshaw 3 participants 3 messages Dec 8, 2005 – Dec 10, 2005

lore
Share & tools
lore
#0 lore raw

When I attempt to compile iptables, on fedora core 4, using:
make KERNEL_DIR=/usr/src/redhat/BUILD/kernel-2.6.11/linux-2.6.11

it fails with the message:
/usr/src/redhat/BUILD/kernel-2.6.11/linux-2.6.11/include/linux/config.h:6:2: error: #error including kernel header in userspace; use the glibc headers instead!

this is before applying any of the patches needed for my objective of using ipset.

thank you for any assistance you can lend.

<><Randy

<><Randall Grimshaw
Room 203 Machinery Hall
Syracuse University
Syracuse, NY 13244
315-443-5779
[email protected]

#1 lore raw
Quoted 1 line · Randy Grimshaw

When I attempt to compile iptables, on fedora core 4, using:

I would suggest consulting the Fedora documentation and perhaps taking it to a Fedora forum.

Signature · 2 lines
    mail to this address is discarded unless "/dev/rob0"
    or "not-spam" is in Subject: header
#2 lore raw
In reply to Randy Grimshaw
Quoted 11 lines

From: [email protected] [mailto:[email protected]]On Behalf Of Randy Grimshaw

When I attempt to compile iptables, on fedora core 4, using:
make KERNEL_DIR=/usr/src/redhat/BUILD/kernel-2.6.11/linux-2.6.11

it fails with the message:
/usr/src/redhat/BUILD/kernel-2.6.11/linux-2.6.11/include/linux/con fig.h:6:2: error: #error including kernel header in userspace; use the glibc headers instead!

Go to http://ep09.pld-linux.org/~mmazur/linux-libc-headers/ , download the headers for 2.6.11, read the doc, use them. Very important, read the doc or they won't behave as expected.
Try googling around for this issue, you'll find plenty of discussions on it.