lkml.org 
[lkml]   [2006]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject'make oldconfig' sub-optimal 2.6.15 -> 2.6.16(.1) (was Re: Linux v2.6.16(.1) - compile failure)
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.

I do now note that despite using 'make oldconfig' on my 2.6.15 .config
file I had to reselect a load of Netfilter options, and it would seem I
decided this time around to have 'm' instead of 'y' there (this is for
my desktop machine where I'll only really use NAT if experimenting
before making changes to the router/firewall machine).

Basically it's a failure with 'make oldconfig' in some way, but if we
can select 'm' for CONFIG_IP_NF_NAT then surely it should work.

-Ath
--
- Athanasius = Athanasius(at)miggy.org / http://www.miggy.org/
Finger athan(at)fysh.org for PGP key
"And it's me who is my enemy. Me who beats me up.
Me who makes the monsters. Me who strips my confidence." Paula Cole - ME
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2006-03-31 19:11    [W:2.725 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site