Subject: build.sh fails on Red Hat 7.3 system
To: None <current-users@netbsd.org>
From: Jim Breton <jamesb-netbsd@alongtheway.com>
List: current-users
Date: 05/30/2002 04:10:58
Downloaded source tarball sets dated May 25 from
ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/tar_files/src/ , and
unpacked them.

Running the following command line:

./build.sh -m i386 -D ~/src/netbsd-current/destdir -R
~/src/netbsd-current/release -U

After just over 5 minutes it fails with the following error:

cc -O  -I. -I./include -I/home/build/src/netbsd-current/src/tools/compat
-DHAVE_CONFIG_H  -D_FILE_OFFSET_BITS=64 -D__DBINTERFACE_PRIVATE -c -o
md4hl.lo.o
/home/build/src/netbsd-current/src/tools/compat/../../lib/libc/md/md4hl.c
mv md4hl.lo.o md4hl.lo
cc -O  -I. -I./include -I/home/build/src/netbsd-current/src/tools/compat
-DHAVE_CONFIG_H  -D_FILE_OFFSET_BITS=64 -D__DBINTERFACE_PRIVATE -c -o
md5c.lo.o
/home/build/src/netbsd-current/src/tools/compat/../../lib/libc/md/md5c.c
In file included from
/home/build/src/netbsd-current/src/tools/compat/../../lib/libc/md/md5c.c:42:
/usr/include/md5.h:27: parse error before `UINT4'
/usr/include/md5.h:27: warning: no semicolon at end of struct or union
/usr/include/md5.h:28: warning: data definition has no type or storage
class
/usr/include/md5.h:30: parse error before `}'
/usr/include/md5.h:30: warning: data definition has no type or storage
class
/usr/include/md5.h:32: parse error before `PROTO_LIST'
/usr/include/md5.h:33: parse error before `PROTO_LIST'
/usr/include/md5.h:35: parse error before `PROTO_LIST'
/usr/include/md5.h:37: parse error before `PROTO_LIST'
*** Error code 1

Stop.
nbmake: stopped in /home/build/src/netbsd-current/src/tools/compat
*** Error code 1

Stop.
nbmake: stopped in /home/build/src/netbsd-current/src/tools/compat
*** Error code 1

Stop.
nbmake: stopped in /home/build/src/netbsd-current/src/tools
*** Error code 1

Stop.
nbmake: stopped in /home/build/src/netbsd-current/src
*** Error code 1

Stop.
nbmake: stopped in /home/build/src/netbsd-current/src


Am I doing anything wrong?  (Fwiw, it is gcc "2.96".)