You are not logged in.
Pages: 1
Hey all, I'm having the exact problem as stated in this thread: http://crunchbanglinux.org/forums/topic … with-make/
I would have responded there but it looks like it's been locked.
I've tried all that's mentioned in that thread, with the same results as the OP. Mine is not a Thinkpad though and I am installing a different wireless usb device (Belkin F7D1101).
Output is as follows:
make: *** /lib/modules/2.6.32-5-686/build: No such file or directory. Stop.
make: *** [modules] Error 2I have minimal experience with linux. Any help would be appreciated.
Last edited by sml (2011-06-27 13:28:57)
Offline
Good for you for trying to build your own driver from source!
One of the general principles of compiling things from source is that if make complains, give it what it's asking for and see what, if anything, it complains about next. This is sometimes called "the cookie principle". If make wants a cookie, give it one. If it wants icing on the cookie, that's likely to be its next complaint.
Try
sudo mkdir /lib/modules/2.6.32-5-686/buildWhat you're doing is called a "build". The directory "build" is a place in which things take place during a build. That may be all you need to do.
Last edited by tranche (2011-06-27 01:36:52)
Offline
Have you installed "build-essential" yet?
/hugged
Offline
@tranche: I gave that a try and certainly it is throwing up a slightly different error, though I am at a loss as what to make of it.
make[1]: Entering directory `/lib/modules/2.6.32-5-686/build'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/lib/modules/2.6.32-5-686/build'
make: *** [modules] Error 2@snowpine: I've tried doing that as instructed in the original thread, it is reporting that I already have the newest version.
Thanks for the fast replies!
Last edited by sml (2011-06-27 01:41:57)
Offline
Make is telling you it wants icing on the cookie.
Google "No rule to make target `modules'". You'll get lots of hits.
Make is probably looking for a missing Makefile with a rule to create something called "modules". It expects to find this file in the build directory. You may have needed to run some program to create that file.
Also make sure that your "kernel headers" are properly installed. Do a search on "linux-headers" in the Synaptic package manager, or run:
apt-get search linux-headersLast edited by tranche (2011-06-27 02:00:58)
Offline
A couple beers and a good nights sleep did me well, I have figured it out.
Apt-get reported my linux-headers to be installed correctly, but Synaptic said otherwise. I installed them, then needed to modify the driver Makefile to point to '/usr/src/linux-headers-2.6.32-5-686' rather than '/lib/modules/$(KVER)/build'.
After a restart, phew, I have wifi.
Thank you for the support, each day I learn a little more.
You'll probably see me lurking around the irc channel soon now that I have stable internet.
Offline
Ok so I know this post is a little old but I am stuck at the point the last person solved it. Very new to Linux. How exactly do I modify the driver Makefile to point to '/usr/src/linux-headers-2.6.32-5-686' rather than '/lib/modules/$(KVER)/build'? I have searched the Makefile pretty thoroughly and I am unable to find a matching phrase. So far I seem to have had the exact same issues as the previous user.
I have been attempting to get the Tenda W311U usb dongle to work with a fresh install Statler.
Any help would most appreciated.
Offline
Welcome to #! jag8s. This thread is very old. Many people will not even look at new posts here because the thread is marked [solved]. You will get better help if you start a new thread (you can point back to this one, but necrobumping this thread is not really the best way to get good help).
If you're not too attached to Statler, I'd install Waldorf. It has a much newer kernel and works with more hardware. You can get it from here: http://crunchbang.org/download/testing
Last edited by pidsley (2012-08-06 03:38:38)
Offline
Thanks
I will try that. I apologize for any forum faux pas I may have committed (Necrobumping?). In the future I will begin a new thread with the necessary pointing.
Offline
Pages: 1
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.