* [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'?
@ 2022-02-11 17:57 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-02-11 17:57 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 1784 bytes --]
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/20220211/202202111907.kbWrRF2Y-lkp(a)intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/intel/linux-intel-lts/commit/4655352ad3003f2658836a0f7db7553334f68dda
git remote add intel-lts https://github.com/intel/linux-intel-lts.git
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=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
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_recv'; did you mean 'libbpf_netlink_recv'? [-Werror=implicit-function-declaration]
287 | ret = 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=nested-externs]
cc1: all warnings being treated as errors
make[6]: *** [tools/build/Makefile.build:96: kernel/bpf/preload/staticobjs/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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-02-11 17:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-11 17:57 [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'? kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.