Re: Unable to compile smbmount from samba using 2.2.0-pre5

Simon Ekstrand (simius@algonet.se)
Sat, 9 Jan 1999 15:00:27 +0100 (CET)


On Fri, 8 Jan 1999, Tony Keating wrote:

> Just compiled and installed 2.2.0-pre5 (after using 2.0.36), found I
> couldn't mount smbfs anymore, looked through the manual found I needed to
> install smbmount etc. from samba. Got samba-1.9.18p10.tar.gz, did everything
> neccessary, tried to compile, it barfed on compiling smbmount. Seems as tho'
> something is a miss in smb.h:
>
> Using CFLAGS = -O -DSMBLOGFILE="/var/log/samba/log.smb" -DNMBLOGFILE="/var/log/samba/log.nmb" -DCONFIGFILE="/etc/smb.conf" -DLMHOSTSFILE="/etc/lmhosts" -DWEB_ROOT="/usr" -DLOCKDIR="/var/lock/samba" -DSMBRUN="/usr/bin/smbrun" -DCODEPAGEDIR="/etc/codepages" -DWORKGROUP="WORKGROUP" -DGUEST_ACCOUNT="nobody" -DDRIVERFILE="/etc/printers.def" -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DUSE_PAM -DSMB_PASSWD="/usr/bin/smbpasswd" -DSMB_PASSWD_FILE="/etc/smbpasswd"
> Using LIBS = -lnsl -lcrypt -ldl -lpam
> Compiling smbmount.c
> In file included from /usr/include/linux/smb_fs.h:12,
> from smbmount.c:33:
> /usr/include/linux/smb.h:30: parse error before `__u16'
> /usr/include/linux/smb.h:30: warning: no semicolon at end of struct or union
> /usr/include/linux/smb.h:31: warning: data definition has no type or storage class
> /usr/include/linux/smb.h:32: parse error before `blocksize'
> /usr/include/linux/smb.h:32: warning: data definition has no type or storage class

<lots of errors snipped>

> Anyone have any ideas?

including asm/types.h in smbmount.c should solve this problem..

>
> Tony.
>
> --
> Tony Keating <keating@mech.uq.edu.au>
> Department of Mechanical Engineering, University of Queensland
> PGP Public Key: finger e4321280@student.uq.edu.au

PS. Sorry if this mail arrived to the list in duplicate.

-Simon Ekstrand (simius@algonet.se)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/