[OpenAFS] Error trying to build on Solaris SNV90

Mattias Pantzare pantzer@ludd.ltu.se
Tue, 24 Jun 2008 16:42:59 +0200


2008/6/19 Kris Kasner <tkasner@gmail.com>:
> 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

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