Hi Russell, The issue may be that you build server is not at the target revision. I suggest that you upgrade(install 4.4) on your build server first.
I have an new install of OpenBSD 4.4 (patched to -stable) on which build-release.sh & cie work flawlessly. In essence, some changes between 4.3 and 4.4 may be playing against you. So the easy fix, install 4.4 release the patch and finish with rebuilding you flashboot images or you may get somewhere by only upgrading yacc, libc, libm, libiberty and gcc doing it the hard way. For the hard way, follow the instruction here on how to track current and what are the stop blocks between releases. http://www.openbsd.org/faq/upgrade-old.html Cheers Y. ps.: Make sure you updated you source tree to 4.4 after 2008/11/02 so that it include errata 001 and 002. Russell Sutherland wrote: > I've just updated the source tree of my build machine using cvs to > revision: OPENBSD_4_4 > > When I attempt to perform the: > > # sh ./build-release.sh > > after almost an hour of compiling the error occurs: > > ===> bin/md5 > cc -O2 -pipe -Wall -Wconversion -Wmissing-prototypes > -I/usr/src/bin/md5 -nostdinc -idirafter > /usr/local/src/flashboot/flash-dist/usr/include -c > /usr/src/bin/md5/crc.c > cc -O2 -pipe -Wall -Wconversion -Wmissing-prototypes > -I/usr/src/bin/md5 -nostdinc -idirafter > /usr/local/src/flashboot/flash-dist/usr/include -c > /usr/src/bin/md5/md5.c > cc -o md5 crc.o md5.o > md5.o(.data+0x168): undefined reference to `SHA256_Init' > md5.o(.data+0x16c): undefined reference to `SHA256_Update' > md5.o(.data+0x170): undefined reference to `SHA256_Final' > md5.o(.data+0x174): undefined reference to `SHA256_End' > md5.o(.data+0x194): undefined reference to `SHA384_Init' > md5.o(.data+0x198): undefined reference to `SHA384_Update' > md5.o(.data+0x19c): undefined reference to `SHA384_Final' > md5.o(.data+0x1a0): undefined reference to `SHA384_End' > md5.o(.data+0x1c0): undefined reference to `SHA512_Init' > md5.o(.data+0x1c4): undefined reference to `SHA512_Update' > md5.o(.data+0x1c8): undefined reference to `SHA512_Final' > md5.o(.data+0x1cc): undefined reference to `SHA512_End' > collect2: ld returned 1 exit status > *** Error code 1 > > Stop in /usr/src/bin/md5 (line 95 of /usr/share/mk/bsd.prog.mk). > *** Error code 1 > > Stop in /usr/src/bin (line 48 of /usr/share/mk/bsd.subdir.mk). > *** Error code 1 > > Stop in /usr/src (line 48 of /usr/share/mk/bsd.subdir.mk). > *** Error code 1 > > Stop in /usr/src (line 73 of Makefile). > 43m13.24s real 26m39.58s user 12m6.45s system > > How can I fix this dependency error? > > > _______________________________________________ flashboot mailing list [email protected] https://lists.mindrot.org/mailman/listinfo/flashboot
