Subject: Re: bin/11211: make build on 1.4.3 fails on a warning
To: None <C.J.E.Pinnock@qmw.ac.uk>
From: Simon Burge <simonb@wasabisystems.com>
List: netbsd-bugs
Date: 10/13/2000 23:05:29
Chris Pinnock wrote:

> >Description:
> 	rmail does no build in 1.4.3 (source checked out this
> 	morning (UTC) from anoncvs.netbsd.org). 
> 
> 	These errors are returned:
> 	cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Werror   
-c /usr/src/libexec/rmail/rmail.c
> 	cc1: warnings being treated as errors
> 	/usr/src/libexec/rmail/rmail.c: In function `main':
> 	/usr/src/libexec/rmail/rmail.c:193: warning: null format string
> [ ... ]

There were some changes to the compiler two or three days ago that go
hand-in-hand with these warnings.  Can you try:

	cd /usr/src/gnu/usr.bin/egcs
	make clean
	make depend
	make
	make install

and that should fix the errors you're seeing in rmail.  You could
probably get away with just "make && make install" with a bit of luck.

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD Sales, Support and Service:  http://www.wasabisystems.com/