fedora 14 make install执行错误!
新安装的Fedora 14,没有驱上有线网卡的驱动,从intel 官网上找到相应的驱动后,在安装的时候出现如下的错误提示:
[root@yang src]# ls
80003es2lan.c e1000.h kcompat.c Makefile nvm.c regs.h
80003es2lan.h ethtool.c kcompat_ethtool.c manage.c nvm.h
82571.c hw.h kcompat.h manage.h param.c
82571.h ich8lan.c mac.c Module.supported phy.c
defines.h ich8lan.h mac.h netdev.c phy.h
[root@yang src]# make
Makefile:71: *** Kernel header files not in any of the expected locations.
Makefile:72: *** Install the appropriate kernel development package, e.g.
Makefile:73: *** kernel-devel, for building kernel modules and try again. Stop.
[root@yang src]# make install
Makefile:71: *** Kernel header files not in any of the expected locations.
Makefile:72: *** Install the appropriate kernel development package, e.g.
Makefile:73: *** kernel-devel, for building kernel modules and try again. Stop.
从网上也找了一些资料,说是缺少一个RPM包,但具体没有说明,所以在这里想请遇到过的或者高手给个详细的说明!小弟在这里先谢谢啦!
[root@yang src]# ls
80003es2lan.c e1000.h kcompat.c Makefile nvm.c regs.h
80003es2lan.h ethtool.c kcompat_ethtool.c manage.c nvm.h
82571.c hw.h kcompat.h manage.h param.c
82571.h ich8lan.c mac.c Module.supported phy.c
defines.h ich8lan.h mac.h netdev.c phy.h
[root@yang src]# make
Makefile:71: *** Kernel header files not in any of the expected locations.
Makefile:72: *** Install the appropriate kernel development package, e.g.
Makefile:73: *** kernel-devel, for building kernel modules and try again. Stop.
[root@yang src]# make install
Makefile:71: *** Kernel header files not in any of the expected locations.
Makefile:72: *** Install the appropriate kernel development package, e.g.
Makefile:73: *** kernel-devel, for building kernel modules and try again. Stop.
从网上也找了一些资料,说是缺少一个RPM包,但具体没有说明,所以在这里想请遇到过的或者高手给个详细的说明!小弟在这里先谢谢啦!
作者: yanglabc 发布时间: 2011-03-23
Kernel header files not in any of the expected locations.
这已经说了啊, 没有kernel header包, 先装上再说吧
这已经说了啊, 没有kernel header包, 先装上再说吧
作者: age 发布时间: 2011-03-23
我的笔记本是T60,刚刚装的Fedora 14.通过lspci可以看到网卡设备存在:
[root@yang src]# lspci
……
……
02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
通过lsmod命令也可找看到:
[root@yang src]# lsmod
Module Size Used by
……
e1000e 161755 0
……
但在[root@yang src]# ls /etc/sysconfig/network-scripts/ 下看不到ifcfg-eth0
ifcfg-lo ifdown-ippp ifdown-post ifdown-tunnel ifup-eth ifup-ipx ifup-post ifup-tunnel network-functions
ifdown ifdown-ipsec ifdown-ppp ifup ifup-ippp ifup-isdn ifup-ppp ifup-wireless network-functions-ipv6
ifdown-bnep ifdown-ipv6 ifdown-routes ifup-aliases ifup-ipsec ifup-plip ifup-routes init.ipv6-global
ifdown-eth ifdown-isdn ifdown-sit ifup-bnep ifup-ipv6 ifup-plusb ifup-sit net.hotplug
所以我想通上面的方法安装,结果出现上面的提示。由此我现在产生的问题:
为什么lspci和lsmod都能看到相应的设备和驱动了,但是却找不到网卡?
我这就去装上kernel header包,再试一下。但我真的很奇怪,请高手帮忙为我解惑!
[root@yang src]# lspci
……
……
02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
通过lsmod命令也可找看到:
[root@yang src]# lsmod
Module Size Used by
……
e1000e 161755 0
……
但在[root@yang src]# ls /etc/sysconfig/network-scripts/ 下看不到ifcfg-eth0
ifcfg-lo ifdown-ippp ifdown-post ifdown-tunnel ifup-eth ifup-ipx ifup-post ifup-tunnel network-functions
ifdown ifdown-ipsec ifdown-ppp ifup ifup-ippp ifup-isdn ifup-ppp ifup-wireless network-functions-ipv6
ifdown-bnep ifdown-ipv6 ifdown-routes ifup-aliases ifup-ipsec ifup-plip ifup-routes init.ipv6-global
ifdown-eth ifdown-isdn ifdown-sit ifup-bnep ifup-ipv6 ifup-plusb ifup-sit net.hotplug
所以我想通上面的方法安装,结果出现上面的提示。由此我现在产生的问题:
为什么lspci和lsmod都能看到相应的设备和驱动了,但是却找不到网卡?
我这就去装上kernel header包,再试一下。但我真的很奇怪,请高手帮忙为我解惑!
作者: yanglabc 发布时间: 2011-03-23
也许,不是没有驱动,而是缺少一个让你可以配置网络的图形界面而已。
作者: pallana 发布时间: 2011-03-23
汗,我用的是live cd,没有在光盘里面找到kernel header.哪里可以下安装版的ISO啊?给提供个地址呗!(fedoraproject.org上面只有live cd)
to_pallana:我的无线网卡已经配置起来了。可以正常连接。(通过图界面配置的)有线的图形界面找不到网卡;
to_pallana:我的无线网卡已经配置起来了。可以正常连接。(通过图界面配置的)有线的图形界面找不到网卡;
作者: yanglabc 发布时间: 2011-03-23
用yum啊, 缺的包都可以在线安装
要是用盘的话, 就下dvd
要是用盘的话, 就下dvd
作者: age 发布时间: 2011-03-23
汗,我用的是live cd,没有在光盘里面找到kernel header.哪里可以下安装版的ISO啊?给提供个地址呗!(fedoraproject.org上面只有live cd)
yanglabc 发表于 2011-3-23 14:34
不是吧?要在mirrors选,选哪个版本都行.yanglabc 发表于 2011-3-23 14:34
http://mirrors.fedoraproject.org/publiclist/Fedora/14/
作者: breakbrain 发布时间: 2011-03-23