Subject: build.sh on Red Hat 7.3
To: None <netbsd-users@netbsd.org>
From: Jim Breton <jamesb-netbsd@alongtheway.com>
List: netbsd-users
Date: 09/22/2002 01:03:59
Hi folks, I'm trying to build 1.6 for i386 on a Red Hat 7.3 (x86)
system.
First, my PATH is set to the following:
/bin:/usr/bin:/usr/local/bin:/usr/bin/X11:/usr/X11R6/bin:/home/build/bin
I'm executing the following:
./build.sh -b -m i386 -D /home/build/src/netbsd/src/destdir -R /home/build/src/netbsd/src/releasedir -U -w ~/bin/nbmake-wrapper
which succeeds, and it does write the wrapper script.
Next, I execute:
./build.sh -m i386 -D /home/build/src/netbsd/src/destdir -R /home/build/src/netbsd/src/releasedir -U -w ~/bin/nbmake-wrapper
This fails like so:
cc -O -I. -I./include -I/home/build/src/netbsd/src/tools/compat
-DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D__DBINTERFACE_PRIVATE -c -o
md5c.lo.o
/home/build/src/netbsd/src/tools/compat/../../lib/libc/md/md5c.c
In file included from
/home/build/src/netbsd/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/src/tools/compat
*** Error code 1
Stop.
nbmake: stopped in /home/build/src/netbsd/src/tools/compat
*** Error code 1
Stop.
nbmake: stopped in /home/build/src/netbsd/src/tools
*** Error code 1
Stop.
nbmake: stopped in /home/build/src/netbsd/src
*** Error code 1
Stop.
nbmake: stopped in /home/build/src/netbsd/src
What am I doing wrong? Note that I asked about this same error on May
29 of this year:
http://marc.theaimsgroup.com/?l=netbsd-current-users&m=102273187101899&w=2
Nobody responded and at that point I gave up, figuring something was
still broken in the build tools. But now that 1.6 is released, and this
still isn't working, I'm asking again. ;) Am I using incorrect arguments
to build.sh?