"smbmount" and Linux kernel-2.0.37

Steffen Moser moser at egu.schule.ulm.de
Mon Jul 26 19:12:02 GMT 1999


Hello,

I tried to compile Samba-2.0.5b with smbmount after setting the 
configure-option "--with-smbmount". On systems (SuSE 5.0 and 
SuSE 5.3) running Linux kernel 2.0.35 and 2.0.37 I didn't have 
success:

Compiling client/smbmount.c
In file included from /usr/include/linux/smb_fs.h:11,
                 from client/smbmount.c:28:
/usr/include/linux/smb.h:47: warning: `PVAL' redefined
include/byteorder.h:136: warning: this is the location of the previous definition
/usr/include/linux/smb.h:76: warning: `smb_base' redefined
include/smb.h:1320: warning: this is the location of the previous definition
In file included from /usr/include/linux/smb_fs.h:11,
                 from client/smbmount.c:28:
/usr/include/linux/smb.h:83: conflicting types for `PROTOCOL_NONE'
include/smb.h:1485: previous declaration of `PROTOCOL_NONE'
/usr/include/linux/smb.h:84: conflicting types for `PROTOCOL_CORE'
include/smb.h:1485: previous declaration of `PROTOCOL_CORE'
/usr/include/linux/smb.h:85: conflicting types for `PROTOCOL_COREPLUS'
include/smb.h:1485: previous declaration of `PROTOCOL_COREPLUS'
/usr/include/linux/smb.h:86: conflicting types for `PROTOCOL_LANMAN1'
include/smb.h:1485: previous declaration of `PROTOCOL_LANMAN1'
/usr/include/linux/smb.h:87: conflicting types for `PROTOCOL_LANMAN2'
include/smb.h:1485: previous declaration of `PROTOCOL_LANMAN2'
/usr/include/linux/smb.h:89: conflicting types for `PROTOCOL_NT1'
include/smb.h:1485: previous declaration of `PROTOCOL_NT1'
/usr/include/linux/smb.h:93: conflicting types for `CASE_LOWER'
include/smb.h:1498: previous declaration of `CASE_LOWER'
/usr/include/linux/smb.h:95: conflicting types for `CASE_UPPER'
include/smb.h:1498: previous declaration of `CASE_UPPER'
client/smbmount.c: In function `send_fs_socket':
client/smbmount.c:295: storage size of `conn_options' isn't known
client/smbmount.c:314: `SMB_CASE_DEFAULT' undeclared (first use this function)
client/smbmount.c:314: (Each undeclared identifier is reported only once
client/smbmount.c:314: for each function it appears in.)
client/smbmount.c:325: `SMB_IOC_NEWCONN' undeclared (first use this function)
make: *** [client/smbmount.o] Error 1

After that I compiled Samba-2.0.5a (with smbmount) on two SuSE 
6.1 machines running the most recent stable Linux kernel (2.2.10) 
without any problems. 

Has anybody encountered this problem yet? 

Bye,
Steffen


More information about the samba mailing list