Samba 2.0.6pre1 released
urban at svenskatest.se
Wed Oct 20 20:21:38 GMT 1999
On Thu, 21 Oct 1999, Marc Haber wrote:
> samba 2.0.6pre1 doesn't compile after configure --with-smbmount on
> Debian/GNU Linux 2.1 (slink) with kernel 2.2.12:
> |/usr/include/asm/byteorder.h:22: conflicting types for `ntohl'
> |/usr/include/netinet/in.h:204: previous declaration of `ntohl'
> |/usr/include/asm/byteorder.h:24: conflicting types for `htonl'
> |/usr/include/netinet/in.h:206: previous declaration of `htonl'
> |client/smbmount.c: In function `send_fs_socket':
> |client/smbmount.c:296: storage size of `conn_options' isn't known
> |client/smbmount.c:308: `SMB_CASE_DEFAULT' undeclared (first use this function)
> |client/smbmount.c:308: (Each undeclared identifier is reported only once
> |client/smbmount.c:308: for each function it appears in.)
> |client/smbmount.c:319: `SMB_IOC_NEWCONN' undeclared (first use this function)
> |make: *** [client/smbmount.o] Error 1
> Compile goes fine without --with-smbmount, but the new smbmount is the
> only thing I wanted to try.
Works fine on RH6.0. It looks like your problem is that the kernel
includes you have do not define some things where smbmount.c expect to
In 2.2.12 struct smb_conn_opt is defined in linux/smb.h which is included
and smbmount includes smb_fs.h, but not smb.h. SMB_IOC_NEWCONN is found in
smb_fs.h. Did you get an error message about that file as well? If not
what does it contain?
Doesn't Debian provide a set of include files, not the same as whatever
kernel source you have included? Isn't there also instructions on how to
compile programs that (may) depend on being compiled against the right
kernel source (by adding the proper "-I" flag, I think)
More information about the samba