[root@localhost rtl8187_linux_26.1010.0622.2006]# sh makedrv ieee80211/ ieee80211/.tmp_versions/ ieee80211/.tmp_versions/ieee80211-rtl.mod ieee80211/.tmp_versions/ieee80211_crypt-rtl.mod ieee80211/.tmp_versions/ieee80211_crypt_ccmp-rtl.mod ieee80211/.tmp_versions/ieee80211_crypt_tkip-rtl.mod ieee80211/.tmp_versions/ieee80211_crypt_wep-rtl.mod ieee80211/ieee80211.h ieee80211/ieee80211_crypt.c ieee80211/ieee80211_crypt.h ieee80211/ieee80211_crypt_ccmp.c ieee80211/ieee80211_crypt_tkip.c ieee80211/ieee80211_crypt_wep.c ieee80211/ieee80211_module.c ieee80211/ieee80211_rx.c ieee80211/ieee80211_softmac.c ieee80211/ieee80211_softmac_wx.c ieee80211/ieee80211_tx.c ieee80211/ieee80211_wx.c ieee80211/license ieee80211/Makefile ieee80211/Modules.symvers ieee80211/readme beta-8187/ beta-8187/r8180_hw.h beta-8187/r8187.h~ beta-8187/r8180_rtl8225.h beta-8187/license beta-8187/.tmp_versions/ beta-8187/.tmp_versions/r8187.mod beta-8187/Makefile beta-8187/r8180_93cx6.c beta-8187/tags beta-8187/authors beta-8187/r8187_core.c~ beta-8187/r8180_pm.h beta-8187/r8180_rtl8225.c beta-8187/copying beta-8187/r8180_wx.h beta-8187/Modules.symvers beta-8187/r8180_rtl8225z2.c beta-8187/readme beta-8187/r8187_core.c beta-8187/ieee80211.h beta-8187/r8180_93cx6.h beta-8187/changes beta-8187/r8187.h beta-8187/r8180_pm.c beta-8187/install beta-8187/ieee80211_crypt.h beta-8187/r8180_wx.c rm -f *.mod.c *.mod *.o .*.cmd *.ko rm -rf /root/rtl8187_linux_26.1010.0622.2006/ieee80211/tmp make -C /lib/modules/2.6.20-1.2948.fc6/build M=/root/rtl8187_linux_26.1010.0622.2006/ieee80211 modules make[1]: Entering directory `/usr/src/kernels/2.6.20-1.2948.fc6-i686' CC [M] /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.o /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_scan_wq’: /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c:391: warning: ISO C90 forbids mixed declarations and code /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c:412: warning: passing argument 2 of ‘queue_delayed_work’ from incompatible pointer type /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_stop_scan’: /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c:486: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_associate_abort’: /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c:885: warning: passing argument 2 of ‘queue_delayed_work’ from incompatible pointer type /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c:1360:4: warning: #warning CHECK_LOCK_HERE /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c:1400:2: warning: #warning CHECK_LOCK_HERE /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_rx_frame_softmac’: /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c:1471: warning: ISO C90 forbids mixed declarations and code /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_stop_protocol’: /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c:2060: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c:2168:78: error: macro "INIT_WORK" passed 3 arguments, but takes just 2 /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_init’: /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c:2168: error: ‘INIT_WORK’ undeclared (first use in this function) /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c:2168: error: (Each undeclared identifier is reported only once /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c:2168: error: for each function it appears in.) /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c:2169:88: error: macro "INIT_WORK" passed 3 arguments, but takes just 2 /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c:2170:94: error: macro "INIT_WORK" passed 3 arguments, but takes just 2 /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c:2171:96: error: macro "INIT_WORK" passed 3 arguments, but takes just 2 /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c:2172:82: error: macro "INIT_WORK" passed 3 arguments, but takes just 2 /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c:2173:82: error: macro "INIT_WORK" passed 3 arguments, but takes just 2 /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_free’: /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c:2192: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type make[2]: *** [/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.o] Error 1 make[1]: *** [_module_/root/rtl8187_linux_26.1010.0622.2006/ieee80211] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.20-1.2948.fc6-i686' make: *** [modules] Error 2 rm -f *.mod.c *.mod *.o .*.cmd *.ko rm -rf /root/rtl8187_linux_26.1010.0622.2006/beta-8187/tmp make -C /lib/modules/2.6.20-1.2948.fc6/build M=/root/rtl8187_linux_26.1010.0622.2006/beta-8187 modules make[1]: Entering directory `/usr/src/kernels/2.6.20-1.2948.fc6-i686' CC [M] /root/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187_core.o /root/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187_core.c: In function ‘rtl8187_rx_urbsubmit’: /root/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187_core.c:700: warning: passing argument 6 of ‘usb_fill_bulk_urb’ from incompatible pointer type /root/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187_core.c: In function ‘rtl8180_tx’: /root/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187_core.c:1428: warning: passing argument 6 of ‘usb_fill_bulk_urb’ from incompatible pointer type /root/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187_core.c:1625:64: error: macro "INIT_WORK" passed 3 arguments, but takes just 2 /root/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187_core.c: In function ‘rtl8180_init’: /root/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187_core.c:1625: error: ‘INIT_WORK’ undeclared (first use in this function) /root/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187_core.c:1625: error: (Each undeclared identifier is reported only once /root/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187_core.c:1625: error: for each function it appears in.) /root/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187_core.c: In function ‘rtl8180_ioctl’: /root/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187_core.c:2298: warning: ISO C90 forbids mixed declarations and code /root/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187_core.c: In function ‘rtl8187_usb_probe’: /root/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187_core.c:2421: error: ‘struct net_device’ has no member named ‘get_wireless_stats’ make[2]: *** [/root/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187_core.o] Error 1 make[1]: *** [_module_/root/rtl8187_linux_26.1010.0622.2006/beta-8187] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.20-1.2948.fc6-i686' make: *** [modules] Error 2