lkml.org 
[lkml]   [2006]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subjectnetfilter: IP_NF_CONNTRACK_NETLINK=y, IP_NF_NAT=m compile error
    On Fri, Mar 31, 2006 at 06:09:16PM +0100, Athanasius wrote:
    > On Tue, Mar 28, 2006 at 05:39:32PM +0100, Athanasius wrote:
    > > CC init/version.o
    > > LD init/built-in.o
    > > LD .tmp_vmlinux1
    > > net/built-in.o(.text+0x7c990): In function `ctnetlink_parse_nat_proto':
    > > : undefined reference to `ip_nat_proto_find_get'
    > > net/built-in.o(.text+0x7c9b2): In function `ctnetlink_parse_nat_proto':
    > > : undefined reference to `ip_nat_proto_put'
    > > net/built-in.o(.text+0x7d695): In function `ctnetlink_change_conntrack':
    > > : undefined reference to `ip_nat_setup_info'
    > > net/built-in.o(.text+0x7da9f): In function `ctnetlink_create_conntrack':
    > > : undefined reference to `ip_nat_setup_info'
    > > make: *** [.tmp_vmlinux1] Error 1
    > ...
    > > CONFIG_IP_NF_TARGET_TCPMSS=m
    > > CONFIG_IP_NF_NAT=m
    > > CONFIG_IP_NF_NAT_NEEDED=y
    > > CONFIG_IP_NF_TARGET_MASQUERADE=m
    >
    > ...
    >
    > It looks like the problem was that "CONFIG_IP_NF_NAT=m". I changed
    > this to 'y' and things look to be compiling fine now.
    >...

    First of all thanks for your report.

    More exactly, it's the combination CONFIG_IP_NF_CONNTRACK_NETLINK=y,
    CONFIG_IP_NF_NAT=m.

    Can someone who understands the netfilter dependencies please look into
    this bug?

    It's present in both 2.6.16.1 and 2.6.16-mm2.

    > -Ath

    cu
    Adrian

    --

    "Is there not promise of rain?" Ling Tan asked suddenly out
    of the darkness. There had been need of rain for many days.
    "Only a promise," Lao Er said.
    Pearl S. Buck - Dragon Seed

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

    \
     
     \ /
      Last update: 2006-04-01 11:21    [W:0.024 / U:58.788 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site