Hello Everyone,
I am trying to compile the Freebsd 12 from Source code and I am facing some issues. Also, I would really appreciate if someone could inform me where to find the "Minimum/Mandatory requirements" for Compiling Version 12.
Background - I am using a Dual XEON CPU (24 Cores) - 100 GB RAM - with FreeBSD freebsd12 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC amd64 - Tried openssl111 and openssl: 1.0.2r,1 - I aso tried CLANG/LLVM40 LLVM50 LLVM60 and LLVM70 - No success.
Here is the Error log: (it seems it is stopping while compiling "/tools/cryptotest"
Any help will be very appreciated.
Thanks Much!
Fabricio.
I am trying to compile the Freebsd 12 from Source code and I am facing some issues. Also, I would really appreciate if someone could inform me where to find the "Minimum/Mandatory requirements" for Compiling Version 12.
Background - I am using a Dual XEON CPU (24 Cores) - 100 GB RAM - with FreeBSD freebsd12 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC amd64 - Tried openssl111 and openssl: 1.0.2r,1 - I aso tried CLANG/LLVM40 LLVM50 LLVM60 and LLVM70 - No success.
Here is the Error log: (it seems it is stopping while compiling "/tools/cryptotest"
Code:
/usr/Kontrol/tmp/obj/usr/Kontrol/tmp/FreeBSD-src/amd64.amd64/tmp/usr/bin/cc -O2 -pipe -DNDEBUG -g -std=gnu99 -fstack-protector-strong -Qunused-arguments -o cryptotest.full cryptotest.o
objcopy --only-keep-debug cryptotest.full cryptotest.debug
objcopy --strip-debug --add-gnu-debuglink=cryptotest.debug cryptotest.full cryptotest
(cd /usr/Kontrol/tmp/FreeBSD-src/tools/tools/crypto && DEPENDFILE=.depend.cryptokeytest NO_SUBDIR=1 make -f /usr/Kontrol/tmp/FreeBSD-src/tools/tools/crypto/Makefile _RECURSING_PROGS=t PROG=cryptokeytest )
/usr/Kontrol/tmp/obj/usr/Kontrol/tmp/FreeBSD-src/amd64.amd64/tmp/usr/bin/cc -O2 -pipe -DNDEBUG -g -MD -MF.depend.cryptokeytest.cryptokeytest.o -MTcryptokeytest.o -std=gnu99 -fstack-protector-strong -Qunused-arguments -c /usr/Kontrol/tmp/FreeBSD-src/tools/tools/crypto/cryptokeytest.c -o cryptokeytest.o
/usr/Kontrol/tmp/FreeBSD-src/tools/tools/crypto/cryptokeytest.c:113:26: error: incomplete definition of type 'struct bignum_st'
for (i = 0, j = 0; i < n->top; i++) {
~^
/usr/Kontrol/tmp/obj/usr/Kontrol/tmp/FreeBSD-src/amd64.amd64/tmp/usr/include/openssl/ossl_typ.h:80:16: note: forward declaration of
'struct bignum_st'
typedef struct bignum_st BIGNUM;
^
/usr/Kontrol/tmp/FreeBSD-src/tools/tools/crypto/cryptokeytest.c:117:17: error: incomplete definition of type 'struct bignum_st'
rd[j + k] = n->d[i] >> (k * 8);
~^
/usr/Kontrol/tmp/obj/usr/Kontrol/tmp/FreeBSD-src/amd64.amd64/tmp/usr/include/openssl/ossl_typ.h:80:16: note: forward declaration of
'struct bignum_st'
typedef struct bignum_st BIGNUM;
^
/usr/Kontrol/tmp/FreeBSD-src/tools/tools/crypto/cryptokeytest.c:147:25: warning: assigning to 'caddr_t' (aka 'char *') from 'u_int8_t *'
(aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
kop.crk_param[0].crp_p = ale;
^ ~~~
/usr/Kontrol/tmp/FreeBSD-src/tools/tools/crypto/cryptokeytest.c:149:25: warning: assigning to 'caddr_t' (aka 'char *') from 'u_int8_t *'
(aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
kop.crk_param[1].crp_p = ble;
^ ~~~
/usr/Kontrol/tmp/FreeBSD-src/tools/tools/crypto/cryptokeytest.c:151:25: warning: assigning to 'caddr_t' (aka 'char *') from 'u_int8_t *'
(aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
kop.crk_param[2].crp_p = cle;
^ ~~~
/usr/Kontrol/tmp/FreeBSD-src/tools/tools/crypto/cryptokeytest.c:153:25: warning: assigning to 'caddr_t' (aka 'char *') from 'u_int8_t *'
(aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
kop.crk_param[3].crp_p = cle;
^ ~~~
4 warnings and 2 errors generated.
*** Error code 1
Stop.
make[1]: stopped in /usr/Kontrol/tmp/FreeBSD-src/tools/tools/crypto
*** Error code 1
Thanks Much!
Fabricio.