leiqi96
leiqi96

Reputation: 51

"Kernel header files not in any of expected locations" when compiling ixgbe driver

I want to compile the Intel ixgbe driver, but it appears such mistakes which was depicted in the picture below:

enter image description here

I have installed development tools,but the error still appears:

enter image description here

Upvotes: 3

Views: 13160

Answers (2)

ko80
ko80

Reputation: 83

This worked for me (Fedora 34)

sudo dnf groupinstall "Development Tools" "Development Libraries"

and reboot right after.

Reference: https://www.osradar.com/install-development-build-tools-fedora/

Upvotes: 0

Charles
Charles

Reputation: 41

I found that, in my case, I just had to reboot for the development tools to fully install. After the reboot, the make command worked fine.

Upvotes: 4

Related Questions