From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============7674093207766021483==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [intel-lts:5.15/linux 2474/2488] netlink.c:287:8: error: implicit declaration of function 'bpf_netlink_recv'; did you mean 'libbpf_netlink_recv'? Date: Sat, 12 Feb 2022 01:57:15 +0800 Message-ID: <202202111907.kbWrRF2Y-lkp@intel.com> List-Id: --===============7674093207766021483== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable tree: https://github.com/intel/linux-intel-lts.git 5.15/linux head: 91b52769309e2c4d3d4230266426b5eb65418bef commit: 4655352ad3003f2658836a0f7db7553334f68dda [2474/2488] tools/bpf: Add= xdp set command for md btf config: i386-randconfig-m021 (https://download.01.org/0day-ci/archive/20220= 211/202202111907.kbWrRF2Y-lkp(a)intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=3D1 build): # https://github.com/intel/linux-intel-lts/commit/4655352ad3003f265= 8836a0f7db7553334f68dda git remote add intel-lts https://github.com/intel/linux-intel-lts.g= it git fetch --no-tags intel-lts 5.15/linux git checkout 4655352ad3003f2658836a0f7db7553334f68dda # save the config file to linux build tree mkdir build_dir make W=3D1 O=3Dbuild_dir ARCH=3Di386 SHELL=3D/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): netlink.c: In function 'bpf_set_link_xdp_md_btf': >> netlink.c:287:8: error: implicit declaration of function 'bpf_netlink_re= cv'; did you mean 'libbpf_netlink_recv'? [-Werror=3Dimplicit-function-decla= ration] 287 | ret =3D bpf_netlink_recv(sock, nl_pid, seq, NULL, NULL, NULL); | ^~~~~~~~~~~~~~~~ | libbpf_netlink_recv >> netlink.c:287:8: error: nested extern declaration of 'bpf_netlink_recv' = [-Werror=3Dnested-externs] cc1: all warnings being treated as errors make[6]: *** [tools/build/Makefile.build:96: kernel/bpf/preload/staticob= js/netlink.o] Error 1 make[6]: Target '__build' not remade because of errors. --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============7674093207766021483==--