LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (http://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Belkin Wirless G RTL8185L make[1]: *** No rule to make target `Makefile'. Stop. (http://www.linuxquestions.org/questions/linux-wireless-networking-41/belkin-wirless-g-rtl8185l-make%5B1%5D-%2A%2A%2A-no-rule-to-make-target-%60makefile-stop-527436/)

SilverRock 02-10-2007 07:01 PM

Belkin Wirless G RTL8185L make[1]: *** No rule to make target `Makefile'. Stop.
 
I just recently purchased a Belkin Wireless G Desktop PCI Card with a chipset of RTL8185L

I went online to opendrivers and downloaded the linux files for this chipset. When I run the ./makdriv command I end up with errors as listed below, in a nutshell Im getting this one:


make[1]: Entering directory `/lib/modules/2.6.8-3-386/build'
make[1]: Makefile: No such file or directory
make[1]: *** No rule to make target `Makefile'. Stop.
make[1]: Leaving directory `/lib/modules/2.6.8-3-386/build'
make: *** [modules] Error 2


I have also tried to install the linksys usb11 and another belkin usb wirless device. Im getting the same errors in them as well, am I having problems with my Header files???
Im lost lol



BELLOW IS THE COMPLETE LOG OF THE INSTALL MESSAGES:

debian:~/Desktop/rtl8185/rtl8185_linux_26.1010.0531.2006# ./makedrv
ieee80211/
ieee80211/ieee80211_tx.c
ieee80211/Modules.symvers
ieee80211/ieee80211_softmac_wx.c
ieee80211/LICENSE
ieee80211/ieee80211_rx.c
ieee80211/ieee80211_crypt_tkip.c
ieee80211/ieee80211_crypt.h
ieee80211/ieee80211_crypt_ccmp.c
ieee80211/ieee80211_module.c
ieee80211/Makefile
ieee80211/.tmp_versions/
ieee80211/.tmp_versions/ieee80211_crypt-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_wep-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_tkip-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_ccmp-rtl.mod
ieee80211/.tmp_versions/ieee80211-rtl.mod
ieee80211/ieee80211.h
ieee80211/ieee80211_softmac.c
ieee80211/README
ieee80211/ieee80211_wx.c
ieee80211/ieee80211_crypt_wep.c
ieee80211/ieee80211_crypt.c
rtl818x-0.1/
rtl818x-0.1/r8180_wx.h
rtl818x-0.1/r8180_wx.c
rtl818x-0.1/r8180_rtl8225.h
rtl818x-0.1/r8180_rtl8255.h
rtl818x-0.1/AUTHORS
rtl818x-0.1/r8180_max2820.c
rtl818x-0.1/r8180.h
rtl818x-0.1/r8180_max2820.h
rtl818x-0.1/tags
rtl818x-0.1/r8180_sa2400.h
rtl818x-0.1/r8180_93cx6.c
rtl818x-0.1/ieee80211.h
rtl818x-0.1/r8180_gct.c
rtl818x-0.1/r8180_gct.h
rtl818x-0.1/.r8180_core.o.d
rtl818x-0.1/r8180_rtl8225.c.old
rtl818x-0.1/Modules.symvers
rtl818x-0.1/CHANGES
rtl818x-0.1/LICENSE
rtl818x-0.1/r8180_93cx6.h
rtl818x-0.1/README.master
rtl818x-0.1/r8180_hw.h
rtl818x-0.1/README
rtl818x-0.1/r8180_pm.c
rtl818x-0.1/r8180_sa2400.c
rtl818x-0.1/COPYING
rtl818x-0.1/README.adhoc
rtl818x-0.1/r8180_rtl8225.c
rtl818x-0.1/.tmp_versions/
rtl818x-0.1/.tmp_versions/r8180.mod
rtl818x-0.1/INSTALL
rtl818x-0.1/r8180_rtl8255.c
rtl818x-0.1/r8180_core.c
rtl818x-0.1/r8180_pm.h
rtl818x-0.1/Makefile
rtl818x-0.1/ieee80211_crypt.h
rm -f *.mod.c *.mod *.o .*.cmd *.ko
rm -rf /root/Desktop/rtl8185/rtl8185_linux_26.1010.0531.2006/ieee80211/tmp
make -C /lib/modules/2.6.8-3-386/build M=/root/Desktop/rtl8185/rtl8185_linux_26.1010.0531.2006/ieee80211 CC=gcc modules
make[1]: Entering directory `/lib/modules/2.6.8-3-386/build'
make[1]: Makefile: No such file or directory
make[1]: *** No rule to make target `Makefile'. Stop.
make[1]: Leaving directory `/lib/modules/2.6.8-3-386/build'
make: *** [modules] Error 2
rm -f *.mod.c *.mod *.o .*.cmd *.ko
rm -rf /root/Desktop/rtl8185/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/tmp
make -C /lib/modules/2.6.8-3-386/build M=/root/Desktop/rtl8185/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1 CC=gcc modules
make[1]: Entering directory `/lib/modules/2.6.8-3-386/build'
make[1]: Makefile: No such file or directory
make[1]: *** No rule to make target `Makefile'. Stop.
make[1]: Leaving directory `/lib/modules/2.6.8-3-386/build'
make: *** [modules] Error 2
debian:~/Desktop/rtl8185/rtl8185_linux_26.1010.0531.2006#

kinasz 02-11-2007 06:19 AM

I believe you are missing your kernels header files or they are installed in the wrong place.

Get a copy of your kernels source and put it "/lib/modules/2.6.8-3-386/" then try again.

g/l

SilverRock 02-11-2007 07:25 AM

Quote:

Originally Posted by kinasz
I believe you are missing your kernels header files or they are installed in the wrong place.

Get a copy of your kernels source and put it "/lib/modules/2.6.8-3-386/" then try again.

g/l

Thanks for replying kinasz,
I believe that this may be my problem as well, when I installed this Debian system the kernel headers where not installed. I used debians apt-get program to automatically download the correct header files and apt-get also installed them for me in the directory as you mentioned above. There are allot of files in that directory but I'm not sure if they are correct. Do you perhaps know where I can finds a list of the files that should be in that directory so that I can compare them?


All times are GMT -5. The time now is 09:19 PM.