Hi
 
I am trying build Samba on fedora in order to support some user community to connect OpenAFS File Servers
 
Environment:
 
-Fedora
- Samba-3.0.11
- openafs-1.2.13-fc1.0.1
 
I installed and configured OpenAFS client and development RPMs on fedora system
While compilation Samba-3.0.11
Configure ran without any problems. make failed with following errors
 
 

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: error: redeclaration of `enum xdr_op'

/usr/include/rx/xdr.h:150: error: conflicting types for `XDR_ENCODE'

/usr/include/rpc/xdr.h:84: error: previous declaration of `XDR_ENCODE'

/usr/include/rx/xdr.h:151: error: conflicting types for `XDR_DECODE'

/usr/include/rpc/xdr.h:85: error: previous declaration of `XDR_DECODE'

/usr/include/rx/xdr.h:153: error: conflicting types for `XDR_FREE'

/usr/include/rpc/xdr.h:87: error: previous declaration of `XDR_FREE'

/usr/include/rx/xdr.h:169: error: conflicting types for `xdrproc_t'

/usr/include/rpc/xdr.h:154: error: previous declaration of `xdrproc_t'

/usr/include/rx/xdr.h:179: error: redefinition of `struct xdr_ops'

/usr/include/rx/xdr.h:208: error: conflicting types for `XDR'

/usr/include/rpc/xdr.h:111: error: previous declaration of `XDR'

/usr/include/rx/xdr.h:284: error: redefinition of `struct xdr_discrim'

auth/pass_check.c: In function `password_check':

auth/pass_check.c:496: warning: passing arg 2 of `afs_auth' discards qualifiers from pointer target type

make: *** [auth/pass_check.o] Error 1.

 

How to compile Samba with AFS support enable.

Any suggestions would be greatly appreciated

 

Thanks

Raghu

 

 

 


Do you Yahoo!?
Yahoo! Search presents - Jib Jab's 'Second Term'

Reply via email to