Subject: building 4.0beta?
To: None <>
From: Steven M. Bellovin <>
List: current-users
Date: 12/02/2006 17:33:43
Should I be able to build 4.0beta on a -current system?  I assumed so,
since it was just branched yesterday, and the -current system I'm using
is about six weeks old.  But when I try the build, I get this failure:

#   compile  ntp-keygen/ntp-keygen.o
/usr/BUILD4/tools/bin/i386--netbsdelf-gcc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional  -Werror   -I/usr/src/usr.sbin/ntp/ntp-keygen/../include -I/usr/src/dist/ntp/include -DHAVE_CONFIG_H -DOPENSSL -DWANT_IPV6  -nostdinc -isystem /usr/BUILD4/netbsd/usr/include  -c    /usr/src/dist/ntp/util/ntp-keygen.c
cc1: warnings being treated as errors
/usr/src/dist/ntp/util/ntp-keygen.c: In function 'main':
/usr/src/dist/ntp/util/ntp-keygen.c:269: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'int'

I assume I can build if I set USETOOLS=NO, but that's not really my

		--Steve Bellovin,