Hello,

In trying to build -stable from source, I get an error. I have downloaded
and unterred sys.tar.gz and src.tar.gz according to
http://www.openbsd.org/faq/faq5.html#Release and updated the sources
through cvs, according to the instructions http://man.openbsd.org/release .
After I execute (as root, the first time doas produced the same error)

#cd /usr/src && make build

I get the following:
====================
cc
-I/usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../../stand/efi/include/amd64
-DEFIBOOT -DNEEDS_HEAP_H -I/usr/src/sys/arch/amd64/stand/efiboot/bootx64/..
-I/usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../../stand/efi/include
-I/usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../../stand/boot
-ffreestanding -std=gnu99 -fshort-wchar -fPIC -mno-red-zone -DSOFTRAID
-D_STANDALONE -nostdinc -fno-builtin -Os -Wall -Werror -fno-stack-protector
-DMDRANDOM
-I/usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../../stand/efi/include/amd64
-DEFIBOOT -DNEEDS_HEAP_H -I/usr/src/sys/arch/amd64/stand/efiboot/bootx64/..
-I/usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../../stand/efi/include
-I/usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../../stand/boot
-ffreestanding -std=gnu99 -fshort-wchar -fPIC -mno-red-zone -DSOFTRAID
-D_STANDALONE -nostdinc -fno-builtin -Wno-pointer-sign
-I/usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../..
-I/usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../libsa -I.
-I/usr/src/sys/arch/amd64/stand/efiboot/bootx64 -DSMALL -DSLOW -DNOBYFOUR
-D__INTERNAL_LIBSA_CREAD -DHEAP_LIMIT=0xc00000 -c
/usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../../lib/libsa/softraid.c
/usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../../lib/libsa/softraid.c:
In function 'sr_crypto_decrypt_keys':
/usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../../lib/libsa/softraid.c:155:
error: dereferencing pointer to incomplete type
/usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../../lib/libsa/softraid.c:155:
error: 'SR_CRYPTOKDFT_PKCS5_PBKDF2' undeclared (first use in this function)
/usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../../lib/libsa/softraid.c:155:
error: (Each undeclared identifier is reported only once
/usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../../lib/libsa/softraid.c:155:
error: for each function it appears in.)
/usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../../lib/libsa/softraid.c:156:
error: dereferencing pointer to incomplete type
/usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../../lib/libsa/softraid.c:156:
error: 'SR_CRYPTOKDFT_BCRYPT_PBKDF' undeclared (first use in this function)
/usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../../lib/libsa/softraid.c:157:
error: dereferencing pointer to incomplete type
/usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../../lib/libsa/softraid.c:180:
error: dereferencing pointer to incomplete type
/usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../../lib/libsa/softraid.c:183:
error: dereferencing pointer to incomplete type
/usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../../lib/libsa/softraid.c:183:
error: dereferencing pointer to incomplete type
/usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../../lib/libsa/softraid.c:185:
error: dereferencing pointer to incomplete type
/usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../../lib/libsa/softraid.c:191:
error: dereferencing pointer to incomplete type
/usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../../lib/libsa/softraid.c:191:
error: dereferencing pointer to incomplete type
/usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../../lib/libsa/softraid.c:193:
error: dereferencing pointer to incomplete type
/usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../../lib/libsa/softraid.c:198:
error: dereferencing pointer to incomplete type
*** Error 1 in sys/arch/amd64/stand/efiboot/bootx64 (<sys.mk>:87
'softraid.o')
*** Error 1 in sys/arch/amd64/stand/efiboot (<bsd.subdir.mk>:48 'all')
*** Error 1 in sys/arch/amd64/stand (<bsd.subdir.mk>:48 'all')
*** Error 1 in sys/arch/amd64 (<bsd.subdir.mk>:48 'all')
*** Error 1 in sys (<bsd.subdir.mk>:48 'all')
*** Error 1 in . (<bsd.subdir.mk>:48 'all')
*** Error 1 in /usr/src (Makefile:82 'build')
# ^D

Script done on Tue Sep 20 07:16:08 2016
==========

Thanks in advance for your input.

Reply via email to