A whole shedload of stuff has changed between s10 and current Nevada w.r.t. vfsops and vnode ops in Solaris. Strict type checking, to name one aspect. It worked at one point, but as Nevada (and thus SXCE and OpenSolaris/Indiana) is a moving target, it doesn't surprise me that this failed.

I'll try to find some time to take a look at this stuff and provide a patch. No guarantees, though, as I'm sort of removed from the AFS world since I took a new job.

/dale

On Jun 19, 2008, at 2:54 PM, Kris Kasner wrote:

Hi Folks. I'm trying to get 1.4.7 to build on Solaris Nevada release
90 (the first release that supports ZFS root on SPARC). It's failing
at the file osi_vfsops.c, so I get everything except the rather
important kernel module.. :)

Can someone take a look at these errors and see if there's anything obvious?
BTW, I'm using sun Studio 12 with the latest patches from Sun

Thanks!
--Kris



/opt/SUNWspro/bin/cc -I. -I.. -I../nfs
-I/prj/esg/apps/OpenAFS/openafs-1.4.7/src -I/prj/esg/a
pps/OpenAFS/openafs-1.4.7/src/afs
-I/prj/esg/apps/OpenAFS/openafs-1.4.7/src/afs/SOLARIS -I/pr
j/esg/apps/OpenAFS/openafs-1.4.7/src/config
-I/prj/esg/apps/OpenAFS/openafs-1.4.7/src/rx/SOLA
RIS -I/prj/esg/apps/OpenAFS/openafs-1.4.7/src/rxkad
-I/prj/esg/apps/OpenAFS/openafs-1.4.7/src
/rxkad/domestic -I/prj/esg/apps/OpenAFS/openafs-1.4.7/src/util
-I/prj/esg/apps/OpenAFS/openaf
s-1.4.7/src -I/prj/esg/apps/OpenAFS/openafs-1.4.7/src/afs
-I/prj/esg/apps/OpenAFS/openafs-1.4
.7/src/afs/SOLARIS -I/prj/esg/apps/OpenAFS/openafs-1.4.7/src/util
-I/prj/esg/apps/OpenAFS/ope
nafs-1.4.7/src/rxkad -I/prj/esg/apps/OpenAFS/openafs-1.4.7/src/config
-I/prj/esg/apps/OpenAFS
/openafs-1.4.7/src/fsint
-I/prj/esg/apps/OpenAFS/openafs-1.4.7/src/vlserver -I/prj/esg/apps/O
penAFS/openafs-1.4.7/include
-I/prj/esg/apps/OpenAFS/openafs-1.4.7/include/afs   -I. -I.. -I/
prj/esg/apps/OpenAFS/openafs-1.4.7/src/config  -DAFSDEBUG -DKERNEL
-DAFS -DVICE -DNFS -DUFS -
DINET -DQUOTA -DGETMOUNT -D_KERNEL -DSYSV -dn -m64    -DAFS_NONFSTRANS
-DAFS_WRAPPER=libafs.n
onfs.o_wrapper -DAFS_CONF_DATA=libafs.nonfs.o_conf_data -o
osi_vfsops.o -c /prj/esg/apps/Open
AFS/openafs-1.4.7/src/afs/SOLARIS/osi_vfsops.c
"/prj/esg/apps/OpenAFS/openafs-1.4.7/src/afs/SOLARIS/osi_vfsops.c",
line 222: warning: implic
it function declaration: afs_osi_vget
"/prj/esg/apps/OpenAFS/openafs-1.4.7/src/afs/SOLARIS/osi_vfsops.c",
line 238: warning: old-st
yle declaration or incorrect type for: afs_mountroot
"/prj/esg/apps/OpenAFS/openafs-1.4.7/src/afs/SOLARIS/osi_vfsops.c",
line 251: warning: old-st
yle declaration or incorrect type for: afs_swapvp
"/prj/esg/apps/OpenAFS/openafs-1.4.7/src/afs/SOLARIS/osi_vfsops.c",
line 333: warning: no exp
licit type given
"/prj/esg/apps/OpenAFS/openafs-1.4.7/src/afs/SOLARIS/osi_vfsops.c",
line 340: warning: improp
er pointer/integer combination: op "="
"/prj/esg/apps/OpenAFS/openafs-1.4.7/src/afs/SOLARIS/osi_vfsops.c",
line 354: warning: old-st
yle declaration or incorrect type for: afsinit
"/prj/esg/apps/OpenAFS/openafs-1.4.7/src/afs/SOLARIS/osi_vfsops.c",
line 360: warning: assign
ment type mismatch:
       pointer to function() returning int "=" pointer to function()
returning long
"/prj/esg/apps/OpenAFS/openafs-1.4.7/src/afs/SOLARIS/osi_vfsops.c",
line 362: warning: assign
ment type mismatch:
       pointer to function() returning long "=" pointer to function()
returning int
"/prj/esg/apps/OpenAFS/openafs-1.4.7/src/afs/SOLARIS/osi_vfsops.c",
line 366: warning: assign
ment type mismatch:
       pointer to function() returning int "=" pointer to function()
returning long
"/prj/esg/apps/OpenAFS/openafs-1.4.7/src/afs/SOLARIS/osi_vfsops.c",
line 368: warning: assign
ment type mismatch:
       pointer to function() returning long "=" pointer to function()
returning int
"/prj/esg/apps/OpenAFS/openafs-1.4.7/src/afs/SOLARIS/osi_vfsops.c",
line 421: incomplete stru
ct/union/enum vfsdef_v4: afs_vfsdef
"/prj/esg/apps/OpenAFS/openafs-1.4.7/src/afs/SOLARIS/osi_vfsops.c",
line 422: too many struct
/union initializers
"/prj/esg/apps/OpenAFS/openafs-1.4.7/src/afs/SOLARIS/osi_vfsops.c",
line 468: warning: initia
lization type mismatch
"/prj/esg/apps/OpenAFS/openafs-1.4.7/src/afs/SOLARIS/osi_vfsops.c",
line 512: warning: old-st
yle declaration or incorrect type for: _init
"/prj/esg/apps/OpenAFS/openafs-1.4.7/src/afs/SOLARIS/osi_vfsops.c",
line 600: warning: old-st
yle declaration or incorrect type for: _info
"/prj/esg/apps/OpenAFS/openafs-1.4.7/src/afs/SOLARIS/osi_vfsops.c",
line 609: warning: old-st
yle declaration or incorrect type for: _fini
"/prj/esg/apps/OpenAFS/openafs-1.4.7/src/afs/SOLARIS/osi_vfsops.c",
line 616: warning: assign
ment type mismatch:
       pointer to function() returning long "=" pointer to function()
returning int
"/prj/esg/apps/OpenAFS/openafs-1.4.7/src/afs/SOLARIS/osi_vfsops.c",
line 619: warning: assign
ment type mismatch:
       pointer to function() returning long "=" pointer to function()
returning int
cc: acomp failed for
/prj/esg/apps/OpenAFS/openafs-1.4.7/src/afs/SOLARIS/osi_vfsops.c
gmake[4]: *** [osi_vfsops.o] Error 2
gmake[4]: Leaving directory
`/usr/local/projects/esg/applications/OpenAFS/openafs-1.4.7/src/l
ibafs/MODLOAD64'
_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info


_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info

Reply via email to