[OpenAFS-devel] Compiling problems

atfani@uni-hohenheim.de atfani@uni-hohenheim.de
Wed, 2 Jul 2003 14:29:11 +0200


When trying to compile Samba 3.0 with afs I get the following errors: 
 
In file included from /usr/include/afs/kautils.h:35, 
                 from auth/pass_check.c:39: 
/usr/include/rx/xdr.h:143: redeclaration of `enum xdr_op' 
/usr/include/rx/xdr.h:144: conflicting types for `XDR_ENCODE' 
/usr/include/rpc/xdr.h:84: previous declaration of `XDR_ENCODE' 
/usr/include/rx/xdr.h:145: conflicting types for `XDR_DECODE' 
/usr/include/rpc/xdr.h:85: previous declaration of `XDR_DECODE' 
/usr/include/rx/xdr.h:147: conflicting types for `XDR_FREE' 
/usr/include/rpc/xdr.h:87: previous declaration of `XDR_FREE' 
 
It seems to be an afs problem, not a Samba problem. 
Both header files are part of the " openafs-devel-1.2.9-rh9.0.1.i386.rpm " 
package. 
 
 
Can somebody help me?