Subject: build.sh fails on libc/hash/rmd160.c
To: None <current-users@NetBSD.org>
From: Matthias Petermann <matthias.petermann@bsd-crew.de>
List: current-users
Date: 11/01/2005 23:03:14
Hi,

I'm trying to build current using the build.sh-script. The build
process breaks while compiling around /lib/libc/hash/rmd160.c with
the following errors:

-----------------------------------------------------------------

#   compile  compat/rmd160.lo
cc -O  -I. -I./include -I/u/build/src/tools/compat
-DHAVE_NBTOOL_CONFIG_H=1  -D_
FILE_OFFSET_BITS=64 -D__DBINTERFACE_PRIVATE -c -o rmd160.lo.o
/u/build/src/li
b/libc/hash/rmd160.c
/u/build/src/lib/libc/hash/rmd160.c: In function `RMD160Init':
/u/build/src/lib/libc/hash/rmd160.c:139: error: structure has no member
named `length'
/u/build/src/lib/libc/hash/rmd160.c:139: error: structure has no member
named `length'
/u/build/src/lib/libc/hash/rmd160.c:140: error: structure has no member
named `buflen'
/u/build/src/lib/libc/hash/rmd160.c: At top level:
/u/build/src/lib/libc/hash/rmd160.c:147: error: conflicting types for
`RMD160Transform'
/u/build/src/sys/crypto/ripemd160/rmd160.h:45: error: previous
declaration of `RMD160Transform'
/u/build/src/lib/libc/hash/rmd160.c: In function `RMD160Update':
/u/build/src/lib/libc/hash/rmd160.c:365: error: structure has no member
named `length'
/u/build/src/lib/libc/hash/rmd160.c:365: error: structure has no member
named `length'
/u/build/src/lib/libc/hash/rmd160.c:366: error: structure has no member
named `length'
/u/build/src/lib/libc/hash/rmd160.c:367: error: structure has no member
named `length'
/u/build/src/lib/libc/hash/rmd160.c:371: error: structure has no member
named `buflen'
/u/build/src/lib/libc/hash/rmd160.c:373: error: structure has no member
named `bbuffer'
/u/build/src/lib/libc/hash/rmd160.c:373: error: structure has no member
named `buflen'
/u/build/src/lib/libc/hash/rmd160.c:374: error: structure has no member
named `buflen'
/u/build/src/lib/libc/hash/rmd160.c:379: error: structure has no member
named `buflen'
/u/build/src/lib/libc/hash/rmd160.c:380: error: structure has no member
named `bbuffer'
/u/build/src/lib/libc/hash/rmd160.c:380: error: structure has no member
named `buflen'

[.....]
  
*** Failed target:  rmd160.lo
*** Failed command: cc -O -I. -I./include -I/u/build/src/tools/compat
-DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D__DBINTERFACE_PRIVATE
-c -o rmd160.lo.o /u/build/src/lib/libc/hash/rmd160.c
*** Error code 1
  
Stop.
nbmake: stopped in /u/build/src/tools/compat

-----------------------------------------------------------------

The problem appeared for the first time some weeks ago. I checked
this again with today's CVS sources. Build platform was NetBSD 2.0
and NetBSD 3.0_BETA. Target was i386.

Is this worth to open a problem report, or is anybody already working 
on it?

Kind regards
Matthias