Re: [SSI-users] trying to build OpenSSI from source
Brought to you by:
brucewalker,
rogertsang
|
From: Mulyadi S. <mul...@gm...> - 2010-07-04 02:06:15
|
Hi Scott... On Sun, Jul 4, 2010 at 05:46, Scott Walters <sc...@sl...> wrote: > Hi all, > > I spent some time tracking down security fixes to the Linux kernel and > patching 2.6.14-ssi. > > Trying to build the linux-source-2.6.14-ssi.tar.bz2 kernel from > `apt-get install linux-source-2.6.14-ssi`, I get: > > CC init/main.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 init/main.c:16: > include/asm/mpspec_def.h:78: warning: 'packed' attribute ignored for > field of type 'unsigned char[6]' > In file included from include/linux/blkdev.h:10, > from include/linux/ide.h:14, > from include/cluster/synch.h:35, > from include/linux/vproc.h:16, > from init/main.c:76: > include/linux/pagemap.h: In function 'fault_in_pages_readable': > include/linux/pagemap.h:236: warning: passing argument 1 of > 'ssi_rcopy_from_user' discards qualifiers from pointer target type > include/linux/pagemap.h:236: error: assignment of read-only variable '__gux_val' > include/linux/pagemap.h:242: warning: passing argument 1 of > 'ssi_rcopy_from_user' discards qualifiers from pointer target type > include/linux/pagemap.h:242: error: assignment of read-only variable '__gux_val' > make[1]: *** [init/main.o] Error 1 > make: *** [init] Error 2 either you get buggy patched kernel, or this version of kernel is somewhat compiled with old gcc .... uhm, you use gcc 2.x? gcc < 3.2? (I just throwing ideas to ease bug hunting here)... -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com |