LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 01-24-2003, 04:28 PM   #1
dontest
LQ Newbie
 
Registered: Jan 2003
Posts: 11

Rep: Reputation: 0
warnings when compiling kernel


Hi,

Is it normal to get compiler warnings while compiling the kernel?

I'm running redhat8.0, and upgrading from 2.4.28 to 2.4.20-2.25
(the rawhide distribution of 2.4.20)

While compiling, I continually get the following warning:

/usr/src/linux-2.4.20-2.25/include/linux/sched.h:559:1: warning: "cpu_online" redefined
/uar/src/linux-2.4.20-2.25/include/linux/smp.h:87:1: warning: this is the location of the previous definition

I'm using the gcc that came with 8.0 (gcc 3.2).

Any thoughts?

Thanks,
Don
 
Old 01-24-2003, 04:49 PM   #2
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
I can't speak to those particular warnings.. but YES.. it is very normal to get warnings when compiling a kernel. Not ERRORS, but WARNINGS.

-KevinJ
 
  


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
kernel compile warnings talkinggoat Linux - Software 1 06-15-2005 08:22 PM
Kernel 2.63 lilo warnings easywebdev Linux - Software 1 11-15-2004 04:52 AM
warnings during compiling modules dzt Programming 9 10-19-2003 08:24 AM
grip compiling warnings cpv204 Slackware 0 04-27-2003 03:51 PM
Warnings and error messages during kernel compile rdaves@earthlink.net Linux - Software 2 09-19-2001 07:45 PM


All times are GMT -5. The time now is 08:44 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