iptable could not compile on linux-2.6.5-1.358???

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

 



Dear Mailing list,

I'm trying to install "ip6tables-1.2.10" in my Fedora linux-2.6.5-1.358 computer. However, when I do "make KERNEL_DIR=/usr/src/linux-2.6.5-1.358", the following error happens:

[root@mobilenode1 iptables-1.2.10]# make KERNEL_DIR=/usr/src/linux-2.6.5-1.358
Extensions found: IPv4:recent IPv6:ah IPv6:esp IPv6:frag IPv6:ipv6header IPv6:hbh IPv6:dst IPv6:rt

cc -O2 -Wall -Wunused -I/usr/src/linux-2.6.5-1.358/include -Iinclude/ -DIPTABLES_VERSION=\"1.2.10\" -fPIC -o extensions/libipt_ah_sh.o -c extensions/libipt_ah.c

In file included from /usr/src/linux-2.6.5-1.358/include/linux/netfilter_ipv4.h:8,

from /usr/src/linux-2.6.5-1.358/include/linux/netfilter_ipv4/ip_tables.h:25,

from include/libiptc/libiptc.h:6,

from include/iptables.h:5,

from extensions/libipt_ah.c:8:

/usr/src/linux-2.6.5-1.358/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!

make: *** [extensions/libipt_ah_sh.o] Error 1

Is there anyway to solve this problem? Thanks a lot your reply!

Ying Ge
Communications Research Centre Canada | Centre de recherches sur les communications Canada
3701 Carling Ave. | 3701, avenue Carling
PO Box 11490, Station H | CP 11490, succursale H
Ottawa ON K2H 8S2 | Ottawa (Ontario) K2H 8S2
(613) 998-2819 | ying.ge@xxxxxx | 
Web site / Site web : www.crc.ca
Government of Canada | Gouvernement du Canada

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux