I just downloaded the quota-1.51 package from ftp.nether.net, and
attempted to compile it under Linux 1.3.72. This is what I got:
thirteen:/usr/src/quota-1.51# make
cc -O6 -fexpensive-optimizations -fstrength-reduce -c quotacheck.c -o
quotacheck.o
In file included from /usr/include/linux/quota.h:73,
from quotacheck.c:27:
/usr/include/linux/mount.h:16: parse error before `kdev_t'
/usr/include/linux/mount.h:16: warning: no semicolon at end of struct or
union
/usr/include/linux/mount.h:26: parse error before `}'
/usr/include/linux/mount.h:28: parse error before `dev'
/usr/include/linux/mount.h:20: storage size of `mnt_sem' isn't known
make: *** [quotacheck.o] Error 1
Is this an error in the kernel include files?
BTW, here is mount.h:
/*
*
* Definitions for mount interface. This describes the in the kernel
build
* linkedlist with mounted filesystems.
*
* Author: Marco van Wieringen <mvw@mcs.ow.nl> <mvw@tnix.net>
<mvw@cistron.nl>
*
* Version: $Id: mount.h,v 1.3 1994/07/20 22:01:00 mvw Exp mvw $
*
*/
#ifndef _LINUX_MOUNT_H
#define _LINUX_MOUNT_H
struct vfsmount
{
kdev_t mnt_dev; /* Device this applies to */
char *mnt_devname; /* Name of device e.g.
/dev/dsk/hda1 */
char *mnt_dirname; /* Name of directory mounted on */
unsigned int mnt_flags; /* Flags of this device */
struct semaphore mnt_sem; /* lock device while I/O in
progress */
struct super_block *mnt_sb; /* pointer to superblock */
struct file *mnt_quotas[MAXQUOTAS]; /* fp's to quotafiles */
time_t mnt_iexp[MAXQUOTAS]; /* expiretime for inodes */
time_t mnt_bexp[MAXQUOTAS]; /* expiretime for blocks */
struct vfsmount *mnt_next; /* pointer to next in linkedlist */
};
struct vfsmount *lookup_vfsmnt(kdev_t dev);
#endif /* _LINUX_MOUNT_H */
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: PGP Signed with PineSign 2.2
iQCVAwUBMUNa5mr8tJOG0vRxAQFRPgP/RpgfoZXxYvLA1mcBXxGBzBOzkKqOS2D5
O3BBCadI1xt/7mlq0y3p/RBjpm0bLm1M/HDwTidihSot6jJGlbpkgmLSqXnRuNBz
S6r9xCjJJwEQU5hsqEWbFz1lYsf7qp3SHmgycxm0CS9Qq55iMKnweQO7Det5owKg
HHaNlRF64+o=
=DNs3
-----END PGP SIGNATURE-----
---------------------------------------------------------------------------
Brian R. Doherty | "You know, I bet a funny thing about driving a
6320 S. Main St. | car off a cliff is, while you're in midair, you
Houston, TX 77006 | still hit those brakes! Hey, better try the
doherty@rice.edu | emergency brake!" -- Jack Handey