Results 1 to 9 of 9
I will try with the ipw2200 driver to get my wlan going but first I have to be able to "make menuconfig", I am following a tutorial and from what ...
- 11-06-2006 #1Just Joined!
- Join Date
- Oct 2006
- Location
- Sweden
- Posts
- 53
make menuconfig
I will try with the ipw2200 driver to get my wlan going but first I have to be able to "make menuconfig", I am following a tutorial and from what I understand I have to download and install the source of my kernel
The reason that I did that instead of downloading it the way it's described is because I can't find a source matching my kernel name exact, I have also installed the linux-headers for my kernel.Code:apt-get install linux-source-2.6.17
But now, when I choose this way, I have no idea of how to get "make menuconfig" to work. Anyone who can help me? Am I even close?
- 11-06-2006 #2
What errors are you getting? Do you have libncurses5-dev installed? You have to type 'make menuconfig' in the source directory: /usr/src/linux-xxxxx).
BryanLast edited by bryansmith; 11-06-2006 at 08:20 PM.
Looking for a distro? Look here.
"There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
Queen's University - Arts and Science 2008 (Sociology)
Registered Linux User #386147.
- 11-06-2006 #3Just Joined!
- Join Date
- Oct 2006
- Location
- Sweden
- Posts
- 53
Yes, in terminal
Originally Posted by bryansmith
as I was told to do via the tutorial.Code:apt-get install libncurses5-dev make gcc bin86 libc6-dev kernel-package
What I have done is
this is what is neccesary for the make menuconfig to work, but is there anything else I have to do or from where can I go "make menuconfig"?Code:apt-get install linux-headers-'uname -r' apt-get install linux-source-'uname -r' and apt-get install libncurses5-dev make gcc bin86 libc6-dev kernel-package
"make menuconfig" in /usr/src/linux-headers-'uname -r' I get:
Code:Hajo:/usr/src/linux-headers-2.6.17-2# make menuconfig Makefile:266: /usr/src/linux-headers-2.6.17-2/scripts/Kbuild.include: No such file or directory /bin/sh: line 0: [: -lt: unary operator expected make: *** No rule to make target `/usr/src/linux-headers-2.6.17-2/scripts/Kbuild.include'. Stop.
- 11-06-2006 #4
You should be executing make menuconfig in the source directory, not the headers directory
.
BryanLooking for a distro? Look here.
"There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
Queen's University - Arts and Science 2008 (Sociology)
Registered Linux User #386147.
- 11-06-2006 #5Just Joined!
- Join Date
- Oct 2006
- Location
- Sweden
- Posts
- 53
Damn, I forgot to mention that I did try that.
Originally Posted by bryansmith
Ok, so here is the deal now
"make menuconfig" in /usr/src/ gives me
So something is still not correct but the linux-headers are installed so I don't get the error-message.Code:Hajo:/usr/src/linux-headers-2.6.17-2# make menuconfig Makefile:266: /usr/src/linux-headers-2.6.17-2/scripts/Kbuild.include: No such file or directory /bin/sh: line 0: [: -lt: unary operator expected make: *** No rule to make target `/usr/src/linux-headers-2.6.17-2/scripts/Kbuild.include'. Stop. Hajo:/usr/src/linux-headers-2.6.17-2# cd .. Hajo:/usr/src# make menuconfig make: *** No rule to make target `menuconfig'. Stop.
I'm sorry that I didn't type this in earlier, any other ideas?
If it helps :P
Thank you for answering!Code:Hajo:/usr/src# uname -r 2.6.17-2-686
- 11-06-2006 #6
Okay, I'm confused now. In the code sample you just gave me, it shows you trying to execute make menuconfig in /usr/src/linux-headers-2.6.17-2 - this should be /usr/src/linux-source-2.6.17-2
Now, you say that didn't work. Any ideas where /bin/sh points too? In Ubuntu, it points to /bin/dash which causes problems.
BryanLooking for a distro? Look here.
"There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
Queen's University - Arts and Science 2008 (Sociology)
Registered Linux User #386147.
- 11-06-2006 #7Just Joined!
- Join Date
- Oct 2006
- Location
- Sweden
- Posts
- 53
My bad
Originally Posted by bryansmith 
Ok, here it goes
but from there I shouldn't be able to excecute so that should not be a problem I guess.Code:Hajo:/usr/src# make menuconfig make: *** No rule to make target `menuconfig'. Stop.
I do not have a source map, and in the kbuild map I getCode:Hajo:/usr/src# ls linux-headers-2.6.17-2 linux-kbuild-2.6.17 linux-headers-2.6.17-2-686 linux-source-2.6.17.tar.bz2
The fact that I don't have a source map might mean that the source isn't installed properly? However, that is weird since apt-get install should do it for me.Code:Hajo:/usr/src/linux-kbuild-2.6.17# make menuconfig make: *** No rule to make target `menuconfig'. Stop.
and this should be installed anyway. I am downloading the kernel the way the tutorial is telling me but it's 40 minutes left until it's done so if you have any other ideas you are welcome.Code:Hajo:/usr/src# tar -zxvf linux-source-2.6.17.tar.bz2 gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error exit delayed from previous errors
I'm affraid that I don't know how to get the information about what something points to.Now, you say that didn't work. Any ideas where /bin/sh points too? In Ubuntu, it points to /bin/dash which causes problems.
Bryan
ln or ls -something I guess? Took a fast look through ln --help and ls --help but didn't find anything usefull (not saying that it isn't there, I didn't read every word carefully).
- 11-06-2006 #8Let's see if the source works fine with make menuconfig first. If it doesn't we'll come back to that.
Originally Posted by bnei
BryanLooking for a distro? Look here.
"There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
Queen's University - Arts and Science 2008 (Sociology)
Registered Linux User #386147.
- 11-06-2006 #9Just Joined!
- Join Date
- Oct 2006
- Location
- Sweden
- Posts
- 53
Thank you for your efforts, however, I got the file downloaded now and now I have got make menuconfig to work properly.
Originally Posted by bryansmith
I did apt-get remove on everything that I had and did it with the newly downloaded kernel file instead. Sorry for making you confusing aswell, It's almost midnight here in Sweden so I am tired
Will see what kind of errors that will show next, I'll bet that something will go wrong
Again, thank you!


Reply With Quote
