Re: library: btree_blue - a simple btree with rapid linear traversal

kernel test robot
2023-05-09T03:10:10Z

Hi liuwf,

kernel test robot noticed the following build errors:

[auto build test ERROR on fbe1871b562af6e9cffcf622247e821d1dd16c64]

url: https://github.com/intel-lab-lkp/linux/commits/liuwf/library-btree_blue-a-simple-btree-with-rapid-linear-traversal/20230509-095127
base: fbe1871b562af6e9cffcf622247e821d1dd16c64
patch link: https://lore.kernel.org/r/37586fd4e76b597aea4dad3f06bb7eb648425fa0.camel%40mailbox.org
patch subject: library: btree_blue - a simple btree with rapid linear traversal
config: i386-tinyconfig (https://download.01.org/0day-ci/archive/20230509/202305091033.ffi2G2ZL-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build):
# https://github.com/intel-lab-lkp/linux/commit/fba954cf20fd4764f0e6090d1164251873b7569c
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review liuwf/library-btree_blue-a-simple-btree-with-rapid-linear-traversal/20230509-095127
git checkout fba954cf20fd4764f0e6090d1164251873b7569c
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=i386 olddefconfig
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202305091033.ffi2G2ZL-lkp@intel.com/

All errors (new ones prefixed by >>):

ld: lib/btree_blue_test.o: in function `btree_blue_test_init':
>> btree_blue_test.c:(.text+0xb7): undefined reference to `btree_init'
>> ld: btree_blue_test.c:(.text+0x133): undefined reference to `btree_geo64'
>> ld: btree_blue_test.c:(.text+0x13d): undefined reference to `btree_insert'
ld: btree_blue_test.c:(.text+0x25b): undefined reference to `btree_geo64'
>> ld: btree_blue_test.c:(.text+0x269): undefined reference to `btree_lookup'
ld: btree_blue_test.c:(.text+0x379): undefined reference to `btree_geo64'
ld: btree_blue_test.c:(.text+0x38f): undefined reference to `btree_insert'
ld: btree_blue_test.c:(.text+0x3aa): undefined reference to `btree_geo64'
>> ld: btree_blue_test.c:(.text+0x3b8): undefined reference to `btree_remove'
ld: btree_blue_test.c:(.text+0x57f): undefined reference to `btree_geo64'
>> ld: btree_blue_test.c:(.text+0x58d): undefined reference to `btree_last'
ld: btree_blue_test.c:(.text+0x5a4): undefined reference to `btree_geo64'
>> ld: btree_blue_test.c:(.text+0x5ae): undefined reference to `btree_get_prev'
ld: btree_blue_test.c:(.text+0x5fb): undefined reference to `btree_geo64'
ld: btree_blue_test.c:(.text+0x609): undefined reference to `btree_last'
ld: btree_blue_test.c:(.text+0x62e): undefined reference to `btree_geo64'
ld: btree_blue_test.c:(.text+0x638): undefined reference to `btree_get_prev'
ld: btree_blue_test.c:(.text+0x6ef): undefined reference to `btree_geo64'
ld: btree_blue_test.c:(.text+0x6f9): undefined reference to `btree_remove'
>> ld: btree_blue_test.c:(.text+0x7cd): undefined reference to `btree_destroy'

--
0-DAY CI Kernel Test Service