[Samba] samba --with-afs

Knape, Dean Dean.M.Knape at NJIT.EDU
Mon Mar 25 13:30:03 GMT 2002


Hello All:

I am trying to build the new samba 2.2.3a --with-afs support and having a
difficult time.

Here is the result of the problem I am encountering:

In file included from /usr/afsws/include/afs/kautils.h:36,
                 from passdb/pass_check.c:35:
/usr/afsws/include/rx/xdr.h:197: warning: `XDR_GETINT32' redefined
/usr/include/rpc/xdr.h:184: warning: this is the location of the previous
definition
...
/usr/afsws/include/rx/xdr.h:282: warning: `IXDR_PUT_U_SHORT' redefined
/usr/include/rpc/xdr.h:330: warning: this is the location of the previous
definition
In file included from /usr/afsws/include/afs/kautils.h:36,
                 from passdb/pass_check.c:35:
/usr/afsws/include/rx/xdr.h:114: redeclaration of `enum xdr_op'
/usr/afsws/include/rx/xdr.h:115: conflicting types for `XDR_ENCODE'
/usr/include/rpc/xdr.h:67: previous declaration of `XDR_ENCODE'
/usr/afsws/include/rx/xdr.h:116: conflicting types for `XDR_DECODE'
/usr/include/rpc/xdr.h:68: previous declaration of `XDR_DECODE'
/usr/afsws/include/rx/xdr.h:118: conflicting types for `XDR_FREE'
/usr/include/rpc/xdr.h:70: previous declaration of `XDR_FREE'
/usr/afsws/include/rx/xdr.h:134: warning: redefinition of `xdrproc_t'
/usr/include/rpc/xdr.h:267: warning: `xdrproc_t' previously declared here
/usr/afsws/include/rx/xdr.h:144: redefinition of `struct xdr_ops'
/usr/afsws/include/rx/xdr.h:173: conflicting types for `XDR'
/usr/include/rpc/xdr.h:97: previous declaration of `XDR'
/usr/afsws/include/rx/xdr.h:249: redefinition of `struct xdr_discrim'
passdb/pass_check.c: In function `afs_auth':
passdb/pass_check.c:54: warning: passing arg 7 of
`ka_UserAuthenticateGeneral' from incompatible pointer type
make: *** [passdb/pass_check.o] Error 1


Can anyone suggest a way around this?

Thanks -- dean







More information about the samba mailing list