Re: [2.4.21-pre5] compile error in ip_conntrack_ftp.c:440:

From: Andreas Metzler (ametzler@logic.univie.ac.at)
Date: Mon Mar 24 2003 - 09:18:18 EST


Michael Mauch <michael.mauch@gmx.de> wrote:
> Andreas Metzler <lkml-2003-03@downhill.at.eu.org> wrote:
>> Since iirc 2.4.20 I get this error when compiling a kernel:
>> |-------------------
>> | make[2]: Entering directory `/tmp/KERNEL/linux-2.4.20-pre5/net/ipv4/netfilter'
>> | make[2]: Circular /tmp/KERNEL/linux-2.4.20-pre5/include/linux/netfilter_ipv4/ip_conntrack_helper.h <- /tmp/KERNEL/linux-2.4.20-pre5/include/linux/netfilter_ipv4/ip_conntrack.h dependency dropped.
>> | ld -m elf_i386 -r -o ip_conntrack.o ip_conntrack_standalone.o ip_conntrack_core.o ip_conntrack_proto_generic.o ip_conntrack_proto_tcp.o ip_conntrack_proto_udp.o ip_conntrack_proto_icmp.o
>> | gcc -D__KERNEL__ -I/tmp/KERNEL/linux-2.4.20-pre5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -nostdinc -iwithprefix include -DKBUILD_BASENAME=ip_conntrack_ftp -c -o ip_conntrack_ftp.o ip_conntrack_ftp.c
>> | ip_conntrack_ftp.c:440: parse error before `this_object_must_be_defined_as_export_objs_in_the_Makefile'
[...]
>> CONFIG_IP_NF_CONNTRACK=m
>> CONFIG_IP_NF_FTP=m
>> CONFIG_IP_NF_IRC=m
>> CONFIG_IP_NF_IPTABLES=m
 
> I got the same error. With
 
> CONFIG_IP_NF_MATCH_CONNTRACK=m
 
> (Connection tracking match support), the error disappears.

Hello,
This fixes neither the example I posted (add this line to initial
minimal config, make menuconfig, make clean dep, make modules), nor the
real world example

http://www.logic.univie.ac.at/~ametzler/2.4.20.breaks.config
               cu andreas

-
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 Mar 31 2003 - 22:00:15 EST