Compiling with smbmount option

Matthew Vanecek mev0003 at
Sat Sep 18 19:18:34 GMT 1999

Srinivasan wrote:
> We have downloaded the samba 2.0.5a source from net and tried to compile with the smbmount option, which is what we need for mounting. The following wor "
> -----------
> 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:325: `SMB_IOC_NEWCONN` Undeclared (first use this function)
> Please suggest me how I should proceed with the compilation.

On which platform are you compiling?  If on Linux, do you have the
kernel headers installed and properly linked?  AFAIK, the only place
those are defined are in /usr/include/linux/smb*.h.

Matthew Vanecek
Course of Study:
Visit my Website at
For answers type: perl -e 'print
For 93 million miles, there is nothing between the sun and my shadow
except me. I'm always getting in the way of something...

More information about the samba mailing list