Subject: Re: building 4.0beta?
To: None <current-users@NetBSD.org>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: current-users
Date: 12/03/2006 11:25:44
On Sun, 3 Dec 2006 16:47:36 +0100
Christian Biere <christianbiere@gmx.de> wrote:

> Steven M. Bellovin wrote:
> > "Valeriy E. Ushakov" <uwe@ptc.spbu.ru> wrote:
> > > > #   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 point.
> > > 
> > > There was a bug in the recent openssl, where they have
> > > accidentally dropped the L suffix from OPENSSL_VERSION_NUMBER
> > > 
> > I had the version with the L, but the failure I'm seeing is nowhere
> > near there.
> 
> Really? Then what's around those lines in the version you have?
> 

I believe the problem was a script of mine.  If you look at the output
above, you'll see that it references /usr/src, but I was trying to
build in /usr/src4.  In other words, when I verified my openssl
version, I looked at the correct spot, but I was compiling a different
one.

I've fixed my script and am retrying.


		--Steve Bellovin, http://www.cs.columbia.edu/~smb