PDA

View Full Version : Can Not Build New R8187 Driver



DeadWolf
07-17-2008, 11:21 AM
I am using BT3 Final, logged in as root and receive this error when trying to build the new drivers;

bt temp # 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 /temp/ieee80211/tmp
make -C /lib/modules/2.6.21.5/build M=/temp/ieee80211 modules
make: *** /lib/modules/2.6.21.5/build: No such file or directory. Stop.
make: *** [modules] Error 2
rm -f *.mod.c *.mod *.o .*.cmd *.ko *~
rm -rf /temp/rtl8187/tmp
make -C /lib/modules/2.6.21.5/build M=/temp/rtl8187 modules
make: *** /lib/modules/2.6.21.5/build: No such file or directory. Stop.
make: *** [modules] Error 2
bt temp #

imported_BaconZombie
07-17-2008, 02:07 PM
You need to download the Kernel Source (http://www.offensive-security.com/kernel.lzm):


I am using BT3 Final, logged in as root and receive this error when trying to build the new drivers;

bt temp # makedrv
ieee80211/
.....
rm -rf /temp/ieee80211/tmp
make -C /lib/modules/2.6.21.5/build M=/temp/ieee80211 modules
make: *** /lib/modules/2.6.21.5/build: No such file or directory. Stop.
make: *** [modules] Error 2
rm -f *.mod.c *.mod *.o .*.cmd *.ko *~
rm -rf /temp/rtl8187/tmp
make -C /lib/modules/2.6.21.5/build M=/temp/rtl8187 modules
make: *** /lib/modules/2.6.21.5/build: No such file or directory. Stop.
make: *** [modules] Error 2
bt temp #