[OpenAFS-devel] Windows build problems with OpenAFS 1.2.3

Leo Luan leoluan@us.ibm.com
Fri, 22 Mar 2002 08:56:55 -0800


Apply this patch to src/WINNT/afsd/cm_scache.c   (the same change is needed
in cm_dcache.c).  I think these patches were already submitted.

--- cm_scache.c 2002/01/08 20:44:37     1.5
+++ cm_scache.c 2002/02/10 18:15:19
@@ -806,7 +806,7 @@
                statusp->UnixModeBits = 0x1ff;
                statusp->ParentVnode = 0x1;
                statusp->ParentUnique = 0x1;
-               statusp->ResidencyMask = 0;
+               statusp->SegSize = 0;
                statusp->ClientModTime = 0x3b49f6e2;
                statusp->ServerModTime = 0x3b49f6e2;
                statusp->Group = 0;


Marc Dionne <dionne@cs.wisc.edu>@openafs.org on 03/22/2002 08:16:09 AM

Sent by:    openafs-devel-admin@openafs.org


To:    openafs-devel@openafs.org
cc:
Subject:    [OpenAFS-devel] Windows build problems with OpenAFS 1.2.3



A few minor build issues with the OpenAFS-1.2.3 source package under
Windows:

- src\WINNT\afsd\cm_scache.c, src\WINNT\afsd\cm_dcache.c:
"ResidencyMask" is not defined in the AFSFetchStatus structure.

- Trying to build without -DAFS_FREELANCE_CLIENT (in an attempt to avoid
the problem above) fails; several files under src\WINNT\afsd\ reference
the cm_freelanceEnabled flag in code that is not ifdef'ed.  The flag
itself is not defined without -DAFS_FREELANCE_CLIENT.

My workaround was to comment out the 2 references to ResidencyMask.
Other than that the build completed successfully.

Marc
_______________________________________________
OpenAFS-devel mailing list
OpenAFS-devel@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-devel