Re: 2.6.14-smp kernel headers and sources
John Hughes <[email protected]> Wed, 18 Aug 2010 00:29:56 +0200
| Newsgroups | gmane.linux.cluster.ssic.user |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 2010-08-17 at 08:45 -0400, Cumberland, Lonnie wrote: > Good Morning All, > > I was able to locate the OpenSSI 2.6.14 smp sources on the openssi website and installed the deb package into my src directory after which I ran the menuconfig to set the fuse setting. All went fine until I tried to do the "make" on the sources when I get an error message during the compile. > > ---------------------------------------------------- > GENSVC vproc.svc > GEN include/cluster/gen/cfs.h > GEN include/cluster/gen/cfs_tbl.i > GEN include/cluster/gen/cfs_xdr.c > GEN include/cluster/gen/as_xscribe.h > GEN include/cluster/gen/as_xscribe_tbl.i > GEN include/cluster/gen/as_xscribe_xdr.c > GEN include/cluster/gen/reopen.h > GEN include/cluster/gen/reopen_tbl.i > GEN include/cluster/gen/reopen_xdr.c > GEN include/cluster/gen/rproc.x > GEN include/cluster/gen/rproc.h > GEN include/cluster/gen/rproc_tbl.i > GEN include/cluster/gen/rproc_xdr.c > 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 > spartan:/usr/src/linux-source-2.6.14-ssi# > ---------------------------------------------------- > > Are these the correct sources which should compile or are there additional patches that need to be installed? What version of gcc do you have. 4.x is no good I think 3.4 or 3.5 should work. ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Ssic-linux-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ssic-linux-users