[OpenAFS] Samba build with AFS enable on fedora ERRORS
Raghu S
raghu_afs@yahoo.com
Mon, 7 Feb 2005 16:45:24 -0800 (PST)
--0-1118513538-1107823524=:59644
Content-Type: text/plain; charset=us-ascii
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'
--0-1118513538-1107823524=:59644
Content-Type: text/html; charset=us-ascii
<DIV>Hi</DIV>
<DIV> </DIV>
<DIV>I am trying build Samba on fedora in order to support some user community to connect OpenAFS File Servers</DIV>
<DIV> </DIV>
<DIV>Environment:</DIV>
<DIV> </DIV>
<DIV>-Fedora</DIV>
<DIV>- Samba-3.0.11</DIV>
<DIV>- openafs-1.2.13-fc1.0.1</DIV>
<DIV> </DIV>
<DIV>I installed and configured OpenAFS client and development RPMs on fedora system</DIV>
<DIV>While compilation Samba-3.0.11</DIV>
<DIV>Configure ran without any problems. make failed with following errors</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT face=Helv size=2>
<P>Compiling auth/pass_check.c</P>
<P>In file included from /usr/include/afs/kautils.h:35,</P>
<P>from auth/pass_check.c:39:</P>
<P>/usr/include/rx/xdr.h:149: error: redeclaration of `enum xdr_op'</P>
<P>/usr/include/rx/xdr.h:150: error: conflicting types for `XDR_ENCODE'</P>
<P>/usr/include/rpc/xdr.h:84: error: previous declaration of `XDR_ENCODE'</P>
<P>/usr/include/rx/xdr.h:151: error: conflicting types for `XDR_DECODE'</P>
<P>/usr/include/rpc/xdr.h:85: error: previous declaration of `XDR_DECODE'</P>
<P>/usr/include/rx/xdr.h:153: error: conflicting types for `XDR_FREE'</P>
<P>/usr/include/rpc/xdr.h:87: error: previous declaration of `XDR_FREE'</P>
<P>/usr/include/rx/xdr.h:169: error: conflicting types for `xdrproc_t'</P>
<P>/usr/include/rpc/xdr.h:154: error: previous declaration of `xdrproc_t'</P>
<P>/usr/include/rx/xdr.h:179: error: redefinition of `struct xdr_ops'</P>
<P>/usr/include/rx/xdr.h:208: error: conflicting types for `XDR'</P>
<P>/usr/include/rpc/xdr.h:111: error: previous declaration of `XDR'</P>
<P>/usr/include/rx/xdr.h:284: error: redefinition of `struct xdr_discrim'</P>
<P>auth/pass_check.c: In function `password_check':</P>
<P>auth/pass_check.c:496: warning: passing arg 2 of `afs_auth' discards qualifiers from pointer target type</P>
<P>make: *** [auth/pass_check.o] Error 1.</P>
<P> </P>
<P>How to compile Samba with AFS support enable.</P>
<P>Any suggestions would be greatly appreciated</P>
<P> </P>
<P>Thanks</P>
<P>Raghu</P>
<P><FONT face=arial></FONT> </P>
<P> </P></FONT></DIV>
<DIV> </DIV><p>
<hr size=1>Do you Yahoo!?<br>
Yahoo! Search presents - <a href="http://us.rd.yahoo.com/evt=30648/*http://movies.yahoo.com/movies/feature/jibjabinaugural.html">Jib Jab's 'Second Term'</a>
--0-1118513538-1107823524=:59644--