lkml.org 
[lkml]   [1999]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectIp Masquerading broken in 2.2.0-pre5.

Hey, I just got pre5, and tried to compile with IP Masquerading support.
I had all the usual options set, and I got the following errors:

gcc -D__KERNEL__ -I/usr/src/linux-2.2.0-pre5/include
-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe
-fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2
-malign-functions=2 -DCPU=586 -DEXPORT_SYMTAB -c ip_masq.c

ip_masq.c: In function `__ip_masq_in_get':
ip_masq.c:544: `IP_MASQ_F_DLOOSE' undeclared (first use in this function)
ip_masq.c:544: (Each undeclared identifier is reported only once
ip_masq.c:544: for each function it appears in.)
ip_masq.c: In function `__ip_masq_out_get':
ip_masq.c:597: `IP_MASQ_F_DLOOSE' undeclared (first use in this function)
ip_masq.c: In function `ip_masq_new':
ip_masq.c:869: `IP_MASQ_F_DLOOSE' undeclared (first use in this function)
ip_masq.c: In function `ip_fw_masquerade':
ip_masq.c:1173: `IP_MASQ_F_DLOOSE' undeclared (first use in this function)
ip_masq.c: In function `ip_fw_demasquerade':
ip_masq.c:1932: `IP_MASQ_F_DLOOSE' undeclared (first use in this function)
make[3]: *** [ip_masq.o] Error 1
make[2]: *** [first_rule] Error 2
make[1]: *** [_subdir_ipv4] Error 2
make: *** [_dir_net] Error 2

=======================================
Here are the relevant .config options:

# Networking options
#
CONFIG_PACKET=y
# CONFIG_NETLINK is not set
CONFIG_FIREWALL=y
# CONFIG_NET_ALIAS is not set
# CONFIG_FILTER is not set
CONFIG_UNIX=y
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
CONFIG_IP_FIREWALL=y
CONFIG_IP_ALWAYS_DEFRAG=y
# CONFIG_IP_TRANSPARENT_PROXY is not set
CONFIG_IP_MASQUERADE=y
CONFIG_IP_MASQUERADE_ICMP=y
# CONFIG_IP_MASQUERADE_MOD is not set
# CONFIG_IP_ROUTER is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_ALIAS is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_RARP is not set
CONFIG_IP_NOSR=y
CONFIG_SKB_LARGE=y
# CONFIG_IPV6 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_BRIDGE is not set
# CONFIG_LLC is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_FASTROUTE is not set
# CONFIG_NET_HW_FLOWCONTROL is not set
# CONFIG_CPU_IS_SLOW is not set


P.S. I confirmed the same errors from someone else.
--
Brent M. Smith, <smitten@lagged.net>



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.030 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site