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

From: Michael Mauch (michael.mauch@gmx.de)
Date: Fri Mar 21 2003 - 20:31:50 EST


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'
> | ip_conntrack_ftp.c:440: warning: type defaults to `int' in declaration of `this_object_must_be_defined_as_export_objs_in_the_Makefile'
> | ip_conntrack_ftp.c:440: warning: data definition has no type or storage class
> | make[2]: *** [ip_conntrack_ftp.o] Error 1
> | make[2]: Leaving directory `/tmp/KERNEL/linux-2.4.20-pre5/net/ipv4/netfilter'
> | make[1]: *** [_modsubdir_ipv4/netfilter] Error 2
> | make[1]: Leaving directory `/tmp/KERNEL/linux-2.4.20-pre5/net'
> | make: *** [_mod_net] Error 2
> |-------------------

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

Regards...
                Michael

-
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 : Sun Mar 23 2003 - 22:00:40 EST