LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-16-2007, 08:46 AM   #1
Mithrilhall
Member
 
Registered: Feb 2002
Location: Adamstown, Pitcairn Islands
Distribution: Neon
Posts: 291

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.

Quote:
# 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?

Quote:
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
AlucardZero
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
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
Quote:
include/asm/mspec_def.h:78: warning: 'packed' attribute ignored for field of type 'unsigned char[6]
Quote:
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).


Quote:
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:01 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration