xfs
[Top] [All Lists]

Re: SAMBA compile errors at XFS kernel..

To: Jan Kara <jack@xxxxxx>
Subject: Re: SAMBA compile errors at XFS kernel..
From: Nathan Scott <nathans@xxxxxxx>
Date: Tue, 7 May 2002 12:49:04 +1000
Cc: Yu-Chan Park <super@xxxxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <009101c1f56d$192f86b0$3701a8c0@diylinuxwin2k>; from super@linuxone.co.kr on Tue, May 07, 2002 at 11:15:45AM +0900
References: <009101c1f56d$192f86b0$3701a8c0@diylinuxwin2k>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
hi Jan,

Some more people are hitting this problem with the new VFS
quota patches which we have in XFS CVS.  Any idea on how we
should go about fixing this?  Maybe we should fix Samba so
as to not include kernel headers (as we do in the quota user
tools already), creating a local header for them instead
with only the structures/macros they need?

thanks.


On Tue, May 07, 2002 at 11:15:45AM +0900, Yu-Chan  Park wrote:
> Hello xfs..
> 
> I have compiled samba 2.2.4(new release version) with gcc 2.95 or gcc 2.96 
> version based 
> RedHat 7.2 and kernel 2.4.18 version which patched xfs(release 1.0)
> 
> But during compiling samba occure compile errors at quota 
> 
> If using kernel not patched xfs samba is compiled as well.
> 
> How can i escape hell :) ?
> 
> Thanks..
> 
> The errors are....
> 
> Compiling smbd/quotas.c
> smbd/quotas.c:66: warning: `LINUX_QUOTAS_2' redefined
> include/config.h:238: warning: this is the location of the previous definition
> In file included from smbd/quotas.c:45:
> /usr/include/asm/types.h:18: warning: redefinition of `__u32'
> /usr/include/sys/capability.h:32: warning: `__u32' previously declared here
> In file included from smbd/quotas.c:57:
> /usr/include/linux/quota.h:45: parse error before `qid_t'
> /usr/include/linux/quota.h:45: warning: data definition has no type or 
> storage class
> /usr/include/linux/quota.h:137: parse error before `__kernel_time_t'
> /usr/include/linux/quota.h:137: warning: no semicolon at end of struct or 
> union
> /usr/include/linux/quota.h:138: warning: data definition has no type or 
> storage class
> /usr/include/linux/quota.h:274: parse error before `qid_t'
> smbd/quotas.c: In function `get_smb_linux_vfs_quota':
> smbd/quotas.c:115: storage size of `D' isn't known
> make: *** [smbd/quotas.o] Error 1
> 
> 

-- 
Nathan


<Prev in Thread] Current Thread [Next in Thread>