All of lore.kernel.org
 help / color / mirror / Atom feed
* 2.4.27-rc2: Compile error in net/ipv4/netfilter/ip_fw_compat_masq.c
@ 2004-06-28 14:53 Jan-Benedict Glaw
  2004-06-28 20:26 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Jan-Benedict Glaw @ 2004-06-28 14:53 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: coreteam, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1686 bytes --]

Hi!

I get this compile error:

gcc -D__KERNEL__ -I/home/jbglaw/kernel/linux-2.4.27-rc2-md/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE  -nostdinc -iwithprefix include -DKBUILD_BASENAME=ip_fw_compat_masq  -c -o ip_fw_compat_masq.o
ip_fw_compat_masq.c
ip_fw_compat_masq.c: In function `check_for_demasq':
ip_fw_compat_masq.c:157: `IP_OFFSET' undeclared (first use in this function)
ip_fw_compat_masq.c:157: (Each undeclared identifier is reported only once
ip_fw_compat_masq.c:157: for each function it appears in.)
make[2]: *** [ip_fw_compat_masq.o] Error 1
make[2]: Leaving directory `/home/jbglaw/kernel/linux-2.4.27-rc2-md/net/ipv4/netfilter'
make[1]: *** [_modsubdir_ipv4/netfilter] Error 2
make[1]: Leaving directory `/home/jbglaw/kernel/linux-2.4.27-rc2-md/net'
make: *** [_mod_net] Error 2

This patch fixes it:

--- linux-2.4.27-rc2-clean/net/ipv4/netfilter/ip_fw_compat_masq.c	Mon Jan  5 14:53:56 2004
+++ linux-2.4.27-rc2-mod/net/ipv4/netfilter/ip_fw_compat_masq.c	Mon Jun 28 16:48:28 2004
@@ -15,6 +15,7 @@
 #include <linux/proc_fs.h>
 #include <linux/version.h>
 #include <linux/module.h>
+#include <net/ip.h>
 #include <net/route.h>
 
 #define ASSERT_READ_LOCK(x) MUST_BE_READ_LOCKED(&ip_conntrack_lock)


MfG, JBG

-- 
   Jan-Benedict Glaw       jbglaw@lug-owl.de    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg
    fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!
   ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-06-28 20:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-28 14:53 2.4.27-rc2: Compile error in net/ipv4/netfilter/ip_fw_compat_masq.c Jan-Benedict Glaw
2004-06-28 20:26 ` David S. Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.