[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SAMBA compile errors at XFS kernel..
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