lkml.org 
[lkml]   [1999]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

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