LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Compiling a kernel - running into some problems (https://www.linuxquestions.org/questions/debian-26/compiling-a-kernel-running-into-some-problems-569783/)

Mithrilhall 07-16-2007 08:46 AM

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

AlucardZero 07-16-2007 03:53 PM

Why 2.6.15? If you're on Etch you have 2.6.18 already.

Daws 07-16-2007 04:13 PM

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.


All times are GMT -5. The time now is 06:22 AM.