Compile error of 3.0.1rc1 in function `get_smb_linux_vfs_quota'

Stefan Metzmacher metze at metzemix.de
Sun Dec 7 13:55:40 GMT 2003


Alexander Bokovoy wrote:

>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.
>  
>
I have a patch which will get rid of the linux quota header mess, based 
on the samba2.2 samba_linux_quota.h
It's not completly ready, it'll take a week or two (I'm a bit busy atm 
:-(...)

-- 

metze

-------------------------------------------
Stefan (metze) Metzmacher <metze at metzemix.de>




More information about the samba-technical mailing list