Compile error of 3.0.1rc1 in function `get_smb_linux_vfs_quota'

Kurt Pfeifle kpfeifle at danka.de
Sun Dec 7 11:48:21 GMT 2003


> 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.
> 

Thanks, Alexander!

(I had nearly given up hope to get a response at all.)
I'll now try again using "--without-quotas"...)

>>   --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.

Well, the thing is that I used the exact same "configure" line for the last
4 weeks when I compiled the CVS and it *did* work before (like in 3.0.1pre3).

I didn't change kernel or glibc or anything else which might be relevant
(or so I believe).

> 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?))

Yes. SuSE-8.2 in this case.

> with appropriate header file
> from glibc-kernheaders or alike package.
> 
> -- 
> / Alexander Bokovoy

Thanks again & Cheers!
Kurt




More information about the samba-technical mailing list