Fedora Linux Support Community & Resources Center
  #1  
Old 10th April 2007, 08:08 AM
ammad Offline
Registered User
 
Join Date: Nov 2005
Posts: 11
Kernel Compilation

i am using FC6, i want to compile kernel, i compiled kernel in redhat 9. i was simple,

in fc6.

# cd /usr/src/kernels/2.6.18-1.2798.fc6-i586
# make menuconfig
# make bzImage

CHK include/linux/version.h
CHK include/linux/utsrelease.h
make[1]: *** No rule to make target `init/main.o', needed by `init/built-in.o'. Stop.
make: *** [init] Error 2
#

whats going on ?

so dowloaded from ftp.kernel.org linux-2.6.8.tar.gz
#mv linux-2.6.8.tar.gz /usr/src/
# tar xzvf linux-2.6.8.tar.gz
#cd linux-2.6.8
#make menuconfig

HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/split-include
HOSTCC scripts/basic/docproc
SHIPPED scripts/kconfig/zconf.tab.h
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/mconf.o
scripts/kconfig/mconf.c:91: error: static declaration of ‘current_menu’ follows non-static declaration
scripts/kconfig/lkc.h:63: error: previous declaration of ‘current_menu’ was here
make[1]: *** [scripts/kconfig/mconf.o] Error 1
make: *** [menuconfig] Error 2


Any one know about these errors.
Reply With Quote
  #2  
Old 10th April 2007, 08:55 AM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,075
The command sequence for kernel compilation has changed from Linux 2.4 used in RHL9. Use plain "make" instead of "make bzImage". Read the section "Preparing for Kernel Development" from the Release Notes for instructions for building the Fedora kernel.
Reply With Quote
Reply

Tags
compilation, kernel

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Compilation? awaisclub Using Fedora 6 7th May 2009 12:55 PM
Kernel-2.6.27.7-130 Compilation Help uncholowapo Using Fedora 2 29th November 2008 10:24 PM
kernel compilation ?'s scoon Using Fedora 3 16th April 2005 05:44 PM
how and why ?... kernel compilation linux juggler Using Fedora 2 16th February 2005 06:55 PM


Current GMT-time: 22:33 (Saturday, 19-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat