LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-04-2005, 11:06 AM   #1
bmccorm2
Member
 
Registered: Oct 2005
Distribution: Mandriva 2006
Posts: 67

Rep: Reputation: 15
Kernel Recompile Error


Hi I am a complete Linux newb and I am trying to compile my first kernel. I have read numerous guides and I have followed all the steps up until I issue the command "make zImage" After a lot of output, the terminal eventually displays:

Code:
init/main.c:251:8: warning: extra tokens at end of #endif directive
init/main.c:255:8: warning: extra tokens at end of #endif directive
init/main.c:258:8: warning: extra tokens at end of #endif directive
init/main.c:261:8: warning: extra tokens at end of #endif directive
init/main.c:264:8: warning: extra tokens at end of #endif directive
init/main.c:267:8: warning: extra tokens at end of #endif directive
init/main.c:270:8: warning: extra tokens at end of #endif directive
init/main.c:273:8: warning: extra tokens at end of #endif directive
init/main.c:276:8: warning: extra tokens at end of #endif directive
init/main.c:279:8: warning: extra tokens at end of #endif directive
init/main.c:282:8: warning: extra tokens at end of #endif directive
init/main.c:285:8: warning: extra tokens at end of #endif directive
init/main.c:294:8: warning: extra tokens at end of #endif directive
init/main.c:892:8: warning: extra tokens at end of #endif directive
init/main.c:895:8: warning: extra tokens at end of #endif directive
init/main.c:898:8: warning: extra tokens at end of #endif directive
init/main.c:901:8: warning: extra tokens at end of #endif directive
init/main.c:904:8: warning: extra tokens at end of #endif directive
init/main.c:907:8: warning: extra tokens at end of #endif directive
init/main.c:910:8: warning: extra tokens at end of #endif directive
init/main.c:913:8: warning: extra tokens at end of #endif directive
init/main.c:916:8: warning: extra tokens at end of #endif directive
init/main.c:919:8: warning: extra tokens at end of #endif directive
init/main.c:922:8: warning: extra tokens at end of #endif directive
init/main.c:1637:1: error: mtune=i386: No such file or directory
make: *** [init/main.o] Error 1
[root@localhost linux]#
Does anyone know what is going on here?

Thanks!
 
Old 11-10-2005, 07:40 AM   #2
Simon_6162
Member
 
Registered: Jul 2004
Location: UK
Distribution: Fedora, Gentoo, Redhat Enterprise
Posts: 141

Rep: Reputation: 16
what kernel version are you using? that command is no longer used with 2.6.xx which is probably what is wrong

the simple commands are
make xconfig
make all
make modules_install
make install
reboot

this is the guide i use http://www.mjmwired.net/resources/mjm-kernel-fc4.html
 
  


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
Error executing man after kernel recompile vharishankar Slackware 1 02-18-2005 03:33 AM
kernel 2.6.9 recompile error wnaLinux Slackware 14 12-20-2004 02:41 PM
kernel recompile error (kernel panic) tombaaaaa Linux - Newbie 4 08-04-2004 04:32 PM
Error during kernel recompile. Linux 2.6.0 test3_mm3 Seymour Glass Debian 3 08-29-2003 02:36 AM
recompile kernel error kylnas Linux - General 4 08-15-2003 07:19 PM

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

All times are GMT -5. The time now is 06:55 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration