Score:0

ixgbe versions don't compile on Ubuntu 18.04.6 LTS

sa flag
dcs

I am trying to compile different versions (5.10.2/5.12.5/5.13.4) of the ixgbe driver on Ubuntu 18.04.6 LTS.

It keeps throwing the same error message with any version. Do you have any suggestion where the issue could be?

Thnx

Dezso

dcsonka@lab:~/ixgbe-5.10.2/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-166-generic'
CC [M] /home/dcsonka/ixgbe-5.10.2/src/ixgbe_main.o
In file included from /home/dcsonka/ixgbe-5.10.2/src/ixgbe_osdep.h:17:0,
from /home/dcsonka/ixgbe-5.10.2/src/ixgbe_type.h:45,
from /home/dcsonka/ixgbe-5.10.2/src/ixgbe_dcb.h:7,
from /home/dcsonka/ixgbe-5.10.2/src/ixgbe.h:24,
from /home/dcsonka/ixgbe-5.10.2/src/ixgbe_main.c:31:
/home/dcsonka/ixgbe-5.10.2/src/kcompat.h:7242: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/if_ether.h:23:0,
from ./include/uapi/linux/ethtool.h:19,
from ./include/linux/ethtool.h:18,
from ./include/linux/netdevice.h:41,
from /home/dcsonka/ixgbe-5.10.2/src/ixgbe_main.c:10:
./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 '/home/dcsonka/ixgbe-5.10.2/src/ixgbe_main.o' failed
make[2]: *** [/home/dcsonka/ixgbe-5.10.2/src/ixgbe_main.o] Error 1
Makefile:1590: recipe for target '_module_/home/dcsonka/ixgbe-5.10.2/src' failed
make[1]: *** [_module_/home/dcsonka/ixgbe-5.10.2/src] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-166-generic'
Makefile:99: recipe for target 'default' failed
make: *** [default] Error 2

dcsonka@lab:~/ixgbe-5.10.2/src$ uname -a
Linux lab 4.15.0-166-generic #174-Ubuntu SMP Wed Dec 8 19:07:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
dcsonka@lab:~/ixgbe-5.10.2/src$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.6 LTS
Release: 18.04
Codename: bionic
N0rbert avatar
zw flag
I would recommend to install 5.13 kernel using my method from [other answer](https://askubuntu.com/a/1388847/66509). This kernel version ships [IXGBE config](https://packages.ubuntu.com/search?suite=impish&arch=amd64&mode=exactfilename&searchon=contents&keywords=ixgbe) and probably modules too.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.