[flashboot] problems compiling OpenBSD 4.4

Russell Sutherland russ at quist.ca
Tue Nov 4 02:43:23 EST 2008


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?


-- 
Russell Sutherland
russ at quist.ca
+1.416.696.7600


More information about the flashboot mailing list