当我在 Ubuntu 18.04.5 (kernel v4.15.0-187-generic) 上运行 make install 时,出现了以下错误。你能看一下它是否能成功运行吗?具体来说,应该在哪里更改?
root@xxxxxxxxxxx:~/drivers/i40e-2.15.9/src# make install
*** The target kernel has CONFIG_MODULE_SIG_ALL enabled, but
*** the signing key cannot be found. Module signing has been
*** disabled for this build.
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-187-generic'
CC [M] /root/drivers/i40e-2.15.9/src/i40e_main.o
In file included from /root/drivers/i40e-2.15.9/src/i40e.h:33:0,
from /root/drivers/i40e-2.15.9/src/i40e_main.c:8:
/root/drivers/i40e-2.15.9/src/kcompat.h:7248:28: error: redefinition of ‘skb_frag_off’
static inline unsigned int skb_frag_off(const skb_frag_t *frag)
^~~~~~~~~~~~
In file included from ./include/linux/tcp.h:21:0,
from ./include/net/tcp.h:24,
from /root/drivers/i40e-2.15.9/src/i40e.h:7,
from /root/drivers/i40e-2.15.9/src/i40e_main.c:8:
./include/linux/skbuff.h:2763:28: note: previous definition of ‘skb_frag_off’ was here
static inline unsigned int skb_frag_off(const skb_frag_t *frag)
^~~~~~~~~~~~
scripts/Makefile.build:333: recipe for target '/root/drivers/i40e-2.15.9/src/i40e_main.o' failed
make[2]: *** [/root/drivers/i40e-2.15.9/src/i40e_main.o] Error 1
Makefile:1590: recipe for target '_module_/root/drivers/i40e-2.15.9/src' failed
make[1]: *** [_module_/root/drivers/i40e-2.15.9/src] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-187-generic'
Makefile:69: recipe for target 'default' failed
make: *** [default] Error 2