# tar zxvf ixgbe-5.3.7.tar.gz
# cd ixgbe-5.3.7/src/
# make
此时还是有以下错误
1
2
3
4
# make
common.mk:102: *** Kernel header files not in any of the expected locations.
common.mk:103: *** Install the appropriate kernel development package, e.g.
common.mk:104: *** kernel-devel, for building kernel modules and try again. Stop.
# make
make[1]: Entering directory `/usr/src/kernels/3.10.0-862.6.3.el7.x86_64'
CC [M] /root/ixgbe-5.3.7/src/ixgbe_main.o
CC [M] /root/ixgbe-5.3.7/src/ixgbe_api.o
CC [M] /root/ixgbe-5.3.7/src/ixgbe_common.o
CC [M] /root/ixgbe-5.3.7/src/ixgbe_dcb.o
CC [M] /root/ixgbe-5.3.7/src/ixgbe_dcb_82598.o
CC [M] /root/ixgbe-5.3.7/src/ixgbe_dcb_82599.o
CC [M] /root/ixgbe-5.3.7/src/ixgbe_ethtool.o
CC [M] /root/ixgbe-5.3.7/src/ixgbe_lib.o
CC [M] /root/ixgbe-5.3.7/src/ixgbe_mbx.o
CC [M] /root/ixgbe-5.3.7/src/ixgbe_sriov.o
CC [M] /root/ixgbe-5.3.7/src/ixgbe_param.o
CC [M] /root/ixgbe-5.3.7/src/ixgbe_phy.o
CC [M] /root/ixgbe-5.3.7/src/ixgbe_procfs.o
CC [M] /root/ixgbe-5.3.7/src/ixgbe_82598.o
CC [M] /root/ixgbe-5.3.7/src/ixgbe_82599.o
CC [M] /root/ixgbe-5.3.7/src/ixgbe_x540.o
CC [M] /root/ixgbe-5.3.7/src/ixgbe_x550.o
CC [M] /root/ixgbe-5.3.7/src/ixgbe_dcb_nl.o
CC [M] /root/ixgbe-5.3.7/src/ixgbe_debugfs.o
CC [M] /root/ixgbe-5.3.7/src/ixgbe_fcoe.o
CC [M] /root/ixgbe-5.3.7/src/ixgbe_ptp.o
CC [M] /root/ixgbe-5.3.7/src/ixgbe_sysfs.o
CC [M] /root/ixgbe-5.3.7/src/kcompat.o
LD [M] /root/ixgbe-5.3.7/src/ixgbe.o
Building modules, stage 2.
MODPOST 1 modules
CC /root/ixgbe-5.3.7/src/ixgbe.mod.o
LD [M] /root/ixgbe-5.3.7/src/ixgbe.ko
make[1]: Leaving directory `/usr/src/kernels/3.10.0-862.6.3.el7.x86_64'