[Bug 259383] failed to build the openssl from the source code scratch (not from the ports sytem) on FreeBSD 13

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 23 Oct 2021 14:57:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259383

            Bug ID: 259383
           Summary: failed to build the openssl from the source code
                    scratch (not from the ports sytem) on FreeBSD 13
           Product: Base System
           Version: 13.0-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: bycn82@gmail.com

# Failed to compile the openssl from the source code failed on FreeBSD 13

This is not about the ports since i am downloading the source code directly
from the openssl.org, and it works on FreeBSD 12, but failed on FreeBSD 13.
below are the steps.


# uname -a
FreeBSD web 13.0-RELEASE FreeBSD 13.0-RELEASE #0
releng/13.0-n244733-ea31abc261f: Fri Apr  9 04:24:09 UTC 2021    
root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64

# below are the steps
## download the source code
https://www.openssl.org/source/old/1.0.1/openssl-1.0.1h.tar.gz

## configure and compile
./config BSD-x86_64/cc
make

## rrror message
eng_cryptodev.c:202:16: error: use of undeclared identifier 'CRIOGET'
        if (ioctl(fd, CRIOGET, &retfd) == -1)
                      ^
eng_cryptodev.c:973:9: error: assigning to 'u_int8_t' (aka 'unsigned char')
from incompatible type 'void'
                pd[i] = crp->crp_p[bytes - i - 1];
                      ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.

-- 
You are receiving this mail because:
You are the assignee for the bug.