Hi guys!

Has anyone built this on AIX recently?  I see in the code that there is support 
for AIX 6.1, and 7.2.  I was hoping to get it working on 7.1 so I figured I'd 
start with a build on AIX 6.1 to make sure it was in working order before 
attempting to port it to 7.1.  I'm using XLC 13.1.3 and my AIX level is 
6100-09-12-1846.

I checked out the code from git and am using the master branch.  I am using the 
following config options:

CC=xlc_r ./configure --prefix=/opt/openafs --enable-tivoli-tsm --enable-kauth 
--disable-fuse-client --with-gssapi=/opt/freeware --with-krb5=/opt/freeware

Are those appropriate/reasonable under AIX?  Currently, I'm getting the 
following error:

          cc -I. -I.. -I../nfs  -I/project/openafs/src/crypto/hcrypto/kernel  
-I/project/openafs/src  -I/project/openafs/src/afs  
-I/project/openafs/src/afs/AIX  -I/project/openafs/src/config  
-I/project/openafs/src/rx/AIX  -I/project/openafs/src/external/heimdal  
-I/project/openafs/src  -I/project/openafs/src/afs  
-I/project/openafs/src/afs/AIX  -I/project/openafs/src/config  
-I/project/openafs/src/fsint  -I/project/openafs/src/vlserver  
-I/project/openafs/src/auth  -I/project/openafs/include  
-I/project/openafs/include/afs   -I. -I.. -I/project/openafs/src/config  
-U_IBMR2 -D_POWER -D_AIX -DNLS -D_NLS -DMSG -D__STR31__ -Daiws  -D_POWER_RS 
-D_POWER_PC -D_POWER_RS1 -D_POWER_RS2 -D_POWER_RSC  -D_POWER_601 -D_POWER_603 
-D_POWER_604 -D_THREADS -M  -D_KERNEL  -D_POWER_MP -UKOFF -DAFSDEBUG -DVICE 
-DNFS -DUFS -DINET -DQUOTA  -DGETMOUNT -H8 -DAFS -DAFS_COMMON -D_VOPS -D_SUN 
-DKERNEL -q64 -DAFS_64BIT_KERNEL -D__64BIT_KERNEL -g 
-I/project/openafs/src/rxkad -I/project/openafs/src/rxkad -o rxkad_common.o -c 
/project/openafs/src/rxkad/rxkad_common.c
"/project/openafs/src/afs/AIX/osi_machdep.h", line 90.12: 1506-007 (S) "struct 
timestruc_t" is undefined.
"../sys/time.h", line 587.17: 1506-343 (S) Redeclaration of curtime differs 
from previous declaration on line 91 of 
"/project/openafs/src/afs/AIX/osi_machdep.h".
"../sys/time.h", line 587.17: 1506-050 (I) Return type "void" in redeclaration 
is not compatible with the previous return type "int".
make: 1254-004 The error code from the last command is 1.


Has anyone seen this?  Certainly that struct is defined in 
/usr/include/sys/time.h, but this seems like it's probably something obvious 
and I'm willing to bet it's on my end and not a problem with the code.

Thank you so much for any suggestions!

-Ben

Reply via email to