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