装到centos6.0,RTL8191无线网卡驱动安装失败?安装驱动也 失败,求指导
[root@localhost rtl_92ce_92se_92de_linux_mac80211_0004.0816.2011]# vi Makefile
[root@localhost rtl_92ce_92se_92de_linux_mac80211_0004.0816.2011]# make
make -C /lib/modules/2.6.32-71.29.1.el6.x86_64/build M=/home/wxr/download/rtl_92ce_92se_92de_linux_mac80211_0004.0816.2011 modules
make: *** /lib/modules/2.6.32-71.29.1.el6.x86_64/build: 没有那个文件或目录。 停止。
make: *** [all] 错误 2
[root@localhost rtl_92ce_92se_92de_linux_mac80211_0004.0816.2011]# uname -r
2.6.32-71.29.1.el6.x86_64
[wxr@localhost 2.6.32-71.29.1.el6.x86_64]$ ls
build modules.dep modules.networking modules.usbmap
extra modules.dep.bin modules.ofmap source
kernel modules.drm modules.order updates
modules.alias modules.ieee1394map modules.pcimap vdso
modules.alias.bin modules.inputmap modules.seriomap weak-updates
modules.block modules.isapnpmap modules.symbols
modules.ccwmap modules.modesetting modules.symbols.bin
[wxr@localhost 2.6.32-71.29.1.el6.x86_64]$ ls -l build
lrwxrwxrwx. 1 root root 50 11月 11 12:38 build -> ../../../usr/src/kernels/2.6.32-71.29.1.el6.x86_64
[wxr@localhost 2.6.32-71.29.1.el6.x86_64]$ ls -l build
lrwxrwxrwx. 1 root root 50 11月 11 12:38 build -> ../../../usr/src/kernels/2.6.32-71.29.1.el6.x86_64
[wxr@localhost 2.6.32-71.29.1.el6.x86_64]$
[wxr@localhost sbin]$ lspci
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)
00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 02)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 06)
00:1c.2 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 (rev 06)
00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 06)
00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 06)
00:1c.5 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 (rev 06)
00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 06)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 06)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
01:00.0 VGA compatible controller: ATI Technologies Inc M92 [Mobility Radeon HD 4500 Series]
01:00.1 Audio device: ATI Technologies Inc RV710/730
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8191SEvB Wireless LAN Controller (rev 10)
09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02)
ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
[wxr@localhost sbin]$
xiaowu787 于 2011-11-16 19:53:53发表:
[i=s] 本帖最后由 xiaowu787 于 2011-11-16 19:58 编辑 [/i]
谢谢版主指点,安装了kernel-headers, kernel-devel。又出现下列错误
[root@localhost rtl_92ce_92se_92de_linux_mac80211_0004.0816.20113]# make
make -C /lib/modules/2.6.32-71.29.1.el6.x86_64/build M=/home/wxr/download/rtl_92ce_92se_92de_linux_mac80211_0004.0816.20113 modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-71.29.1.el6.x86_64'
CC [M] /home/wxr/download/rtl_92ce_92se_92de_linux_mac80211_0004.0816.20113/base.o
/home/wxr/download/rtl_92ce_92se_92de_linux_mac80211_0004.0816.20113/base.c: 在函数‘_rtl_init_mac80211’中:
/home/wxr/download/rtl_92ce_92se_92de_linux_mac80211_0004.0816.20113/base.c:320: 错误:‘IEEE80211_HW_CONNECTION_MONITOR’未声明(在此函数内第一次使用)
/home/wxr/download/rtl_92ce_92se_92de_linux_mac80211_0004.0816.20113/base.c:320: 错误:(即使在一个函数内多次出现,每个未声明的标识符在其
/home/wxr/download/rtl_92ce_92se_92de_linux_mac80211_0004.0816.20113/base.c:320: 错误:所在的函数内也只报告一次。)
/home/wxr/download/rtl_92ce_92se_92de_linux_mac80211_0004.0816.20113/base.c: 在函数‘rtl_watchdog_wq_callback’中:
/home/wxr/download/rtl_92ce_92se_92de_linux_mac80211_0004.0816.20113/base.c:1258: 错误:隐式声明函数‘ieee80211_connection_loss’
make[2]: *** [/home/wxr/download/rtl_92ce_92se_92de_linux_mac80211_0004.0816.20113/base.o] 错误 1
make[1]: *** [_module_/home/wxr/download/rtl_92ce_92se_92de_linux_mac80211_0004.0816.20113] 错误 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-71.29.1.el6.x86_64'
make: *** [all] 错误 2
[root@localhost rtl_92ce_92se_92de_linux_mac80211_0004.0816.20113]#
alick 于 2011-11-12 14:04:36发表:
先安装依赖的软件包: kernel-headers, kernel-devel。
注意版本号和系统内核版本号要一致。
PostCards 于 2011-11-11 14:47:32发表:
帮顶下