Re: 2.6.14-smp kernel headers and sources

"Cumberland, Lonnie" <[email protected]> Tue, 17 Aug 2010 18:42:21 -0400
Newsgroups gmane.linux.cluster.ssic.user
Message-ID <A3FD81D57663BD41BF701B44F5E75CE712D8451A67@MBCLUSTER.xchange.nist.gov>
I'll look to see what version I have tomorrow morning.

Do I have to remove the whole 4.0 version if that is the problem and install either 3.4 or 3.5 as you mentioned?

Not sure if both can be installed due to different headers being a problem I would guess.

Thanks and have a great day,
Lonnie Cumberland, Prof.
Physicist

________________________________________
From: John Hughes [[email protected]]
Sent: Tuesday, August 17, 2010 6:29 PM
To: Cumberland, Lonnie
Cc: Openssi users
Subject: RE: 2.6.14-smp kernel headers and sources

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