Problems compiling 1.9.18

Gabriel Juncu gjuncu at compas.dntcj.ro
Fri Jan 9 09:37:17 GMT 1998


Hi folks!

I have the following errors when trying to compile new samba release
1.9.18:

=== stderr output =====================================
In file included from includes.h:1028,
                 from smbmount.c:26:
/usr/include/sys/mman.h:11: warning: `MAP_FILE' redefined
/usr/include/asm/mman.h:29: warning: this is the location of the previous definition
In file included from /usr/include/linux/smb_fs.h:11,
                 from smbmount.c:27:
/usr/include/linux/smb.h:47: warning: `PVAL' redefined
byteorder.h:130: warning: this is the location of the previous definition
/usr/include/linux/smb.h:76: warning: `smb_base' redefined
smb.h:1885: warning: this is the location of the previous definition
In file included from /usr/include/linux/smb_fs.h:11,
                 from smbmount.c:27:
/usr/include/linux/smb.h:83: conflicting types for `PROTOCOL_NONE'
smb.h:2050: previous declaration of `PROTOCOL_NONE'
/usr/include/linux/smb.h:84: conflicting types for `PROTOCOL_CORE'
smb.h:2050: previous declaration of `PROTOCOL_CORE'
/usr/include/linux/smb.h:85: conflicting types for `PROTOCOL_COREPLUS'
smb.h:2050: previous declaration of `PROTOCOL_COREPLUS'
/usr/include/linux/smb.h:86: conflicting types for `PROTOCOL_LANMAN1'
smb.h:2050: previous declaration of `PROTOCOL_LANMAN1'
/usr/include/linux/smb.h:87: conflicting types for `PROTOCOL_LANMAN2'
smb.h:2050: previous declaration of `PROTOCOL_LANMAN2'
/usr/include/linux/smb.h:89: conflicting types for `PROTOCOL_NT1'
smb.h:2050: previous declaration of `PROTOCOL_NT1'
/usr/include/linux/smb.h:93: conflicting types for `CASE_LOWER'
smb.h:2063: previous declaration of `CASE_LOWER'
/usr/include/linux/smb.h:95: conflicting types for `CASE_UPPER'
smb.h:2063: previous declaration of `CASE_UPPER'
smbmount.c: In function `mount_send_login':
smbmount.c:231: invalid use of undefined type `struct smb_conn_opt'
smbmount.c:232: invalid use of undefined type `struct smb_conn_opt'
smbmount.c:233: invalid use of undefined type `struct smb_conn_opt'
smbmount.c:234: invalid use of undefined type `struct smb_conn_opt'
smbmount.c:235: invalid use of undefined type `struct smb_conn_opt'
smbmount.c:236: invalid use of undefined type `struct smb_conn_opt'
smbmount.c:237: invalid use of undefined type `struct smb_conn_opt'
smbmount.c:238: invalid use of undefined type `struct smb_conn_opt'
smbmount.c:239: invalid use of undefined type `struct smb_conn_opt'
smbmount.c:240: invalid use of undefined type `struct smb_conn_opt'
smbmount.c:241: invalid use of undefined type `struct smb_conn_opt'
smbmount.c:242: invalid use of undefined type `struct smb_conn_opt'
smbmount.c:243: invalid use of undefined type `struct smb_conn_opt'
smbmount.c: In function `send_fs_socket':
smbmount.c:273: invalid use of undefined type `struct smb_conn_opt'
smbmount.c:275: invalid use of undefined type `struct smb_conn_opt'
smbmount.c:276: `SMB_IOC_NEWCONN' undeclared (first use this function)
smbmount.c:276: (Each undeclared identifier is reported only once
smbmount.c:276: for each function it appears in.)
smbmount.c: At top level:
smbmount.c:28: storage size of `conn_options' isn't known
make: *** [smbmount.o] Error 1
=====================================================================

I am using Linux 2.0.33 kernel with shadow passwords and without PAM.
If I comment out the line MOUNT_PROGS=... from Makefile, the rest compiles
OK.
Any solutions?

Thanks,
----------------------------------------------------
 Gabriel Juncu
 CompAs Software Ltd.
 PO Box 285/1, 3400 Cluj, Romania
 phone: +40-94-639426, +40-64-431317, +40-64-431327
 fax:   +40-64-195239
====================================================



More information about the samba mailing list