[OpenAFS-devel] Install openafs on Tru64 5.1

Mattias Amnefelt mattiasa@e.kth.se
26 Mar 2002 15:34:35 +0100


The problem is that Compaq changed sysent[] to be const in Tru64 >= 5.1

This can however be fixed with the following patch.

There are however other issues. It appears they have also changed the
ubc-interface, so you're no longer allowed to call ubc_release_page() with
flags set to B_DIRTY but not B_DONE. This causes a kernel panic in
5.1. This happends as soon as you try to write a file to afs.

/mattiasa

Index: MakefileProto.DUX.in
===================================================================
RCS file: /cvs/openafs/src/libafs/MakefileProto.DUX.in,v
retrieving revision 1.10
diff -u -u -w -r1.10 MakefileProto.DUX.in
--- MakefileProto.DUX.in	2001/09/07 23:35:19	1.10
+++ MakefileProto.DUX.in	2002/03/25 20:53:53
@@ -149,7 +149,7 @@
 osi_vfsops_nfs.o: $(AFS)/osi_vfsops.c
 	$(CRULE1) -o osi_vfsops_nfs.o
 osi_vfsops.o: $(AFS)/osi_vfsops.c
-	$(CRULE1) -DAFS_NONFSTRANS
+	$(CRULE1) -std0 -DAFS_NONFSTRANS
 osi_vm.o: $(AFS)/osi_vm.c
 	$(CRULE1)
 osi_vnodeops.o: $(AFS)/osi_vnodeops.c