[OpenAFS-devel] Tried to compile on AIX 5.1

Frank Bagehorn FBA@zurich.ibm.com
Wed, 21 Aug 2002 16:40:11 +0200


Hi,
I tried to compile the 1.2.6 release on an AIX 5.1 machine.
I had to do the changes to src/vol/partition.c and src/vol/vol-salvage.c 
as described in this mailing-list earlier (ifndef AFS_NAMEI_ENV).
In addition I had to rename a V_UPDATE macro in the following files:
src/vol/volume.h
src/vol/fssync.c
src/volser/volprocs.c
Reason: A macro with the same name is defined by the OS itself in 
/usr/include/sys/vnode.h .
So I renamed the V_UPDATE in volume.h to V_VOLUPD and changed its 
appearences in the other files. (Don't know if I catched them all...)
This way, the compile comes quite far, but compiling 
src/libafs/afs/afs_init.c (out of src/libafs/MODLOAD) I get the error
"../afs/afs_init.c", line 620.14: 1506-022 (S) "p_child" is not a member 
of "struct proc".
I have to admit, that I'm not coder enough to understand what's going 
wrong here. (Well I understand it, but I don't know where to look
to fix it...)

Any help is appreciated.

Regards
Frank

----------------------------------------------------------------------
Dr. Frank Bagehorn
IBM Zurich Research Lab.
Saeumerstr. 4
CH-8803 Rueschlikon 
Switzerland
----------------------------------------------------------------------
SMTP: fba@zurich.ibm.com
Notes: Frank Bagehorn/Zurich/IBM@IBMCH
phone: ++41 (01) 724 83 23  fax: ++41 (01) 724 89 59