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 02-07-2005, 06:17 PM   #1
Guvvy
Member
 
Registered: Feb 2002
Location: Central Oregon
Distribution: Debian 3.0 - "Woody"
Posts: 39

Rep: Reputation: 15
Running a kernel compile for first time


I have my source <kernel-source-2.2.20> in a directory: /usr/src/linux-2.2.20
and in that directory I run: "make-kpkg clean"

It comes back to me with the following message:

"We do not seem to be in a top level linux kernel source directory tree. Since we are trying to make a kernel package, that does not make sense. Please change directory to a top level linux source directory, and try again. (If I am wrong, and this is indeed a top level linux source directory. then I have gotten sadly out of date with current kernels, and you should upgrade kernel-package)

Note: My kernel is currently <linux 2.2.20>

Would someone tell me exactly what I need to do?

Thanks
 
Old 02-07-2005, 07:44 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

Rep: Reputation: Disabled
Can't tell you what exactly you have to do, I never know it myself
But I have an idea... do you have a symlink /usr/src/linux pointing to your linux-2.2.20 directory?
 
Old 02-07-2005, 07:48 PM   #3
Ace07
Member
 
Registered: Feb 2005
Distribution: Fedora Core 3 (2.6.10_1.741)
Posts: 72

Rep: Reputation: 15
Quote:
Originally posted by Emerson
Can't tell you what exactly you have to do, I never know it myself
But I have an idea... do you have a symlink /usr/src/linux pointing to your linux-2.2.20 directory?
Haha, I just realized what those symlinks were for. Hopefully this will fix his problem....
 
Old 02-07-2005, 09:42 PM   #4
Guvvy
Member
 
Registered: Feb 2002
Location: Central Oregon
Distribution: Debian 3.0 - "Woody"
Posts: 39

Original Poster
Rep: Reputation: 15
That did it

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
kernel compile time and boot time lordofring Programming 1 11-13-2005 02:04 AM
How to safely reduce kernel compile time? rollo Linux - General 5 10-21-2005 02:03 PM
First time Kernel compile - Problem. the_rydster Slackware 11 02-27-2004 04:48 AM
kernel 2.6.3 compile time and tgz newinlinux Slackware - Installation 2 02-19-2004 09:32 PM
First-time kernel compile woes... redkazan Slackware 6 01-09-2004 01:13 PM

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

All times are GMT -5. The time now is 09:24 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
Open Source Consulting | Domain Registration