Arkadiy Chapkis - Arc (achapkis@mail.dls.net)
Mon, 12 Apr 1999 00:24:20 -0500
Hello everyone!
I am trying to compile Samba-2.0.3 with disk-quotas enabled and by some
strange reason it gives me an error
Using FLAGS32 = -O -Iinclude -I./include -I./ubiqx -I./smbwrapper
-DSMBLOGFILE
="/var/log/log.smb" -DNMBLOGFILE="/var/log/log.nmb"
-DCONFIGFILE="/etc/smb.conf"
-DLMHOSTSFILE="/etc/lmhosts" -DSWATDIR="/usr/local/samba/swat"
-DSBINDIR="/us
r/local/sbin" -DLOCKDIR="/var/locks" -DSMBRUN="/usr/local/bin/smbrun"
-DCODEPAGE
DIR="/usr/local/lib/codepages" -DDRIVERFILE="/etc/printers.def"
-DBINDIR="/usr/l
ocal/bin" -DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/bin/passwd"
-DSMB_PASSWD_FILE="/u
sr/local/samba/private/smbpasswd"
Using LIBS = -lreadline -ldl -lcrypt -lpam
Compiling smbd/quotas.c
smbd/quotas.c:43: parse error before `quotactl'
smbd/quotas.c:43: warning: data definition has no type or storage class
make: *** [smbd/quotas.o] Error 1
It didn't work for me on previous versions also. I am not a programmer, so I
can't tell what is wrong. Can someone help me out with this, please?
I was able to successfully compile it without disk-quotas support on Alpha
and I was also able to compile it with disk-quota support on Intel. However it
chokes on my AS200 4/233 with RH5.2 with disk-quotas. Here's some info:
yakov:~$ rpm -qli quota
Name : quota Distribution: Manhattan
Version : 1.55 Vendor: Red Hat Software
Release : 9 Build Date: Thu Sep 10 10:19:20
1998
Install date: Fri Jan 25 14:42:26 2019 Build Host: spacely.redhat.com
Group : Utilities/System Source RPM: quota-1.55-9.src.rpm
Size : 121368 License: BSD
Packager : Red Hat Software <bugs@redhat.com>
Summary : Quota administration package
Description :
Quotas allow the system administrator to limit disk usage by a user and/or
group per filesystem. This package contains the tools which are needed to
enable, modify, and update quotas.
/sbin/quotacheck
/sbin/quotaoff
/sbin/quotaon
/usr/bin/quota
/usr/man/man1/quota.1
/usr/man/man2/quotactl.2
/usr/man/man3/rquota.3
/usr/man/man8/edquota.8
/usr/man/man8/quotacheck.8
/usr/man/man8/quotaon.8
/usr/man/man8/repquota.8
/usr/man/man8/rpc.rquotad.8
/usr/man/man8/rquotad.8
/usr/sbin/edquota
/usr/sbin/quotastats
/usr/sbin/repquota
/usr/sbin/rpc.rquotad
/usr/sbin/warnquota
yakov:~$ grep quota /usr/include/asm/*.h
/usr/include/asm/unistd.h:#define __NR_quotactl 148
/usr/include/asm/unistd.h:#define __NR_osf_oldquota 149 /* not
implement
ed */
yakov:~$ grep quotactl /usr/include/linux/*.h
/usr/include/linux/quota.h: * Command definitions for the 'quotactl' system
call
.
/usr/include/linux/quota.h:int quotactl __P ((int, const char *, int,
caddr_t));
Any help will be apreciated. Thank you in advance.
Arc C.
achapkis@dls.net
achapkis@shark.dls.net
-- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
This archive was generated by hypermail 2.0b3 on Sun Apr 11 1999 - 23:00:12 PDT