LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 03-07-2003, 10:05 AM   #1
Q*Bert
Member
 
Registered: Feb 2003
Location: Birmingham, UK
Distribution: Redhat 8.0, Immunix 7.0 a few others
Posts: 222

Rep: Reputation: 30
Recompiling kernel : warning messages - why?


I get messages like these when I recompile my kernel:

Code:
i810_dma.c:531: warning: concatenation of string literals with __FUNCTION__ is deprecated
i810_dma.c:533: warning: concatenation of string literals with __FUNCTION__ is deprecated
i810_dma.c:534: warning: concatenation of string literals with __FUNCTION__ is deprecated
i810_dma.c:536: warning: concatenation of string literals with __FUNCTION__ is deprecated
i810_dma.c:537: warning: concatenation of string literals with __FUNCTION__ is deprecated
i810_dma.c:545: warning: concatenation of string literals with __FUNCTION__ is deprecated
i810_dma.c:551: warning: concatenation of string literals with __FUNCTION__ is deprecated
i810_dma.c:553: warning: concatenation of string literals with __FUNCTION__ is deprecated
Later:
Code:
usr/src/linux-2.4.18-26.8.0/include/linux/modules/suspend.ver:2:1: warning: this is the location of the previous definition
And:
Code:
{standard input}:1198: Warning: indirect lcall without `*'
{standard input}:1280: Warning: indirect lcall without `*'
{standard input}:1295: Warning: indirect lcall without `*'
I'm not interested in what these particular messages mean (actually I don't care), and I know they're only warnings, but why they happen. I'm guessing three possibilities:

1. The sections of code are old but just haven't been taken out.
2. The sections of code are current but not matched to my hardware (and perhaps that section of code shouldn't be compiled at all!).
3. The gcc messages are just progress markers for Mr. Cox and Mr. Torvalds, and are not actually warnings.

Any ideas?

Q*Bert
 
Old 03-07-2003, 10:14 AM   #2
Palin
Member
 
Registered: Feb 2003
Location: A Meatlocker, well feels like one
Distribution: Gentoo
Posts: 292

Rep: Reputation: 30
which version of gcc are you compiling with if its a version 3 or above I think this is what causes the errors.
 
Old 03-07-2003, 12:44 PM   #3
Q*Bert
Member
 
Registered: Feb 2003
Location: Birmingham, UK
Distribution: Redhat 8.0, Immunix 7.0 a few others
Posts: 222

Original Poster
Rep: Reputation: 30
They've always appeared, even when I used gcc2.9*.
 
Old 03-07-2003, 01:34 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,536

Rep: Reputation: 148Reputation: 148
In longer projects there are always pieces of code which are not 100% clean. When a programmer know why warnings appears and accepts it, everything's OK. Plus there might be old code accepted by prevous versions of gcc (<2.9).
 
  


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
Daily warning messages - why not emailed? kalahari875 Mandriva 3 01-23-2005 06:52 AM
strange error messages when recompiling kernel. levicc00123 Slackware 8 12-21-2004 11:00 PM
Nautilus warning messages !! DipeshKhakhkhar Linux - Software 1 11-18-2004 11:14 AM
Mimedefang warning messages sloop Linux - Software 0 11-15-2004 09:11 PM
suppress warning messages h/w Programming 2 10-07-2003 02:56 PM


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

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