Subject: Re: sha2 move makes mtree unhappy
To: None <current-users@netbsd.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: current-users
Date: 08/26/2005 13:32:52
On Thu, Aug 25, 2005 at 06:40:35PM +0100, Patrick Welche wrote:
> With 16:02 UTC code, tools/mtree fails to compile (build.sh release/i386) with
This seems to be fixed by
RCS file: /cvsroot/src/tools/mtree/Makefile,v
revision 1.6
date: 2005/08/26 03:19:14; author: elad; state: Exp; lines: +2 -2
Tools can't use SHA2. Noted by Geoff Wing.
.. but now:
# create config/pack.d
/usr/src/obj.i386/tooldir.NetBSD-3.99.7-i386/bin/nbhost-mkdep -f pack.d -- -DMAKE_BOOTSTRAP -I/usr/src/tools/compat/obj.i386 -I/usr/src/tools/compat/obj.i386/include -I/usr/src/tools/config/../compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -I/usr/src/tools/config/../../usr.bin/config -I. /usr/src/tools/config/../../usr.bin/config/pack.c
--- dependall-cksum ---
/usr/src/usr.bin/cksum/cksum.c:98:25: crypto/sha2.h: No such file or directory
...
and
# create asn1_compile/symbol.d
/usr/src/obj.i386/tooldir.NetBSD-3.99.7-i386/bin/nbhost-mkdep -f symbol.d -- -I/usr/src/tools/compat/obj.i386 -I/usr/src/tools/compat/obj.i386/include -I/usr/src/tools/asn1_compile/../compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -I. -I/usr/src/include/heimdal -I/usr/src/crypto/dist/heimdal/lib/asn1 -I/usr/src/crypto/dist/heimdal/lib/roken -DKRB5=1 -DHAVE_CONFIG_H -DHAVE_IPV6 /usr/src/crypto/dist/heimdal/lib/asn1/symbol.c
--- dependall-cksum ---
/usr/src/usr.bin/cksum/cksum.c:144: error: (near initialization for `hashes[6]')
/usr/src/usr.bin/cksum/cksum.c:147: error: `SHA512_File' undeclared here (not in a function)
...
(Interestingly the last one doesn't complain about the lack of sha2.h)
Cheers,
Patrick