Review your favorite Linux distribution.
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 07-19-2009, 09:52 AM   #1
Registered: Jul 2009
Posts: 46

Rep: Reputation: 1
Error messages at kernel compile on Debian linux (kernel 2.6.26-2-686)

This is about the kernel compile.

When I compiled the linux kernel source with gcc 4.1 on Debian linux (kernel 2.6.26-2-686), there occured a large number of warnings.

such as
include/asm/mpspec_def.h:78:warning: 'packed' attribute ignored for field of type 'unsigned char[6]'
But when I compiled the linux kernel source with gcc 4.1 on Debian linux (kernel 2.6.26-2-686), there occured just a few of warning.
(same configration, same environment)

What do the above error messages mean??

And why do the error messages occur only in the kernel source ?

I would appreciate your answer.
Thank you.

Last edited by corone; 07-19-2009 at 04:31 PM.
Old 07-20-2009, 12:42 AM   #2
LQ Newbie
Registered: Jul 2009
Location: Australia
Distribution: Debian GNU/Linux 6.0 Squeeze
Posts: 27

Rep: Reputation: 16
Sometimes the kernel isn't complied with our versions of GCC and co, they could be older or 'modded' versions. Plus, the kernel source could be have been made on a different platform, and may be no errors there.

If your kernel build works, don't worry about them. It wouldn't hurt anything.


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
Why can't I compile this kernel module? (kernel: 2.6.8-powerpc Debian sarge) Lannix Linux - Hardware 5 05-01-2007 01:29 PM
upgraded kernel, won't let me compile kernel once Suspend2 patches are applied microsoft/linux Linux - Laptop and Netbook 3 10-02-2005 03:37 PM
Kernel Problems. Howto Compile a new kernel from 4.2 with backwards compatibility ? ShoCkwave Linux - General 2 06-19-2004 07:02 AM
Kernel 2.4.23 compile causes kernel panics on ATA RAID-1 (mirror) array Raptor Ramjet Slackware 3 12-18-2003 02:40 PM
I can't believe how impossible it is to upgrade from Kernel 2.2 to 2.4. Linux - Software 3 05-30-2001 11:58 AM

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