Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 01-24-2003, 04:28 PM   #1
LQ Newbie
Registered: Jan 2003
Posts: 11

Rep: Reputation: 0
warnings when compiling kernel


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?

Old 01-24-2003, 04:49 PM   #2
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.



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 Linux - Software 2 09-19-2001 07:45 PM

All times are GMT -5. The time now is 03:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration