Re: [SSI-users] trying to build OpenSSI [with 2.6.14 kernel] from source
Brought to you by:
brucewalker,
rogertsang
|
From: John H. <jo...@Ca...> - 2010-07-05 10:57:32
|
Scott Walters 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 > > I get this same fatal in the patched and unpatched source trees. > > Is this a toolchain problem? Are there known-good versions of things > I should be using to build this? Is building from source particularly > tricky? > > Yes, yes and yes. You need gcc-3.3 or gcc-3.4 > Also: > > Trying to check out CI from `cvs > -d:pserver:ano...@cv...:/cvsroot/ci-linux login`, the > (empty) password is rejected: > > scott@debian:~/ssi$ cvs > -d:pserver:ano...@cv...:/cvsroot/ci-linux login > Logging in to :pserver:ano...@cv...:2401/cvsroot/ci-linux > CVS password: > cvs login: authorization failed: server cvs.openssi.org rejected > access to /cvsroot/ci-linux for user anonymous > scott@debian:~/ssi$ > Using the command shown on the http://ci-linux.sourceforge.net/ page works for me: cvs -d:pserver:ano...@ci...:/cvsroot/ci-linux login (Sourceforge's CVS configuration is a never ending mystery. There are innumerable commands that look like they might work, but you have to give exactly the right one). |