Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-17-2006, 09:03 PM   #1
Registered: Dec 2005
Posts: 30

Rep: Reputation: 15
compiling kernel 2.6.16-1.2080_FC5-x86_64


I'm trying to compile a 2.6.16 kernel version which is an additional test kernel source. I have fedora core 5.

I run $make gconfig, which loads a default configuration and i save it. Then, I run
[root@localhost linux]# make bzImage
CHK include/linux/version.h
SPLIT include/linux/autoconf.h -> include/config/*
make[1]: *** No rule to make target `init/main.o', needed by `init/built-in.o'. Stop.
make: *** [init] Error 2

If I try the 'make clean', i also get an error.

[root@localhost linux]# make clean && make mrproper
scripts/Makefile.clean:17: /usr/src/kernels/2.6.16-1.2080_FC5-x86_64/drivers/infiniband/ulp/srp/Makefile: No such file or directory
make[3]: *** No rule to make target `/usr/src/kernels/2.6.16-1.2080_FC5-x86_64/drivers/infiniband/ulp/srp/Makefile'. Stop.
make[2]: *** [drivers/infiniband/ulp/srp] Error 2
make[1]: *** [drivers/infiniband] Error 2
make: *** [_clean_drivers] Error 2

I intalled the kernel source using $yum install devel... i read that FC5 may not install all needed for compiling kernel, but only to load modules.. or something like that..

I running these commands from /usr/src/linux
which is a link to /usr/src/kernel/kernel_version_number

drwxr-xr-x 3 root root 4096 Apr 17 20:22 kernels
lrwxrwxrwx 1 root root 42 Apr 17 20:23 linux -> /usr/src/kernels/2.6.16-1.2080_FC5-x86_64/
drwxr-xr-x 7 root root 4096 Mar 27 23:00 redhat

Any idea?

Old 05-18-2006, 11:01 PM   #2
Simon Bridge
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
yum install devel will only install the headers. You want the source code.

Your best bet for understanding is to install a gui for yum, like yumex. Then you can search and browse the package lists. Also see > resources which includes how to install the source code.
Obtaining Kernel Source through 'yum'

There are yum utilities which will download the LATEST kernel source.

[root@charon fc5]# yum install yum-utils
[root@charon fc5]# yumdownloader --source kernel

Last edited by Simon Bridge; 05-18-2006 at 11:03 PM.


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
question regarding nvidia driver for kernel 2.6.16_1.2080_FC5 cooljed Linux - Hardware 5 04-06-2006 03:12 AM
Compiling x86_64 kernel michaelsanford Linux - General 4 04-28-2005 11:59 AM
compiling kdemultimedia-3.4.0 x86_64 Fedora Core 3 depeche83 Linux - Software 1 04-16-2005 04:15 PM
Problems compiling gift for x86_64 mmc SUSE / openSUSE 0 01-13-2005 05:20 PM
Compiling Samba in Fedora x86_64 dwmorton Linux - Newbie 2 05-04-2004 11:13 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:05 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration