浪潮X540T2网卡买回来插上,才发现需要安装驱动。
从网上找到官方最新驱动的下载地址
> [ixgbe 驱动下载地址](https://www.intel.com/content/www/us/en/download/15622/intel-network-adapter-virtual-function-driver-for-intel-10-gigabit-ethernet-network-connections.html)
然后我跟着网上找的帖子一步步走,就是将文件名换成最新的。
> [Ixgbe驱动安装教程](https://www.cnblogs.com/cnhyk/p/12274482.html)
我现在卡在第二步: 编译Ixgbe驱动中的$ make
```
root@fnOSyang:/home/yangjia/ixgbevf-4.21.25/src# make
/usr/bin/bash: line 1: cc: command not found
/usr/bin/bash: line 1: [: -lt: unary operator expected
/usr/bin/bash: line 1: [: -lt: unary operator expected
make[1]: Entering directory '/usr/src/linux-headers-6.6.38-trim'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (Debian 12.2.0-14) 12.2.0
You are using:
CC [M] /home/yangjia/ixgbevf-4.21.25/src/ixgbevf_main.o
/bin/sh: 1: gcc: not found
make[3]: *** [scripts/Makefile.build:243: /home/yangjia/ixgbevf-4.21.25/src/ixgbevf_main.o] Error 127
make[2]: *** [/usr/src/linux-headers-6.6.38-trim/Makefile:1921: /home/yangjia/ixgbevf-4.21.25/src] Error 2
make[1]: *** [Makefile:234: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.6.38-trim'
make: *** [Makefile:61: default] Error 2
```
这鬼东西我是真看不懂,虽然是学计算机的,但Linux本来就接触不多,网上还没有教程,简直头大。
求大佬看看,到底是哪里出问题了。
我被这东西折腾的道心破碎了!!!
---
又找到一个新的驱动网页和详细说明,不知道和官方的有啥区别
[下载](https://sourceforge.net/projects/e1000/files/ixgbe%20stable/)
[ixgbe Linux* Base Driver for Intel(R) Ethernet Network Connections](https://github.com/intel/ethernet-linux-ixgbe)
[/md]