* Samba compiltion fails
@ 1999-04-12 5:24 Arkadiy Chapkis - Arc
1999-04-13 19:24 ` Konrad Podloucky
0 siblings, 1 reply; 2+ messages in thread
From: Arkadiy Chapkis - Arc @ 1999-04-12 5:24 UTC (permalink / raw)
To: AXP-LIST; +Cc: achapkis
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: Samba compiltion fails
1999-04-12 5:24 Samba compiltion fails Arkadiy Chapkis - Arc
@ 1999-04-13 19:24 ` Konrad Podloucky
0 siblings, 0 replies; 2+ messages in thread
From: Konrad Podloucky @ 1999-04-13 19:24 UTC (permalink / raw)
To: axp-list; +Cc: achapkis
On 12-Apr-99 Arkadiy Chapkis - Arc wrote:
> 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
>[...]
I also tried to compile it with disk-quotas enabled and it failed exactly the
same way. However I didn't have enough time/patience to write a patch. If I
remember correctly is was some problem with alpha-related #defines.
Anybody else got this baby to run?
Konrad
______________________________________________________________________
Konrad Podloucky <konrad@pelimbert.tssc.univie.ac.at>
Vienna, Austria PGP-key available by request
Running LINUX on an Alpha
"Windows 9x: n. 32 bit extensions and a graphical shell for a 16 bit
patch to an 8 bit operating system originally coded for a 4 bit
microprocessor, written by a 2 bit company that can't stand 1 bit
of competition."
--Cygnus CygWin (aka GNU/Win32) FAQ
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-04-13 20:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-04-12 5:24 Samba compiltion fails Arkadiy Chapkis - Arc
1999-04-13 19:24 ` Konrad Podloucky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox