[OpenAFS] AFS via Samba compile problem
Sandor Feher
sfeher@bluesystem.hu
Mon, 20 Oct 2003 12:09:39 +0200 (CEST)
Hi folks,
I'd like to compile samba-3.0.1pre1 --with-afs to reach my afs filesystem
thru samba.
Compiling auth/pampass.c
auth/pampass.c: In function `make_pw_chat':
auth/pampass.c:224: warning: passing arg 1 of `next_token' from
incompatible poi
nter type
auth/pampass.c:235: warning: passing arg 1 of `next_token' from
incompatible poi
nter type
Compiling auth/pass_check.c
In file included from /usr/include/afs/kautils.h:35,
from auth/pass_check.c:39:
/usr/include/rx/xdr.h:149: redeclaration of `enum xdr_op'
/usr/include/rx/xdr.h:150: conflicting types for `XDR_ENCODE'
/usr/include/rpc/xdr.h:84: previous declaration of `XDR_ENCODE'
/usr/include/rx/xdr.h:151: conflicting types for `XDR_DECODE'
/usr/include/rpc/xdr.h:85: previous declaration of `XDR_DECODE'
/usr/include/rx/xdr.h:153: conflicting types for `XDR_FREE'
/usr/include/rpc/xdr.h:87: previous declaration of `XDR_FREE'
/usr/include/rx/xdr.h:153: confused by earlier errors, bailing out
make: *** [auth/pass_check.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.91607 (%build)
openafs-1.2.10, redhat 9
Any solution would be appreciated.
thanks., Sandor