Re: Compile error 2.4.20-pre7 in ip_conntrackt_ftp

From: Adrian Bunk (
Date: Thu Sep 19 2002 - 11:23:33 EST

On Thu, 19 Sep 2002, Kent Hunt wrote:

> 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

Hi Kent,

thanks for this report. Dave's patch

  [NETFILTER]: Backport newnat infrastructure to 2.4.x

removed ip_conntrack_ftp.o from export-objs in net/ipv4/netfilter/Makefile
although there's still an EXPORT_SYMBOL in ip_conntrack_ftp.c
#ifdef CONFIG_IP_NF_NAT_NEEDED. The following (untested) patch should fix

--- net/ipv4/netfilter/Makefile.old 2002-09-19 18:17:31.000000000 +0200
+++ net/ipv4/netfilter/Makefile 2002-09-19 18:17:56.000000000 +0200
@@ -9,7 +9,7 @@

 O_TARGET := netfilter.o

-export-objs = ip_conntrack_standalone.o ip_fw_compat.o ip_nat_standalone.o ip_tables.o arp_tables.o
+export-objs = ip_conntrack_standalone.o ip_conntrack_ftp.o ip_fw_compat.o ip_nat_standalone.o ip_tables.o arp_tables.o

 # Multipart objects.
 list-multi := ip_conntrack.o iptable_nat.o ipfwadm.o ipchains.o

> Please CC.
> Kent



You only think this is a free country. Like the US the UK spends a lot of time explaining its a free country because its a police state. Alan Cox

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Sep 23 2002 - 22:00:26 EST