[OpenAFS] 1.3.71 under AIX 5.1: compilation errors

Hans-Gunther Borrmann hans-gunther.borrmann@rz.uni-freiburg.de
Tue, 21 Sep 2004 11:58:28 +0200


Hello,

Compiling 1.3.71 under AIX 5.1 I got syntax errors in to files. The following  
patches solved the probplem for me:

*** src/afs/afs_dcache.c        2004-09-20 15:54:45.000000000 +0200
--- src/afs/afs_dcache.c.orig   2004-08-25 09:09:32.000000000 +0200

***************
*** 1535,1541 ****
      int doReallyAdjustSize = 0;
      int overWriteWholeChunk = 0;

! XSTATS_DECLS
     #ifndef AFS_NOSTATS
     struct afs_stats_xferData *xferP; /* Ptr to this op's xfer struct */
     osi_timeval_t xferStartTime, /*FS xfer start time */
--- 1535,1541 ----
     int doReallyAdjustSize = 0;
     int overWriteWholeChunk = 0;

! XSTATS_DECLS;
     #ifndef AFS_NOSTATS
     struct afs_stats_xferData *xferP; /* Ptr to this op's xfer struct */
     osi_timeval_t xferStartTime, /*FS xfer start time */
xfer start time */

*** src/afs/VNOPS/afs_vnop_lookup.c     2004-09-21 11:41:34.000000000 +0200
--- src/afs/VNOPS/afs_vnop_lookup.c.orig        2004-08-25 09:09:35.000000000 
+0200
***************
*** 1128,1134 ****
      int pass = 0, hit = 0;
      long dirCookie;
      extern afs_int32 afs_mariner;     /*Writing activity to log? */
!     OSI_VC_CONVERT(adp)
      afs_hyper_t versionNo;
      int no_read_access = 0;
      struct sysname_info sysState;     /* used only for @sys checking */
--- 1128,1134 ----
      int pass = 0, hit = 0;
      long dirCookie;
      extern afs_int32 afs_mariner;     /*Writing activity to log? */
!     OSI_VC_CONVERT(adp);
      afs_hyper_t versionNo;
      int no_read_access = 0;
      struct sysname_info sysState;     /* used only for @sys checking */
 @sys checking */

-- 
________________________________________________________________
Hans-Gunther Borrmann <hans-gunther.borrmann@rz.uni-freiburg.de>
Rechenzentrum der Universitaet Freiburg
Hermann-Herder-Str. 10, D79104 FREIBURG
Tel.: +49 761/203-4652
Fax:  +49 761/203-4643