安装REALTEK 8187L芯片无线网卡错误,请帮忙

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
lhwxx
帖子: 7
注册时间: 2008-12-25 10:17
送出感谢: 0
接收感谢: 0

安装REALTEK 8187L芯片无线网卡错误,请帮忙

#1

帖子 lhwxx » 2009-03-12 14:36

我是一个新手,刚用Ubuntu,在装网卡的时候,安照文档说明的步骤安装,报错,一直无法安装,请懂的朋友帮忙。

ieee80211/ieee80211_module.c
ieee80211/ieee80211_crypt_ccmp.c
ieee80211/ieee80211_rx.c
ieee80211/tags
ieee80211/ieee80211_crypt_tkip.c
ieee80211/Makefile
ieee80211/readme
ieee80211/.tmp_versions/
ieee80211/.tmp_versions/ieee80211-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_wep-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_tkip-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_ccmp-rtl.mod
ieee80211/ieee80211_crypt_wep.c
ieee80211/ieee80211.h
ieee80211/ieee80211_wx.c
ieee80211/ieee80211_crypt.h
rtl8187/
rtl8187/license
rtl8187/r8180_rtl8225z2.c
rtl8187/r8180_rtl8225.h
rtl8187/r8187_led.c
rtl8187/r8180_93cx6.h
rtl8187/r8180_wx.h
rtl8187/r8180_hw.h
rtl8187/copying
rtl8187/r8187_led.h
rtl8187/r8180_pm.h
rtl8187/tags
rtl8187/r8187.h
rtl8187/Makefile
rtl8187/r8180_rtl8225.c
rtl8187/readme
rtl8187/install
rtl8187/.tmp_versions/
rtl8187/.tmp_versions/r8187.mod
rtl8187/changes
rtl8187/r8180_wx.c
rtl8187/r8180_pm.c
rtl8187/r8187_core.c
rtl8187/r8180_93cx6.c
rtl8187/authors
rtl8187/ieee80211.h
rtl8187/ieee80211_crypt.h
rm -f *.mod.c *.mod *.o .*.cmd *.ko *~
rm -rf /home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/tmp
make -C /lib/modules/2.6.27-13-generic/build M=/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-13-generic'
CC [M] /home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.o
In file included from /home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:17:
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211.h: In function ‘ieee80211_priv’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211.h:1212: warning: ‘netdev_priv’ is static but used in inline function ‘ieee80211_priv’ which is not static
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_scan_wq’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:421: warning: passing argument 2 of ‘queue_delayed_work’ from incompatible pointer type
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_stop_scan’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:495: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_associate_abort’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:915: warning: passing argument 2 of ‘queue_delayed_work’ from incompatible pointer type
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_stop_protocol_rtl’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2120: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2229:78: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_init’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2229: error: ‘INIT_WORK’ undeclared (first use in this function)
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2229: error: (Each undeclared identifier is reported only once
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2229: error: for each function it appears in.)
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2230:88: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2231:94: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2232:96: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2233:82: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2234:82: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_free’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2255: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type
make[2]: *** [/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.o] Error 1
make[1]: *** [_module_/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-13-generic'
make: *** [modules] Error 2
rm -f *.mod.c *.mod *.o .*.cmd *.ko *~
rm -rf /home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/tmp
make -C /lib/modules/2.6.27-13-generic/build M=/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-13-generic'
CC [M] /home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.o
In file included from /home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:64:
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.h:29:26: error: linux/config.h: No such file or directory
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.h:48:27: error: asm/semaphore.h: No such file or directory
In file included from /home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.h:50,
from /home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:64:
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/ieee80211.h: In function ‘ieee80211_priv’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/ieee80211.h:1212: warning: ‘netdev_priv’ is static but used in inline function ‘ieee80211_priv’ which is not static
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function ‘rtl8180_proc_module_init’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:450: error: ‘proc_net’ undeclared (first use in this function)
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:450: error: (Each undeclared identifier is reported only once
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:450: error: for each function it appears in.)
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function ‘rtl8180_proc_module_remove’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:456: error: ‘proc_net’ undeclared (first use in this function)
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function ‘rtl8187_rx_urbsubmit’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:730: warning: passing argument 6 of ‘usb_fill_bulk_urb’ from incompatible pointer type
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function ‘rtl8180_tx’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:1648: warning: passing argument 6 of ‘usb_fill_bulk_urb’ from incompatible pointer type
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2053:64: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function ‘rtl8180_init’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2053: error: ‘INIT_WORK’ undeclared (first use in this function)
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2054:77: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2055:88: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2056:80: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2057:78: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function ‘rtl8187_usb_probe’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2938: error: implicit declaration of function ‘SET_MODULE_OWNER’
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2956: error: ‘struct net_device’ has no member named ‘get_wireless_stats’
make[2]: *** [/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.o] Error 1
make[1]: *** [_module_/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-13-generic'
make: *** [modules] Error 2
vincent@vincent-desktop:~/rtl8187_linux_26.1025.0328.2007$ sudo ./makedrv
[sudo] password for vincent:
Sorry, try again.
[sudo] password for vincent:
ieee80211/
ieee80211/license
ieee80211/ieee80211_crypt.c
ieee80211/ieee80211_tx.c
ieee80211/ieee80211_softmac.c
ieee80211/ieee80211_softmac_wx.c
ieee80211/ieee80211_module.c
ieee80211/ieee80211_crypt_ccmp.c
ieee80211/ieee80211_rx.c
ieee80211/tags
ieee80211/ieee80211_crypt_tkip.c
ieee80211/Makefile
ieee80211/readme
ieee80211/.tmp_versions/
ieee80211/.tmp_versions/ieee80211-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_wep-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_tkip-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_ccmp-rtl.mod
ieee80211/ieee80211_crypt_wep.c
ieee80211/ieee80211.h
ieee80211/ieee80211_wx.c
ieee80211/ieee80211_crypt.h
rtl8187/
rtl8187/license
rtl8187/r8180_rtl8225z2.c
rtl8187/r8180_rtl8225.h
rtl8187/r8187_led.c
rtl8187/r8180_93cx6.h
rtl8187/r8180_wx.h
rtl8187/r8180_hw.h
rtl8187/copying
rtl8187/r8187_led.h
rtl8187/r8180_pm.h
rtl8187/tags
rtl8187/r8187.h
rtl8187/Makefile
rtl8187/r8180_rtl8225.c
rtl8187/readme
rtl8187/install
rtl8187/.tmp_versions/
rtl8187/.tmp_versions/r8187.mod
rtl8187/changes
rtl8187/r8180_wx.c
rtl8187/r8180_pm.c
rtl8187/r8187_core.c
rtl8187/r8180_93cx6.c
rtl8187/authors
rtl8187/ieee80211.h
rtl8187/ieee80211_crypt.h
rm -f *.mod.c *.mod *.o .*.cmd *.ko *~
rm -rf /home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/tmp
make -C /lib/modules/2.6.27-13-generic/build M=/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-13-generic'
CC [M] /home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.o
In file included from /home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:17:
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211.h: In function ‘ieee80211_priv’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211.h:1212: warning: ‘netdev_priv’ is static but used in inline function ‘ieee80211_priv’ which is not static
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_scan_wq’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:421: warning: passing argument 2 of ‘queue_delayed_work’ from incompatible pointer type
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_stop_scan’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:495: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_associate_abort’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:915: warning: passing argument 2 of ‘queue_delayed_work’ from incompatible pointer type
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_stop_protocol_rtl’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2120: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2229:78: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_init’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2229: error: ‘INIT_WORK’ undeclared (first use in this function)
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2229: error: (Each undeclared identifier is reported only once
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2229: error: for each function it appears in.)
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2230:88: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2231:94: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2232:96: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2233:82: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2234:82: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_free’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2255: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type
make[2]: *** [/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.o] Error 1
make[1]: *** [_module_/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-13-generic'
make: *** [modules] Error 2
rm -f *.mod.c *.mod *.o .*.cmd *.ko *~
rm -rf /home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/tmp
make -C /lib/modules/2.6.27-13-generic/build M=/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-13-generic'
CC [M] /home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.o
In file included from /home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:64:
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.h:29:26: error: linux/config.h: No such file or directory
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.h:48:27: error: asm/semaphore.h: No such file or directory
In file included from /home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.h:50,
from /home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:64:
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/ieee80211.h: In function ‘ieee80211_priv’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/ieee80211.h:1212: warning: ‘netdev_priv’ is static but used in inline function ‘ieee80211_priv’ which is not static
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function ‘rtl8180_proc_module_init’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:450: error: ‘proc_net’ undeclared (first use in this function)
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:450: error: (Each undeclared identifier is reported only once
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:450: error: for each function it appears in.)
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function ‘rtl8180_proc_module_remove’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:456: error: ‘proc_net’ undeclared (first use in this function)
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function ‘rtl8187_rx_urbsubmit’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:730: warning: passing argument 6 of ‘usb_fill_bulk_urb’ from incompatible pointer type
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function ‘rtl8180_tx’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:1648: warning: passing argument 6 of ‘usb_fill_bulk_urb’ from incompatible pointer type
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2053:64: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function ‘rtl8180_init’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2053: error: ‘INIT_WORK’ undeclared (first use in this function)
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2054:77: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2055:88: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2056:80: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2057:78: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function ‘rtl8187_usb_probe’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2938: error: implicit declaration of function ‘SET_MODULE_OWNER’
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2956: error: ‘struct net_device’ has no member named ‘get_wireless_stats’
make[2]: *** [/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.o] Error 1
make[1]: *** [_module_/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-13-generic'
make: *** [modules] Error 2
vincent@vincent-desktop:~/rtl8187_linux_26.1025.0328.2007$ clear

vincent@vincent-desktop:~/rtl8187_linux_26.1025.0328.2007$ sudo ./makedrv
ieee80211/
ieee80211/license
ieee80211/ieee80211_crypt.c
ieee80211/ieee80211_tx.c
ieee80211/ieee80211_softmac.c
ieee80211/ieee80211_softmac_wx.c
ieee80211/ieee80211_module.c
ieee80211/ieee80211_crypt_ccmp.c
ieee80211/ieee80211_rx.c
ieee80211/tags
ieee80211/ieee80211_crypt_tkip.c
ieee80211/Makefile
ieee80211/readme
ieee80211/.tmp_versions/
ieee80211/.tmp_versions/ieee80211-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_wep-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_tkip-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_ccmp-rtl.mod
ieee80211/ieee80211_crypt_wep.c
ieee80211/ieee80211.h
ieee80211/ieee80211_wx.c
ieee80211/ieee80211_crypt.h
rtl8187/
rtl8187/license
rtl8187/r8180_rtl8225z2.c
rtl8187/r8180_rtl8225.h
rtl8187/r8187_led.c
rtl8187/r8180_93cx6.h
rtl8187/r8180_wx.h
rtl8187/r8180_hw.h
rtl8187/copying
rtl8187/r8187_led.h
rtl8187/r8180_pm.h
rtl8187/tags
rtl8187/r8187.h
rtl8187/Makefile
rtl8187/r8180_rtl8225.c
rtl8187/readme
rtl8187/install
rtl8187/.tmp_versions/
rtl8187/.tmp_versions/r8187.mod
rtl8187/changes
rtl8187/r8180_wx.c
rtl8187/r8180_pm.c
rtl8187/r8187_core.c
rtl8187/r8180_93cx6.c
rtl8187/authors
rtl8187/ieee80211.h
rtl8187/ieee80211_crypt.h
rm -f *.mod.c *.mod *.o .*.cmd *.ko *~
rm -rf /home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/tmp
make -C /lib/modules/2.6.27-13-generic/build M=/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-13-generic'
CC [M] /home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.o
In file included from /home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:17:
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211.h: In function ‘ieee80211_priv’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211.h:1212: warning: ‘netdev_priv’ is static but used in inline function ‘ieee80211_priv’ which is not static
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_scan_wq’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:421: warning: passing argument 2 of ‘queue_delayed_work’ from incompatible pointer type
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_stop_scan’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:495: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_associate_abort’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:915: warning: passing argument 2 of ‘queue_delayed_work’ from incompatible pointer type
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_stop_protocol_rtl’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2120: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2229:78: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_init’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2229: error: ‘INIT_WORK’ undeclared (first use in this function)
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2229: error: (Each undeclared identifier is reported only once
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2229: error: for each function it appears in.)
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2230:88: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2231:94: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2232:96: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2233:82: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2234:82: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_free’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2255: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type
make[2]: *** [/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.o] Error 1
make[1]: *** [_module_/home/vincent/rtl8187_linux_26.1025.0328.2007/ieee80211] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-13-generic'
make: *** [modules] Error 2
rm -f *.mod.c *.mod *.o .*.cmd *.ko *~
rm -rf /home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/tmp
make -C /lib/modules/2.6.27-13-generic/build M=/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-13-generic'
CC [M] /home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.o
In file included from /home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:64:
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.h:29:26: error: linux/config.h: No such file or directory
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.h:48:27: error: asm/semaphore.h: No such file or directory
In file included from /home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.h:50,
from /home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:64:
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/ieee80211.h: In function ‘ieee80211_priv’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/ieee80211.h:1212: warning: ‘netdev_priv’ is static but used in inline function ‘ieee80211_priv’ which is not static
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function ‘rtl8180_proc_module_init’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:450: error: ‘proc_net’ undeclared (first use in this function)
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:450: error: (Each undeclared identifier is reported only once
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:450: error: for each function it appears in.)
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function ‘rtl8180_proc_module_remove’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:456: error: ‘proc_net’ undeclared (first use in this function)
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function ‘rtl8187_rx_urbsubmit’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:730: warning: passing argument 6 of ‘usb_fill_bulk_urb’ from incompatible pointer type
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function ‘rtl8180_tx’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:1648: warning: passing argument 6 of ‘usb_fill_bulk_urb’ from incompatible pointer type
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2053:64: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function ‘rtl8180_init’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2053: error: ‘INIT_WORK’ undeclared (first use in this function)
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2054:77: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2055:88: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2056:80: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2057:78: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function ‘rtl8187_usb_probe’:
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2938: error: implicit declaration of function ‘SET_MODULE_OWNER’
/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2956: error: ‘struct net_device’ has no member named ‘get_wireless_stats’
make[2]: *** [/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.o] Error 1
make[1]: *** [_module_/home/vincent/rtl8187_linux_26.1025.0328.2007/rtl8187] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-13-generic'
make: *** [modules] Error 2
vincent@vincent-desktop:~/rtl8187_linux_26.1025.0328.2007$
回复

回到 “网卡问题以及网络和拨号”