Many thanks. That was it.

On Tue, Sep 20, 2016 at 10:26 AM, Joel Sing <j...@sing.id.au> wrote:

> On Tuesday 20 September 2016 09:54:31 soko.tica wrote:
> > 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/inc
> > lude/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/in
> > clude
> > -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/inc
> > lude/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/in
> > clude
> > -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/softr
> > aid.c
> > /usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../..
> /lib/libsa/soft
> > raid.c: In function 'sr_crypto_decrypt_keys':
> > /usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../..
> /lib/libsa/softr
> > aid.c:155: error: dereferencing pointer to incomplete type
> > /usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../..
> /lib/libsa/softr
> > aid.c:155: error: 'SR_CRYPTOKDFT_PKCS5_PBKDF2' undeclared (first use in
> this
> > function)
> > /usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../..
> /lib/libsa/soft
> > raid.c:155: error: (Each undeclared identifier is reported only once
> > /usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../..
> /lib/libsa/softr
> > aid.c:155: error: for each function it appears in.)
> > /usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../..
> /lib/libsa/softr
> > aid.c:156: error: dereferencing pointer to incomplete type
> > /usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../..
> /lib/libsa/softr
> > aid.c:156: error: 'SR_CRYPTOKDFT_BCRYPT_PBKDF' undeclared (first use in
> this
> > function)
>
> I'm not sure what you've done (since the actual commands you ran are not
> specified), however this is -current source, not -stable. Further more
> you've
> ended up with a mix - sys/dev/softraidvar.h is older than
> sys/lib/libsa/softraid.c.
>
> > /usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../..
> /lib/libsa/soft
> > raid.c:157: error: dereferencing pointer to incomplete type
> > /usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../..
> /lib/libsa/softr
> > aid.c:180: error: dereferencing pointer to incomplete type
> > /usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../..
> /lib/libsa/softr
> > aid.c:183: error: dereferencing pointer to incomplete type
> > /usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../..
> /lib/libsa/softr
> > aid.c:183: error: dereferencing pointer to incomplete type
> > /usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../..
> /lib/libsa/softr
> > aid.c:185: error: dereferencing pointer to incomplete type
> > /usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../..
> /lib/libsa/softr
> > aid.c:191: error: dereferencing pointer to incomplete type
> > /usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../..
> /lib/libsa/softr
> > aid.c:191: error: dereferencing pointer to incomplete type
> > /usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../..
> /lib/libsa/softr
> > aid.c:193: error: dereferencing pointer to incomplete type
> > /usr/src/sys/arch/amd64/stand/efiboot/bootx64/../../../../..
> /lib/libsa/softr
> > aid.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