circular dependency in netfilter headers (ip_conntrack.h)

From: Sérgio Monteiro Basto (sergiomb@netcabo.pt)
Date: Mon Jul 07 2003 - 19:12:53 EST


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.

--- 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,

- 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/



This archive was generated by hypermail 2b29 : Mon Jul 07 2003 - 22:00:31 EST