[OpenAFS] V_UPDATE macro redefined

Hartmut Reuter reuter@rzg.mpg.de
Fri, 28 Nov 2003 15:27:16 +0100


It makes no sense to try to compile openafs on aix 5.1 or 5.2 with the 
setting of rs_aix42. You will have to make all the changes to the source 
I made when I ported openafs to aix 5.1. Unfortunately the stable 
release doesn't contain this port, but you may copy my current version 
from /afs/ipp-garching.mpg.de/rs_aix51/usr/afsws

Don't use the -afsdb option when starting afsd - there is still a bug 
which crashes the system.

Hartmut Reuter


J S wrote:
> 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
> 
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info


-- 
-----------------------------------------------------------------
Hartmut Reuter                           e-mail reuter@rzg.mpg.de
					   phone +49-89-3299-1328
RZG (Rechenzentrum Garching)               fax   +49-89-3299-1301
Computing Center of the Max-Planck-Gesellschaft (MPG) and the
Institut fuer Plasmaphysik (IPP)
-----------------------------------------------------------------