2.2.0-pre5 problem with IP MASQ.

Jim Woodward (jim@jim.southcom.com.au)
Thu, 7 Jan 1999 15:22:05 +1100 (EST)


When i try to build it with ip masq enabled i get:

gcc -D__KERNEL__ -I/pool/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -D__SMP__ -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 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 this function)
ip_masq.c: In function `ip_masq_new':
ip_masq.c:869: `IP_MASQ_F_DLOOSE' undeclared (first use this function)
ip_masq.c: In function `ip_fw_masquerade':
ip_masq.c:1173: `IP_MASQ_F_DLOOSE' undeclared (first use this function)
ip_masq.c: In function `ip_fw_demasquerade':
ip_masq.c:1932: `IP_MASQ_F_DLOOSE' undeclared (first use this function)
ip_masq.c: In function `ip_masq_init':
ip_masq.c:2376: warning: implicit declaration of function `ip_mfw_init'
make[3]: *** [ip_masq.o] Error 1
make[3]: Leaving directory `/pool/linux/net/ipv4'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/pool/linux/net/ipv4'
make[1]: *** [_subdir_ipv4] Error 2
make[1]: Leaving directory `/pool/linux/net'
make: *** [_dir_net] Error 2

anyone else have the same problem?

If i turn off masquerading, the kernel builds just fine, infact im using
it at the moment..

Regards, Jim.

_____________________________________________________________________________
__ name: james woodward (jim)
/ . _ _ email: jim@jim.southcom.com.au, jim@woodward.southcom.com.au
(_/ / / \/ ) www: http://jim.southcom.com.au, http://www.mailbag.ml.org
-----------------------------------------------------------------------------

-
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/