Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 07-16-2007, 08:46 AM   #1
Registered: Feb 2002
Location: Massachusetts
Distribution: Debian (Lenny)
Posts: 286

Rep: Reputation: 30
Question Compiling a kernel - running into some problems

[Debian etch]

I downloaded linux-2.6.15.tar.gz and I'm attempting to compile it.

I extracted the files and issued the following commands.

# make menuconfig
# make-kpkg clean
# make-kpkg --revision=mastershaper.0.1 kernel_image
I keep seeing messages go by that look like this. I think they all are related to netfilter but I'm not sure. Should I be worried about these messages and how can I get rid of them?

include/asm/mspec_def.h:78: warning: 'packed' attribute ignored for field of type 'unsigned char[6]
CC [M] net/ipv6/netfilter/ip6t_owner.o
Old 07-16-2007, 03:53 PM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Why 2.6.15? If you're on Etch you have 2.6.18 already.
Old 07-16-2007, 04:13 PM   #3
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 448

Rep: Reputation: 38
include/asm/mspec_def.h:78: warning: 'packed' attribute ignored for field of type 'unsigned char[6]
Should I be worried about these messages
In short no. Don't worry about them. You will see all kinds of warning messages whenever you compile something, unless the code is absolutely perfect for the compiler being used (rarely happens). If you want a good example try compiling mplayer svn. You see hundreds of warnings, but at the end you will have a working media player (a good one too).

how can I get rid of them?
Open up your favourite editor and fix the offending code yourself

Seriously though, you only have to worry if you see a big fat Errors(as opposed to warnings) that end something like this:

make[2]: *** [something] Error number
make[2]: Leaving directory `somethingdir'
make[1]: *** [something] Error number
make[1]: Leaving directory `somethingdir'
make: *** [something] Error number

Then you know something has gone seriously wrong.


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
Problems with compiling the kernel hardstyleFX SUSE / openSUSE 3 08-13-2006 08:02 AM
Having problems compiling kernel 2.6.16 adityavpratap Slackware 4 05-06-2006 07:12 AM
compiling sata driver for new non-running kernel krazyjase Linux - General 0 01-19-2005 06:19 PM
compiling modules for a running kernel bass Linux - Newbie 3 11-16-2002 04:24 AM
Help compiling and running new kernel please phil1076 Linux - General 15 10-26-2001 01:21 AM > Forums > Linux Forums > Linux - Distributions > Debian

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