Messages in this thread | | | Date | Thu, 28 Oct 1999 11:36:42 +0000 ( ) | From | Thomas Speck <> | Subject | Re: Kernel 2.2.14pre2 won't compile w/ipforward err |
| |
On Wed, 27 Oct 1999, CompWiz wrote:
> Latest 2.2.14pre2 kernel will not compile. 2.2.13 compiled fine under > the same config, but when I compile 2.2.14pre2 (after doing everything > possible to prevent it, make mrproper, cleaning out old configs, etc. > still does it) It stops at ipforward.c with the following message > (perhaps IP masq tweak wasn't completely backed out?): > --- > ip_forward.c: In function `ip_forward': > ip_forward.c:179: `maddr' undeclared (first use in this function) > ip_forward.c:179: (Each undeclared identifier is reported only once > ip_forward.c:179: for each function it appears in.) > make[3]: *** [ip_forward.o] Error 1 > make[3]: Leaving directory `/usr/src/linux/net/ipv4' > --- > Having pretty minimal C knowledge, I couldn't find anything obvious > that's wrong in the sourcecode.
Looks like its definition has been removed:
@@ -168,7 +169,6 @@ * and skip the firewall checks */ if (iph->protocol == IPPROTO_ICMP) { - __u32 maddr; #ifdef CONFIG_IP_MASQUERADE_ICMP struct icmphdr *icmph = (struct icmphdr *)((char*)iph + (iph->ihl << 2));
[snip]
-- Thomas
- 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/
| |