[OpenAFS-devel] Compiling problems
Nathan Neulinger
nneul@umr.edu
02 Jul 2003 11:48:50 -0500
What do y'all think of coming up with a unique prefix/naming/etc. for
all of the rx XDR stuff in openafs to eliminate ALL of the conflicts
that can occur?
-- Nathan
On Wed, 2003-07-02 at 11:35, Derrick J Brashear wrote:
> On Wed, 2 Jul 2003 atfani@uni-hohenheim.de wrote:
>
> > 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.
>
> /usr/include/rpc/xdr.h does *not* come from afs.
>
> It doesn't surprise me that they conflict. Pick one or the other to
> include.
>
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel
--
------------------------------------------------------------
Nathan Neulinger EMail: nneul@umr.edu
University of Missouri - Rolla Phone: (573) 341-4841
Computing Services Fax: (573) 341-4216