lkml.org 
[lkml]   [2002]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2.4.20-pre7] net/ipv4/netfilter/ip_conntrack_ftp and _irc to export objs
From
Date
On Sat, 2002-09-14 at 19:53, Jarno Paananen wrote:
> Hi,
>
> the two modules mentioned export symbols but are not mentioned in
> export-objs in Makefile and thus give errors. Patch attached.
>
> // Jarno
>
> --- net/ipv4/netfilter/Makefile.bak 2002-09-14 19:50:38.000000000 +0300
> +++ net/ipv4/netfilter/Makefile 2002-09-14 19:51:28.000000000 +0300
> @@ -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_fw_compat.o ip_nat_standalone.o ip_tables.o arp_tables.o ip_conntrack_ftp.o ip_conntrack_irc.o
>
> # Multipart objects.
> list-multi := ip_conntrack.o iptable_nat.o ipfwadm.o ipchains.o

Did you see this part starting at row 34?

# connection tracking helpers
obj-$(CONFIG_IP_NF_FTP) += ip_conntrack_ftp.o
ifdef CONFIG_IP_NF_NAT_FTP
export-objs += ip_conntrack_ftp.o
endif

obj-$(CONFIG_IP_NF_IRC) += ip_conntrack_irc.o
ifdef CONFIG_IP_NF_NAT_IRC
export-objs += ip_conntrack_irc.o
endif

but maybe the ifdefs shouldn't use the NAT define...
I don't think I've compiled without NAT support...

--
/Martin

Never argue with an idiot. They drag you down to their level, then beat
you with experience.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:28    [W:1.989 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site