LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 03: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, 07:22 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
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, 07: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, 08: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, 08: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, 01: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, 02: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:00 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