作者:夕阳何处寻 | 来源:互联网 | 2023-09-11 17:25
linux小白一枚,昨晚刚装好centos,发现不能上网,查了下好像是没装网卡驱动,按照网上教程下载来了e1000-8.0.35.tar.gz,解压后cdsrc/,然后再make,然而出现了下
linux小白一枚,昨晚刚装好centos,发现不能上网,查了下好像是没装网卡驱动,按照网上教程下载来了e1000-8.0.35.tar.gz,解压后cd src/,然后再make,然而出现了下述问题:
1 2 3
| [root@localhost src]# make
/bin/sh: line 0: [: -ge: unary operator expected
Makefile:198: *** *** Aborting the build. *** This driver is not supported on kernel versions older than 2.4.0. Stop. |
gcc装好了的
1
| gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) |
kernel version(不确定是不是这样查)
1 2
| [root@localhost test]# uname -r
3.10.0-514.el7.x86_64 |
请各位大神帮帮忙,小弟在这先谢谢了!