Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Arkadiy Chapkis - Arc <achapkis@mail.dls.net>
To: AXP-LIST@REDHAT.COM
Cc: achapkis@mail.dls.net
Subject: Samba compiltion fails
Date: Mon, 12 Apr 1999 00:24:20 -0500	[thread overview]
Message-ID: <009D6803.45DD0EBD.1@mail.dls.net> (raw)

   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


             reply	other threads:[~1999-04-12  5:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-12  5:24 Arkadiy Chapkis - Arc [this message]
1999-04-13 19:24 ` Samba compiltion fails Konrad Podloucky
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox