mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* circular dependency in netfilter headers (ip_conntrack.h)
@ 2003-07-08  0:12 Sérgio Monteiro Basto
  0 siblings, 0 replies; 2+ messages in thread
From: Sérgio Monteiro Basto @ 2003-07-08  0:12 UTC (permalink / raw)
  To: Linux Kernel Mailing List

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

Hi,
with Red Hat Linux 7.3 and gcc 2.96-113 
I have this error that prevents networking works 
make[2]: Circular
/usr/src/linux-2.4.22-pre3/include/linux/netfilter_ipv4/ip_conntrack_helper.h <- /usr/src/linux-2.4.22-pre3/include/linux/netfilter_ipv4/ip_conntrack.h dependency dropped.

I found this patch in this email 
http://www.ussg.iu.edu/hypermail/linux/kernel/0211.3/1059.html
thats works for me. 

This circular dependency problem is in almost kernel version, pré
version and RCs since 2.4.20 at least.
please CC me
thanks
-- 
SérgioMB
email: sergiomb@netcabo.pt

Who gives me one shell, give me everything.

[-- Attachment #2: netfilter.diff --]
[-- Type: text/plain, Size: 425 bytes --]

--- 2.4.20/include/linux/netfilter_ipv4/ip_conntrack.h.orig	Sat May 31 23:22:01 2003
+++ 2.4.20+/include/linux/netfilter_ipv4/ip_conntrack.h	Sun Jun  1 00:11:03 2003
@@ -156,7 +156,8 @@
 	union ip_conntrack_expect_help help;
 };
 
-#include <linux/netfilter_ipv4/ip_conntrack_helper.h>
+struct ip_conntrack_helper;
+
 struct ip_conntrack
 {
 	/* Usage count in here is 1 for hash table/destruct timer, 1 per skb,

^ permalink raw reply	[flat|nested] 2+ messages in thread
* circular dependency in netfilter headers (ip_conntrack.h)
@ 2002-11-29 16:21 Alex Riesen
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Riesen @ 2002-11-29 16:21 UTC (permalink / raw)
  To: Netfilter Coreteam; +Cc: linux-kernel, netfilter-devel

gmake[2]: Circular /export/home/riesen-pc0/riesen/compile/v2.4.20/include/linux/netfilter_ipv4/ip_conntrack_helper.h <- /export/home/riesen-pc0/riesen/compile/v2.4.20/include/linux/netfilter_ipv4/ip_conntrack.h dependency dropped.


I remember someone fixing it, but couldn't find the patch.
FWIW:

--- 2.4.20/include/linux/netfilter_ipv4/ip_conntrack.h	2002-08-13 06:01:49.000000000 +0200
+++ 2.4.20+/include/linux/netfilter_ipv4/ip_conntrack.h	2002-11-29 17:09:16.000000000 +0100
@@ -148,7 +148,8 @@ struct ip_conntrack_expect
 	union ip_conntrack_expect_help help;
 };
 
-#include <linux/netfilter_ipv4/ip_conntrack_helper.h>
+struct ip_conntrack_helper;
+
 struct ip_conntrack
 {
 	/* Usage count in here is 1 for hash table/destruct timer, 1 per skb,

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

end of thread, other threads:[~2003-07-07 23:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-08  0:12 circular dependency in netfilter headers (ip_conntrack.h) Sérgio Monteiro Basto
  -- strict thread matches above, loose matches on Subject: below --
2002-11-29 16:21 Alex Riesen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®