Subject: compile errors from NetBSD-current 1994-12-17
To: None <current-users@netbsd.org>
From: Alan Barrett <barrett@daisy.ee.und.ac.za>
List: current-users
Date: 12/18/1994 21:54:02
I append a list of compile errors from 1994-12-17 sources.

The proximal causes appear to be:

* struct cg in <ufs/ffs/fs.h> does not contain a member named
  cg_unused_1, so sbin/fsck and sbin/newfs do not compile.

* <sys/mount.h> does not define MNT_USER, so sbin/mount does not compile.

* <ufs/ufs/quota.h> refers to the macros LIST_ENTRY and TAILQ_ENTRY,
  which are defined in <sys/queue.h>, but does not include
  <sys/queue.h>, so a bunch of quota stuff does not compile.

* <sys/dkbad.h> is not protected against multiple inclusion, so
  sys/arch/i386/boot won't compile.

--apb (Alan Barrett)


====> sbin/fsck
cc -O   -c pass5.c
pass5.c: In function `pass5':
pass5.c:108: invalid operands to binary -
pass5.c:118: structure has no member named `cg_unused_1'
pass5.c:140: structure has no member named `cg_unused_1'
*** Error code 1

Stop.
====> sbin/mount
cc -O   -c mount.c
mount.c:93: `MNT_USER' undeclared here (not in a function)
*** Error code 1

Stop.
====> sbin/newfs
cc -O -DMFS -I/usr/src/sbin/newfs/../mount   -c mkfs.c
mkfs.c: In function `initcg':
mkfs.c:678: structure has no member named `cg_unused_1'
mkfs.c:697: structure has no member named `cg_unused_1'
*** Error code 1

Stop.
====> sbin/quotacheck
cc -O   -c quotacheck.c
In file included from quotacheck.c:55:
/usr/include/ufs/ufs/quota.h:119: parse error before `LIST_ENTRY'
/usr/include/ufs/ufs/quota.h:119: warning: no semicolon at end of struct or union
/usr/include/ufs/ufs/quota.h:120: parse error before `dq_freelist'
/usr/include/ufs/ufs/quota.h:120: warning: data definition has no type or storage class
/usr/include/ufs/ufs/quota.h:128: parse error before `}'
*** Error code 1

Stop.
====> usr.sbin/edquota
cc -O   -c edquota.c
In file included from edquota.c:55:
/usr/include/ufs/ufs/quota.h:119: parse error before `LIST_ENTRY'
/usr/include/ufs/ufs/quota.h:119: warning: no semicolon at end of struct or union
/usr/include/ufs/ufs/quota.h:120: parse error before `dq_freelist'
/usr/include/ufs/ufs/quota.h:120: warning: data definition has no type or storage class
/usr/include/ufs/ufs/quota.h:128: parse error before `}'
*** Error code 1

Stop.
====> usr.sbin/repquota
cc -O   -c repquota.c
In file included from repquota.c:53:
/usr/include/ufs/ufs/quota.h:119: parse error before `LIST_ENTRY'
/usr/include/ufs/ufs/quota.h:119: warning: no semicolon at end of struct or union
/usr/include/ufs/ufs/quota.h:120: parse error before `dq_freelist'
/usr/include/ufs/ufs/quota.h:120: warning: data definition has no type or storage class
/usr/include/ufs/ufs/quota.h:128: parse error before `}'
*** Error code 1

Stop.
====> usr.sbin/bad144
cc -O   -c bad144.c
In file included from /usr/include/machine/disklabel.h:63, from /usr/include/sys/disklabel.h:51, from bad144.c:63:
/usr/include/sys/dkbad.h:57: redefinition of `struct dkbad'
/usr/include/sys/dkbad.h:61: redefinition of `struct bt_bad'
*** Error code 1

Stop.
====> sys/arch/i386/boot
rm -f machine &&  ln -s /usr/src/sys/arch/i386/boot/../include machine
rm -f i386 &&  ln -s /usr/src/sys/arch/i386/boot/../include i386
cc -O6 -DKERNEL -DI386_CPU -DI486_CPU -DI586_CPU -DDO_BAD144 -I. -I/usr/src/sys/arch/i386/boot -I/usr/src/sys/arch/i386/boot/../../.. -I/usr/src/sys/arch/i386/boot/../..   -c boot.c
In file included from boot.h:34, from boot.c:56:
/usr/src/sys/arch/i386/boot/../../../ufs/ufs/quota.h:119: parse error before `LIST_ENTRY'
/usr/src/sys/arch/i386/boot/../../../ufs/ufs/quota.h:119: warning: no semicolon at end of struct or union
/usr/src/sys/arch/i386/boot/../../../ufs/ufs/quota.h:120: parse error before `dq_freelist'
/usr/src/sys/arch/i386/boot/../../../ufs/ufs/quota.h:120: warning: data definition has no type or storage class
/usr/src/sys/arch/i386/boot/../../../ufs/ufs/quota.h:128: parse error before `}'
*** Error code 1

Stop.