Re: pre-2.2.10-3 fails compile (ip_fw.c)

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 8 Jun 1999 00:20:00 +0100 (BST)


> gcc -D__KERNEL__ -I/hdb3/usr/src/linux-2.2.10/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o ip_fw.o ip_fw.c
> ip_fw.c: In function `dump_packet':
> ip_fw.c:440: `tcpsyn' undeclared (first use this function)
> ip_fw.c:440: (Each undeclared identifier is reported only once
> ip_fw.c:440: for each function it appears in.)
> ip_fw.c: In function `ip_fw_domatch':
> ip_fw.c:535: `syn' undeclared (first use this function)
> make[3]: *** [ip_fw.o] Error 1
> make[3]: Leaving directory `/hdb3/usr/src/linux-2.2.10/net/ipv4'

Swap the erroring cases around and it works. Maybe someone slipped up
hand patching 8)

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