LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-19-2008, 10:14 AM   #1
bjharker
LQ Newbie
 
Registered: Jan 2006
Distribution: Fedora 8 & 11, CentOS 5, Debian Etch, Slackware 12.2
Posts: 26

Rep: Reputation: 15
cannot re-compile fedora8 distribution kernel


Hi all-

I am running Fedora 8 on an HP dv2715nr laptop, but I'd like to cut out some of the kernel bloat and re-compile for a leaner system. I would preferably like to keep the distribution kernel (2.6.25.14-69.fc8), because I hate having to install the nvidia drivers by hand, and I know the nvidia-kmod supplied by my package manager works. I copy the proper directory from /usr/src/kernels to /home/me/linux, and I can re-configure the kernel properly, but when I run make (as root), I get the following error:

make[1]: *** No rule to make target 'missing-syscalls'. Stop.
make: *** [prepare0] error 2

I have the proper kernel sources and headers installed from the 'dev' repo in the package manager. Is it not possible to re-compile a distribution kernel? Any ideas? Thanks in advance for your input!

Cheers!
 
Old 09-19-2008, 08:54 PM   #2
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
Just curious - what is it that you consider "kernel bloat" ?

If you copy things to your home directory, you should make sure you own all the files (make sure you set the permissions to 'me:me' on all the files, assuming 'me' is your username). And you only need root to do the install, not the compile.

It is possible, but perhaps you are making a mistake somewhere?
Follow the link listed below and from there see if you still have problems:
http://fedoraproject.org/wiki/Docs/CustomKernel

Also, I hope you know that you do not have to always install the nvidia driver by hand. You can use 'akmod' which will dynamically recreate the nvidia driver (kmod-nvidia) everytime a new kernel RPM is installed:
# yum install akmod-nvidia

Also, there is a small possibility that if you deviate too much from the Fedora kernel that the kmod-nvidia you have may not work. Since it is compiled for the Fedora default kernel, not *your* modified kernel. Although you can always recompile the kmod-nvidia from source against your new kernel as well.
 
  


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
[Compile kernel] How to compile/install the modules ? frenchn00b Linux - General 1 09-06-2009 03:18 PM
Compile Wine to be distribution independent ? Dark Carnival Linux - Software 0 11-28-2007 04:38 AM
Any distribution with 2.6.17 kernel? Shioni Linux - Distributions 7 07-22-2006 01:52 AM
installing 2.4 kernel with a 2.6 distribution silex_88 Linux - Software 6 12-12-2005 09:26 PM
Does any distribution come with an original 2.6.x kernel? ghow961 Linux - Distributions 3 03-20-2004 09:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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