Compile error of 3.0.1rc1 in function `get_smb_linux_vfs_quota'

Alexander Bokovoy a.bokovoy at sam-solutions.net
Sat Dec 6 16:19:20 GMT 2003


On Fri, Dec 05, 2003 at 03:54:16PM +0100, Kurt Pfeifle wrote:
> Compile error of 3.0.1rc1 in function `get_smb_linux_vfs_quota':
> 
> ------------------------------------------------------------------------
> 
> kurt at cups-demo:~/cups-versionen/samba/source> cat CVS/Tag
> Nrelease-3-0-1rc1
> 
> kurt at cups-demo:~/cups-versionen/samba/source> ./configure --with-fhs \
>   --prefix=/usr --libdir=/etc/samba --with-configdir=/etc/samba \
>   --localstatedir=/var --with-lockdir=/var/lock/samba \
>   --with-codepagedir=/usr/share/samba/codepages \
>   --with-swatdir=/usr/share/swat --with-logdir=/var/log/samba \
>   --with-piddir=/var/run/samba --with-pam --with-pam_smbpass \
>   --with-profiling-data --with-syslog --with-vfs --with-msdfs \
>                                        ^^^^^^^^^
This one is irrelevant (we provide VFS regardless this option in 3.0.0).

>   --with-quotas --with-utmp --with-automount --with-smbmount \
    ^^^^^^^^^^^^^
This one matters.

>   --with-smbwrapper 
>   --with-sambabook=/usr/share/doc/packages/samba/htmldocs/using_samba \
>   --with-acl-support --with-ldap --with-ldapsam --with-winbind \
>   --with-ads --with-smbmount 
>   --srcdir=/home/kurt/cups-versionen/samba/source \
>   && time make
> 
> [.....]
> Compiling smbd/quotas.c
> smbd/quotas.c: In function `get_smb_linux_vfs_quota':
> smbd/quotas.c:135: error: storage size of `D' isn't known
> make: *** [smbd/quotas.o] Fehler 1
Install correct headers for you kernel. It is known that kernel headers
provided with glibc on most distributions are different from what actually
is provided by the kernel -- it is easy to find out: compare linux/quota.h
in your kernel headers of installed kernel (don't know corresponding
package name in your distribution (SuSE?)) with appropriate header file
from glibc-kernheaders or alike package.

-- 
/ Alexander Bokovoy
Samba Team                      http://www.samba.org/
ALT Linux Team                  http://www.altlinux.org/
Midgard Project Ry              http://www.midgard-project.org/


More information about the samba-technical mailing list