> From: [EMAIL PROTECTED]
>
> On 12/19/06, Joel Osburn <[EMAIL PROTECTED]> wrote:
> > I have an Opteron 242 system, to which I recently added a
> second processor and some more memory. I figured that to
> take advantage of that processor, all I needed to do was
> recompile to kernel, reboot, and set "-j3" in the make.conf file.
> >
> > However, there must be something else, since when I try to
> compile the kernel with smp, I get a whole bunch of errors
> like this when I run "make":
>
> <snip>
>
> Everything you posted is just a warning, and should not cause
> the kernel build to fail.
>
> > So no normal end to the compile.
>
> If the compile really is failing, it probably isn't due to
> the warnings you posted above. Try posting the last dozen or
> so messages you get from the build.
>
> -Richard
> --
I'm accustomed to a kernel build ending with information regarding kernel image
size. This build ends with:
In file included from include/asm/mpspec.h:5,
from include/asm/smp.h:18,
from include/linux/smp.h:19,
from include/linux/sched.h:26,
from include/linux/module.h:10,
from drivers/message/i2o/i2o_bus.mod.c:1:
include/asm/mpspec_def.h:78: warning: 'packed' attribute ignored for field of
type 'unsigned char[5u]'
LD [M] drivers/message/i2o/i2o_bus.ko
CC drivers/message/i2o/i2o_config.mod.o
In file included from include/asm/mpspec.h:5,
from include/asm/smp.h:18,
from include/linux/smp.h:19,
from include/linux/sched.h:26,
from include/linux/module.h:10,
from drivers/message/i2o/i2o_config.mod.c:1:
include/asm/mpspec_def.h:78: warning: 'packed' attribute ignored for field of
type 'unsigned char[5u]'
LD [M] drivers/message/i2o/i2o_config.ko
CC drivers/message/i2o/i2o_core.mod.o
In file included from include/asm/mpspec.h:5,
from include/asm/smp.h:18,
from include/linux/smp.h:19,
from include/linux/sched.h:26,
from include/linux/module.h:10,
from drivers/message/i2o/i2o_core.mod.c:1:
include/asm/mpspec_def.h:78: warning: 'packed' attribute ignored for field of
type 'unsigned char[5u]'
LD [M] drivers/message/i2o/i2o_core.ko
CC drivers/message/i2o/i2o_proc.mod.o
In file included from include/asm/mpspec.h:5,
from include/asm/smp.h:18,
from include/linux/smp.h:19,
from include/linux/sched.h:26,
from include/linux/module.h:10,
from drivers/message/i2o/i2o_proc.mod.c:1:
include/asm/mpspec_def.h:78: warning: 'packed' attribute ignored for field of
type 'unsigned char[5u]'
LD [M] drivers/message/i2o/i2o_proc.ko
CC drivers/message/i2o/i2o_scsi.mod.o
In file included from include/asm/mpspec.h:5,
from include/asm/smp.h:18,
from include/linux/smp.h:19,
from include/linux/sched.h:26,
from include/linux/module.h:10,
from drivers/message/i2o/i2o_scsi.mod.c:1:
include/asm/mpspec_def.h:78: warning: 'packed' attribute ignored for field of
type 'unsigned char[5u]'
LD [M] drivers/message/i2o/i2o_scsi.ko
CC drivers/net/dummy.mod.o
In file included from include/asm/mpspec.h:5,
from include/asm/smp.h:18,
from include/linux/smp.h:19,
from include/linux/sched.h:26,
from include/linux/module.h:10,
from drivers/net/dummy.mod.c:1:
include/asm/mpspec_def.h:78: warning: 'packed' attribute ignored for field of
type 'unsigned char[5u]'
LD [M] drivers/net/dummy.ko
CC fs/binfmt_misc.mod.o
In file included from include/asm/mpspec.h:5,
from include/asm/smp.h:18,
from include/linux/smp.h:19,
from include/linux/sched.h:26,
from include/linux/module.h:10,
from fs/binfmt_misc.mod.c:1:
include/asm/mpspec_def.h:78: warning: 'packed' attribute ignored for field of
type 'unsigned char[5u]'
LD [M] fs/binfmt_misc.ko
CC fs/cifs/cifs.mod.o
In file included from include/asm/mpspec.h:5,
from include/asm/smp.h:18,
from include/linux/smp.h:19,
from include/linux/sched.h:26,
from include/linux/module.h:10,
from fs/cifs/cifs.mod.c:1:
include/asm/mpspec_def.h:78: warning: 'packed' attribute ignored for field of
type 'unsigned char[5u]'
LD [M] fs/cifs/cifs.ko
CC fs/ntfs/ntfs.mod.o
In file included from include/asm/mpspec.h:5,
from include/asm/smp.h:18,
from include/linux/smp.h:19,
from include/linux/sched.h:26,
from include/linux/module.h:10,
from fs/ntfs/ntfs.mod.c:1:
include/asm/mpspec_def.h:78: warning: 'packed' attribute ignored for field of
type 'unsigned char[5u]'
LD [M] fs/ntfs/ntfs.ko
CC fs/smbfs/smbfs.mod.o
In file included from include/asm/mpspec.h:5,
from include/asm/smp.h:18,
from include/linux/smp.h:19,
from include/linux/sched.h:26,
from include/linux/module.h:10,
from fs/smbfs/smbfs.mod.c:1:
include/asm/mpspec_def.h:78: warning: 'packed' attribute ignored for field of
type 'unsigned char[5u]'
LD [M] fs/smbfs/smbfs.ko
-------------
There isn't an image in /usr/src/linux/arch/i386/boot/ either.
Joel
--
[email protected] mailing list