Solved

compiling kernel

Posted on 1997-01-31
1
262 Views
Last Modified: 2013-12-15
I am trying to reconfigure my system.
I have Slackware 96, and am a newbie to linux.
When I type "make config" i get, no rule to target (I need a makefile???)
When I use pkgtool to try to upgrade and install kernel source, nothing happens (Pkgtool will load, but selecting a choice just kicks me to the main menu)
0
Comment
Question by:ddreams
1 Comment
 

Accepted Solution

by:
chrisC earned 100 total points
ID: 1626784
I have recently successfully compiled the kernel source under Slak. 96.  First, in order to use pkgtool, you must either use command line options,  or cd to the exact directory of your cdrom that contains the package you wish to install.  In the case of the kernel source, it may be easier to use setup and select the entire kernel source disk sets.  If you do use pkgtool while in the direc. containing the package, then you can select "install from current directory" and it will not kick you back out to the prompt.  If you use setup, you must first specify the source and target.  Be careful not to let it reformat your linux partition!  If you just answer "no" to that question if it comes up, all will be well.

After installing the kernel source, then compiling should be no problem, unless some other required pieces of the system are missing, like the program development disksets.  Make sure all the include file and libraries are installed for gcc and gxx.  Then to compile, cd to the /usr/src/linux-2.0.0 directory.  Here you should find a README that contains the release notes.  Follow it.  Your make commands should work if you are in this directory.

0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question