circular dependency in netfilter headers (ip_conntrack.h)

Sérgio Monteiro Basto (sergiomb@netcabo.pt)
08 Jul 2003 01:12:53 +0100


--=-2J9LU/g1ag4oovWEJBjN
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,
with Red Hat Linux 7.3 and gcc 2.96-113=20
I have this error that prevents networking works=20
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=20
http://www.ussg.iu.edu/hypermail/linux/kernel/0211.3/1059.html
thats works for me.=20

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

Who gives me one shell, give me everything.

--=-2J9LU/g1ag4oovWEJBjN
Content-Disposition: attachment; filename=netfilter.diff
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; name=netfilter.diff; charset=ISO-8859-1

--- 2.4.20/include/linux/netfilter_ipv4/ip_conntrack.h.orig Sat May 31 23:2=
2: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;
};
=20
-#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,

--=-2J9LU/g1ag4oovWEJBjN--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/