Linux Kernel 2.2.0-pre5 Fatal Compile Errors (IP_MASQ)

Grahame M. Kelly (gmkelly@zipper.zip.com.au)
Thu, 07 Jan 1999 15:37:06 +1200


Hi All,

Just to let you know that the following errors abort compiling the newer
2.2.0.pre5 kernel. I didn't find anything new in ./Changes or ./Documnetation
that would cause these problems, thus this report.

Cheers, Grahame

-----------------------------------------------------------------

gcc -D__KERNEL__ -I/new_kernel/linux-2.2.0/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=686
-DEXPORT_SYMTAB -c console.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)
gcc -D__KERNEL__ -I/new_kernel/linux-2.2.0/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=686 -c -o root.o
root.c
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 `/new_kernel/linux-2.2.0/net/ipv4'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/new_kernel/linux-2.2.0/net/ipv4'
make[1]: *** [_subdir_ipv4] Error 2
make[1]: Leaving directory `/new_kernel/linux-2.2.0/net'
make: *** [_dir_net] Error 2

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