[OpenAFS] Error trying to build on Solaris SNV90
Dale Ghent
daleg@umbc.edu
Wed, 2 Jul 2008 16:07:29 -0400
On Jun 24, 2008, at 10:42 AM, Mattias Pantzare wrote:
> I have not tested this but it should work (the changes are for crash
> dumps, but you can't dump to AFS)
>
> Change:
> static struct vfsdef_v4 afs_vfsdef = {
>
> To:
> static struct vfsdef_v5 afs_vfsdef = {
>
> in /afs/SOLARIS/osi_vfsops.c
Thanks for finding that.
FWIW, I submitted a bug to RT that includes the following patch:
Index: src/afs/SOLARIS/osi_vfsops.c
===================================================================
RCS file: /cvs/openafs/src/afs/SOLARIS/osi_vfsops.c,v
retrieving revision 1.18.2.6
diff -u -r1.18.2.6 osi_vfsops.c
--- src/afs/SOLARIS/osi_vfsops.c 17 Mar 2008 15:28:55 -0000 1.18.2.6
+++ src/afs/SOLARIS/osi_vfsops.c 2 Jul 2008 19:46:26 -0000
@@ -418,7 +418,7 @@
#ifdef AFS_SUN510_ENV
#ifdef AFS_SUN511_ENV
-static struct vfsdef_v4 afs_vfsdef = {
+static vfsdef_t afs_vfsdef = {
VFSDEF_VERSION,
"afs",
afsinit,
.dake