LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-07-2005, 05:27 AM   #1
krishvij
Member
 
Registered: Feb 2005
Location: India
Distribution: RHEL 3
Posts: 108

Rep: Reputation: 15
make???


Hi,

I am trying to run the following commands that allows you to customize the kernel :_

make config
make menuconfig
make xconfig

But the problem is that they dont run and i get an error message that says
make: *** No rule to make target `xconfig'
make: *** No rule to make target `config'
make: *** No rule to make target `menuconfig'

Are there any specific packages that need to be installed? Please Help
 
Old 03-07-2005, 05:45 AM   #2
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,

i think you forgot
Code:
cd /usr/src/linux
if this command returns "directory not found", then you need to install the kernel source in your machine.

regards

slackie1000
 
Old 03-07-2005, 06:25 AM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
If yuou are installing a custom kernel change into the directory of the extracted kernel and then run those commands, eg

$cd /usr/src/linux-2.6.11
#make xconfig
 
Old 03-07-2005, 06:58 AM   #4
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
Quote:
Originally posted by reddazz
If yuou are installing a custom kernel change into the directory of the extracted kernel and then run those commands, eg

$cd /usr/src/linux-2.6.11
#make xconfig
reddazz,allow me to comment something here.
i would suggest to use a symlink to linux-2.6.11
Code:
cd /usr/src
ln -s linux-2.6.11 linux
some patches will look direct to /usr/src/linux. if you leave your kenel source somewhere else, or you have the symlink pointing to the wrong kernel, applying a pacth can bring a big mess to the system.

regards

slackie1000
 
Old 03-07-2005, 07:22 AM   #5
krishvij
Member
 
Registered: Feb 2005
Location: India
Distribution: RHEL 3
Posts: 108

Original Poster
Rep: Reputation: 15
Hi Slackie,

u r right. I dont have the kernel source files. Will install those. Thanks
 
Old 03-07-2005, 09:46 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Quote:
Originally posted by slackie1000
reddazz,allow me to comment something here.
i would suggest to use a symlink to linux-2.6.11
Code:
cd /usr/src
ln -s linux-2.6.11 linux
some patches will look direct to /usr/src/linux. if you leave your kenel source somewhere else, or you have the symlink pointing to the wrong kernel, applying a pacth can bring a big mess to the system.

regards

slackie1000
I agree with you and usually do that myself.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
package compiling from source, make & make install concepts shujja Linux - Newbie 2 09-20-2005 12:18 AM
Chap 5 Binutils make LDFLAGS & make install errors shotokan Linux From Scratch 5 04-10-2005 03:01 AM
I accidentally deleted make file in /usr/local/bin, now cannot use make command.... Niceman2005 Linux - Software 2 11-17-2004 07:55 PM
How to make rule for make install and make uninstall melinda_sayang Programming 1 06-14-2004 05:58 AM
make dep,make clean,make bzImage problem Babba Linux - Newbie 2 01-08-2003 03:49 AM


All times are GMT -5. The time now is 04:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration