LinuxQuestions.org
Help answer threads with 0 replies.
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 11-01-2003, 04:59 AM   #1
flipboi
Member
 
Registered: Oct 2003
Location: Manila
Distribution: Fedora Core 2, FreeBSD 5.2.1
Posts: 46

Rep: Reputation: 15
Question Kernel Configurator


I'm attempting to make some configuration changes using Linux Kernel Configurator. One of the changes I'm making is changing the processor from Pentium III/Celeron ... to Athlon/Duron ... which is the processor installed in my computer (Athlon 1800+). Since I'm more comfortable working with a GUI configuration program I've chosen to make the changes in the Linux Kernel Configurator. When doing so (I'm logged in as root),
I get the message to run "make symlinks dep". I will admit that I have no idea what that means, I decided to take a chance and the command, but got the following message.

root localhost root]# make symlinks dep
make: *** No rule to make target `symlinks'. Stop.

I've never seen that message before. Would someone interpret that for me? What steps should I take?

Thanks.
 
Old 11-01-2003, 08:22 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
Can I ask what kernel version you're trying to compile? Also, at what point in the process do you get the "make symlinks dep" warning? I'll admit I've never seen that one either.
 
Old 11-01-2003, 08:33 AM   #3
flipboi
Member
 
Registered: Oct 2003
Location: Manila
Distribution: Fedora Core 2, FreeBSD 5.2.1
Posts: 46

Original Poster
Rep: Reputation: 15
I'm using RH7.3, 2.4.18-3 kernel.
 
Old 11-01-2003, 09:01 AM   #4
.300WSM
Member
 
Registered: Oct 2003
Location: Aus
Distribution: Red Hat 9
Posts: 41

Rep: Reputation: 15
wouldnt u have to be in your kernel dir to run that command???

im learning too
 
Old 11-01-2003, 09:47 AM   #5
bones996
Member
 
Registered: Sep 2003
Location: Pennsylvania
Distribution: Debian Squeeze
Posts: 106

Rep: Reputation: 15
I've used the same program & distro & yes you have to be in the kernel source directory before you can run "make symlinks dep"
 
Old 11-01-2003, 02:50 PM   #6
musrum
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
I _strongly_ suggest you do not use any kernel configuration utility other than those that come as a part of the kernel distibution.

Most people find menuconfig to be easy and fast. Open a console window. then -

cd /usr/src/linux
make symlinks
make mrproper
make menuconfig

When you type the last, you will get a "CHUI" interface to configuring the menu. Just go through each option in turn. Up and down arrows move between options, left and right arrows move between <Select> <Exit> and <Help>. Enter will Select, Exit or Help depending on which is highlighted.

When an option is highlighted, the 'N' key disables, the 'Y' key enables, and the 'M' key enables and builds it as a module.

When you are done with all your options, keep selecting <Exit> and hitting enter till it asks you if you want to save your configuration. Select <Yes> if you are happy, or <No> if not, and hit enter.

For sanities sake DO THE FOLLOWING!

Edit Makefile. At the top of the file you will see four lines, VERSION, PATCHLEVEL, SUBLEVEL and EXTRAVERSION. Set EXTRAVERSION equal to something, like b2 for build 2. Save your edit and exit.

Now continue at the command line:

make dep
make bzImage
make modules
make modules_install

Then copy arch/i386/boot/bzImage to /boot/<somefile>, where <somefile> is replaced by a unique name, such as vmlinuz-4.22.b2
Notice the b2 here matches the b2 that we used for EXTRAVERSION. Why do this? Because this way, if you screw something up, you can roll back to your working version. When you run 'make modules_install' it is going to put your modules in a directory called /lib/modules/V.P.S.E, where V equals VERSION, P equals PATCHLEVEL, S equals SUBLEVEL and E equals EXTRAVERSION. Because you changed EXTRAVERSION your current module directory remains untouched.

Notice that the name of your kernel, the name of the module directory, and the result of 'uname -r' all match up.

Now go ahead and update your grub or lilo and try it out.
 
Old 11-02-2003, 03:51 AM   #7
flipboi
Member
 
Registered: Oct 2003
Location: Manila
Distribution: Fedora Core 2, FreeBSD 5.2.1
Posts: 46

Original Poster
Rep: Reputation: 15
Wow! A very good and detailed answer, musrum. I'll check it out first though...

Thanks.
 
  


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
Network configurator Drunkalot Linux - Software 4 09-24-2004 11:02 PM
Mfg needs Product Configurator johngregor Programming 1 07-19-2004 06:46 PM
[Error] KDE Kernel Configurator DavidMD Linux - Software 0 06-20-2003 07:09 PM
GDM Configurator? hakeem Linux - Newbie 2 11-14-2002 09:21 PM
x Configurator problems pcprgmr Linux - Newbie 5 07-02-2002 06:48 PM


All times are GMT -5. The time now is 08:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration