Subject: Re: xt_TPROXY.c:undefined reference to `udp6_lib_lookup'

From: Florian Westphal <[email-masked]>
Date: Fri, 28 Mar 2014 12:07:32 +0100

Peng Tao <[email-masked]> wrote:
> On Fri, Mar 28, 2014 at 4:51 PM, kbuild test robot
> <[email-masked]> wrote:
> > tree:   git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head:   f217c44ebd41ce7369d2df07622b2839479183b0
> > commit: 2c185ffa270a95e3699c223a0ee67f560ec0db8c staging/lustre: don't compile procfs code when CONFIG_PROC_FS is off
> > date:   4 months ago
> > config: i386-randconfig-c1-03281459 (attached as .config)
> >
> > All error/warnings:
> >
> >    net/built-in.o: In function `tproxy_tg6_v1':
> >>> xt_TPROXY.c:(.text+0x44b23): undefined reference to `udp6_lib_lookup'
> >>> xt_TPROXY.c:(.text+0x44f6f): undefined reference to `udp6_lib_lookup'
> >>> xt_TPROXY.c:(.text+0x4505e): undefined reference to `udp6_lib_lookup'
> >    net/built-in.o: In function `tproxy_tg_init':
> >    xt_TPROXY.c:(.init.text+0x1748): undefined reference to `nf_defrag_ipv6_enable'
> >
> I don't see how this relates to a Lustre commit.

Its not.

> .config looks reasonable to me. It has CONFIG_IPV6=m, which should
> have built udp6_lib_lookup (net/ipv6/udp.c) yet ld failed to link it?

most likely TPROXY=y, seems we need change from
1a5bbfc3d6b700178b75743a2ba1fd2e58a8f36f
for TPROXY as well.