LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 09-29-2004, 07:03 PM   #1
MarleyGPN
Member
 
Registered: Apr 2003
Location: Vail, CO
Posts: 73

Rep: Reputation: 15
kernel compile errors with gcc 3.4.2


Hi,

I installed gcc-3.4.2 a while ago, and now I cant compile my linux kernel. I tried searching the net to find a solution, but I still cant figure out how to fix this. Is there a patch somewhere that I can apply to the kernel to fix this, I searched but couldn't find an active link

Thanks
MarleyGPN

sched.c:213: error: conflicting types for 'reschedule_idle'
sched.c:210: error: previous declaration of 'reschedule_idle' was here
sched.c:213: error: conflicting types for 'reschedule_idle'
sched.c:210: error: previous declaration of 'reschedule_idle' was here
sched.c:371: error: conflicting types for 'wake_up_process'
/usr/src/linux-2.4.27/include/linux/sched.h:603: error: previous declaration of 'wake_up_process' was here
sched.c:371: error: conflicting types for 'wake_up_process'
/usr/src/linux-2.4.27/include/linux/sched.h:603: error: previous declaration of 'wake_up_process' was here
sched.c:409: error: conflicting types for 'schedule_timeout'
/usr/src/linux-2.4.27/include/linux/sched.h:148: error: previous declaration of 'schedule_timeout' was here
sched.c:409: error: conflicting types for 'schedule_timeout'
/usr/src/linux-2.4.27/include/linux/sched.h:148: error: previous declaration of 'schedule_timeout' was here
sched.c:739: error: conflicting types for '__wake_up'
/usr/src/linux-2.4.27/include/linux/sched.h:595: error: previous declaration of '__wake_up' was here
sched.c:739: error: conflicting types for '__wake_up'
/usr/src/linux-2.4.27/include/linux/sched.h:595: error: previous declaration of '__wake_up' was here
sched.c:749: error: conflicting types for '__wake_up_sync'
/usr/src/linux-2.4.27/include/linux/sched.h:596: error: previous declaration of '__wake_up_sync' was here
sched.c:749: error: conflicting types for '__wake_up_sync'
/usr/src/linux-2.4.27/include/linux/sched.h:596: error: previous declaration of '__wake_up_sync' was here
sched.c:759: error: conflicting types for 'complete'
/usr/src/linux-2.4.27/include/linux/completion.h:31: error: previous declaration of 'complete' was here
sched.c:759: error: conflicting types for 'complete'
/usr/src/linux-2.4.27/include/linux/completion.h:31: error: previous declaration of 'complete' was here
sched.c:769: error: conflicting types for 'wait_for_completion'
/usr/src/linux-2.4.27/include/linux/completion.h:30: error: previous declaration of 'wait_for_completion' was here
sched.c:769: error: conflicting types for 'wait_for_completion'
/usr/src/linux-2.4.27/include/linux/completion.h:30: error: previous declaration of 'wait_for_completion' was here
sched.c:804: error: conflicting types for 'interruptible_sleep_on'
/usr/src/linux-2.4.27/include/linux/sched.h:600: error: previous declaration of 'interruptible_sleep_on' was here
sched.c:804: error: conflicting types for 'interruptible_sleep_on'
/usr/src/linux-2.4.27/include/linux/sched.h:600: error: previous declaration of 'interruptible_sleep_on' was here
sched.c:815: error: conflicting types for 'interruptible_sleep_on_timeout'
/usr/src/linux-2.4.27/include/linux/sched.h:601: error: previous declaration of 'interruptible_sleep_on_timeout' was here
sched.c:815: error: conflicting types for 'interruptible_sleep_on_timeout'
/usr/src/linux-2.4.27/include/linux/sched.h:601: error: previous declaration of 'interruptible_sleep_on_timeout' was here
sched.c:828: error: conflicting types for 'sleep_on'
/usr/src/linux-2.4.27/include/linux/sched.h:597: error: previous declaration of 'sleep_on' was here
sched.c:828: error: conflicting types for 'sleep_on'
/usr/src/linux-2.4.27/include/linux/sched.h:597: error: previous declaration of 'sleep_on' was here
sched.c:839: error: conflicting types for 'sleep_on_timeout'
/usr/src/linux-2.4.27/include/linux/sched.h:598: error: previous declaration of 'sleep_on_timeout' was here
sched.c:839: error: conflicting types for 'sleep_on_timeout'
/usr/src/linux-2.4.27/include/linux/sched.h:598: error: previous declaration of 'sleep_on_timeout' was here
sched.c:210: warning: 'reschedule_idle' declared `static' but never defined
make[2]: *** [sched.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.27/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.27/kernel'
make: *** [_dir_kernel] Error 2
 
  


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
Nvu by gcc 4.0 .. compile errors! TokyoYank Linux - Software 0 11-01-2005 02:15 AM
Can you compile the 2.6 kernel with GCC 3.1.1? 2verb Linux - Software 1 07-14-2004 02:48 PM
gcc-3.3.1 compile errors RTT Linux From Scratch 1 02-28-2004 06:53 PM
gcc compile errors ? qwijibow Linux - Newbie 2 07-21-2003 07:20 AM
make and gcc compile errors sedandawk Linux - General 1 12-18-2002 02:56 AM


All times are GMT -5. The time now is 02:51 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration