Subject: newfs compilation fails
To: None <current-users@NetBSD.ORG>
From: None <Havard.Eidnes@runit.sintef.no>
List: current-users
Date: 07/04/1997 14:13:29
Hi,
it seems that the mount sources aren't ready for WARNS=1.
As a workaround I've commented out the setting of WARNS in newfs'
Makefile. This is with freshly SUPed sources as of yesterday.
- Havard
------------------------------
===> sbin/newfs
cc -O -DMFS -I/usr/src/sbin/newfs -I/usr/src/sbin/newfs/../mount -I/usr/src/sbin/newfs/../disklabel -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -c /usr/src/sbin/newfs/../disklabel/dkcksum.c
cc -O -DMFS -I/usr/src/sbin/newfs -I/usr/src/sbin/newfs/../mount -I/usr/src/sbin/newfs/../disklabel -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -c /usr/src/sbin/newfs/../mount/getmntopts.c
cc1: warnings being treated as errors
/usr/src/sbin/newfs/../mount/getmntopts.c: In function `getmntopts':
/usr/src/sbin/newfs/../mount/getmntopts.c:67: warning: null format string
/usr/src/sbin/newfs/../mount/getmntopts.c: At top level:
/usr/src/sbin/newfs/../mount/getmntopts.c:40: warning: `rcsid' defined but not used
*** Error code 1
Stop.