Compile error 2.4.20-pre7 in ip_conntrackt_ftp
FYI
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
Please CC.
Kent
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
Quoted 9 lines · Kent Hunt
FYI
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 toint' 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 it:
ipv4/netfilter/Makefile renamed from ipv4/netfilter/Makefile.old +1 -1
@@ -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
Quoted 3 lines
Please CC.
Kent
cu
Adrian
Signature · 3 lines
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