csky-linux-ld: core.c:undefined reference to `netfilter_lwtunnel_fini'

From: kernel test robot
Date: Thu Jun 20 2024 - 17:20:35 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 50736169ecc8387247fe6a00932852ce7b057083
commit: a2225e0250c5fa397dcebf6ce65a9f05a114e0cf netfilter: move the sysctl nf_hooks_lwtunnel into the netfilter core
date: 29 hours ago
config: csky-buildonly-randconfig-r003-20220117 (https://download.01.org/0day-ci/archive/20240621/202406210511.8vbByYj3-lkp@xxxxxxxxx/config)
compiler: csky-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240621/202406210511.8vbByYj3-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202406210511.8vbByYj3-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

csky-linux-ld: net/netfilter/core.o: in function `netfilter_init':
core.c:(.init.text+0x42): undefined reference to `netfilter_lwtunnel_init'
>> csky-linux-ld: core.c:(.init.text+0x56): undefined reference to `netfilter_lwtunnel_fini'
>> csky-linux-ld: core.c:(.init.text+0x70): undefined reference to `netfilter_lwtunnel_init'
csky-linux-ld: core.c:(.init.text+0x78): undefined reference to `netfilter_lwtunnel_fini'

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki