LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-31-2004, 07:46 AM   #1
solitarygod
LQ Newbie
 
Registered: May 2004
Posts: 2

Rep: Reputation: 0
Unhappy Error in compiling kernel


My linux is Redhat Linux 9 , kernel 2.4.20

I met an error while updating kernel to version 2.4.4.

/download/Kernel/linux/include/linux/sched.h:540: previous declaration of `xtime'
make[2]: *** [timer.o] Error 1
make[2]: Leaving directory `/download/Kernel/linux/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/download/Kernel/linux/kernel'
make: *** [_dir_kernel] Error 2

Can somebody help me ?
 
Old 05-31-2004, 09:27 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
2.4.4?? somehow i doubt you're actually doing that version...

I'd assume you've been recompiling things and changing the config. this does make things a bit messy, so the best plan is normally to back up the .config file to a safe place, run "make mrproper" and replace the .config and go again. this will clear all the previously built modules and objects that might be causing this. compiling from totally clean should fix it.
 
Old 06-03-2004, 12:29 AM   #3
solitarygod
LQ Newbie
 
Registered: May 2004
Posts: 2

Original Poster
Rep: Reputation: 0
thanks

Thank you for your help.

I'll have a try.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error compiling kernel. Royle Debian 8 08-25-2005 03:42 PM
Error compiling the kernel Hungry ghost Fedora 4 04-27-2005 11:15 AM
Error Compiling Kernel kurin Linux - Software 1 12-01-2004 05:08 PM
kernel compiling error draker Linux - Newbie 0 08-19-2003 01:05 AM
kernel compiling error johncla Linux - General 0 05-28-2001 07:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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