LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-16-2006, 12:35 AM   #1
sleekmason
Member
 
Registered: Mar 2006
Distribution: Lilidog!
Posts: 347

Rep: Reputation: 33
when I type make xconfig I am told: No rule to make target `xconfig'


so, Im trying to learn how to configure my kernel. I dont know how so I am looking up old posts to get ideas. one of them said to type make xconfig in a terminal window. Doesnt work. all I get is the error:No rule to make target `xconfig. What do I do? (in KDE)
 
Old 04-16-2006, 12:50 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
"make xconfig" is used for building or rebuilding kernels. You need to be in the directory that contains the source code of the kernel when running those commands. What exactly are you trying to achieve? If you give more details of your intentions, you may get accurate responses.
 
Old 04-16-2006, 01:09 AM   #3
sleekmason
Member
 
Registered: Mar 2006
Distribution: Lilidog!
Posts: 347

Original Poster
Rep: Reputation: 33
I'm attepting to learn everthing I can about linux. I figured a good crash course would be to rebuild my kernel(yes I know I'm playing with fire), so I found a couple of guides(both outdated) and was attempting to follow them, but basically I am just trying to find a starting point. One of the reasons I am doing this is because 3d wont work on my ATI rage 128 card, Have another post on this with no responses, but probably because I didn't specify very well what the problem was. But, on to of all that I just really like figuring out new things!
 
Old 04-16-2006, 01:25 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
If you have the kernel source installed, you can start with "make cloneconfig" to copy the contents of your current
/proc/config.gz to .config in the source tree. There is also documentation in the kernel source itself on what to do, as well as a section in the SuSE Administrators Manual.

Make sure that the kernel-docs package is installed also. It contains the kernel hackers guide. "man 9 <topic>".
You can view a manpage for a particular device then, to determine whether you need it or not.

I would recommend reading the documentation that comes with linux. For example the bashref manual, and the manual for core-utils to learn more about using linux. For the most helpful ones, I install the source rpm, apply the patches, and in the /usr/src/packages/BUILD/<package>/ subdirectory, I do a "make ps" to produce nice looking, print worthy documentaton for packages such as sed, coreutils, bash, etal.

Last edited by jschiwal; 04-16-2006 at 01:30 AM.
 
Old 04-16-2006, 02:54 AM   #5
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 666

Rep: Reputation: 68
Linux does not have 'cloneconfig' target. May be 'oldconfig'?
 
Old 04-16-2006, 10:57 PM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I guess you are right
Make cloneconfig is the same as:

zcat /proc/config.gz >.config
make oldconfig
 
Old 04-17-2006, 09:26 PM   #7
sleekmason
Member
 
Registered: Mar 2006
Distribution: Lilidog!
Posts: 347

Original Poster
Rep: Reputation: 33
Well, I've been doing some studying and have made the file .config (wasn't there already) in /usr/src/linux-2.6.13-15.8 And I think I have found the file I am supposed to copy to .config at /usr/src/linux-2.6.13-15.8/arch/i386 . Called defconfig.
Now, I tried to copy the file by right clicking on 'copy to' - and then finding .config . . , but the file will not copy. I'm making the assumption that I probably have to be root, which probably means being in a terminal, and I have no idea how to copy 'defconfig' to .config.in terminal. So . . .
1. Is what I am doing to make this work even correct?
2. can somebody walk me through copying the file? (i.e, where do I have to be in order to start this, and just what do I type?).
 
Old 04-18-2006, 12:21 AM   #8
sleekmason
Member
 
Registered: Mar 2006
Distribution: Lilidog!
Posts: 347

Original Poster
Rep: Reputation: 33
Ok, Is this the right way to do this? I'm getting an error message so I'm obviously doing something wrong, but what? All I get is this 'omitting directory .config' What does that mean?



sleekmason@linux:~> su -
Password:
linux:~ # cd /usr/src/linux-2.6.13-15.8
linux:/usr/src/linux-2.6.13-15.8 # cp .config /arch/i386/defconfig
cp: omitting directory `.config'
 
  


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
make: *** No rule to make target `mrproper'. Stop. dauphinfay Linux - General 7 11-24-2014 08:35 AM
make xconfig, xconfig with weird words pakkua80 Fedora - Installation 3 11-17-2004 07:19 AM
lopster v1.2.2 make error: No rule to make target `m4/glibc21.m4' Kropotkin Fedora 0 10-31-2004 12:19 PM
make: *** No rule to make target 'gconfig'. Stop. cswake Slackware 4 10-10-2004 01:13 PM
make: **** No rule to make target 'bzImage tsw Slackware 18 06-26-2004 09:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:55 PM.

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
Open Source Consulting | Domain Registration