Re: trying to build OpenSSI from source
Mulyadi Santosa <[email protected]> Sun, 4 Jul 2010 09:05:38 +0700
| Newsgroups | gmane.linux.cluster.ssic.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Scott... On Sun, Jul 4, 2010 at 05:46, Scott Walters <[email protected]> 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 ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first