[OpenAFS] V_UPDATE macro redefined

J S vervoom@hotmail.com
Fri, 28 Nov 2003 12:18:37 +0000


Hi,

I am trying to build OpenAFS 1.2.10a on AIX 5.1 with the following configure 
line:

./configure --enable-transarc-paths --with-afs-sysname=rs_aix42

Make fails with the following conflict though:

xlc_r  -O -DNINTERFACE -I/home/u752359/openafs-1.2.10a/src/config -I. -I.. 
-I/home/u752359/openafs-1.2.10a/include 
-I/home/u752359/openafs-1.2.10a/include/afs -DAFS_PTHREAD_ENV -K -D_NO_PROTO 
-D_NONSTD_TYPES -D_MBI=void -DRXDEBUG -c ../vol/volume.c
"../vol/volume.h", line 463.9: 1506-213 (S) Macro name V_UPDATE cannot be 
redefined.
"../vol/volume.h", line 463.9: 1506-358 (I) "V_UPDATE" is defined on line 
109 of /usr/include/sys/vnode.h


/usr/include/sys/vnode.h shows:

#define V_UPDATE       0x400            /* indicates the file has been  */
                                        /* updated since last timestamp */


OpenAFS source shows this:

$ find . -name "*.h" -exec grep V_UPDATE {} \; -print
#define V_UPDATE   3    /* General update or volume purge is possible.  
Volume must
./src/vol/volume.h
#define V_UPDATE   3    /* General update or volume purge is possible.  
Volume must
./include/afs/volume.h

Does the OpenAFS macro need to be renamed to something else or have I used 
the wrong sysname on the configure line?

Thanks for any help.

JS.

_________________________________________________________________
Sign-up for a FREE BT Broadband connection today! 
http://www.msn.co.uk/specials/btbroadband