# cd /usr/src/secure/lib/libcrypto/ # make # make clang -O -pipe -O2 -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl -DTERMIOS -DANSI_SOURCE -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DAES_ASM -DBSAES_ASM -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DGHASH_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -I/usr/obj/usr/src/secure/lib/libcrypto -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1 -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/evp -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/modes -MD -MF.depend.bn_asm.o -MTbn_asm.o -std=gnu89 -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bn/bn_asm.c -o bn_asm.o /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bn/bn_asm.c:887:13: fatal error: 'alloca.h' file not found # include <alloca.h> ^ 1 error generated. *** Error code 1 Stop. ----------------------- And ----------------------- --- libcrypto.so.8 --- cryptlib.So: In function `OPENSSL_cpuid_setup': /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/cryptlib.c:(.text+0xb38): multiple definition of `OPENSSL_cpuid_setup' armcap.So:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/armcap.c:(.text+0x0): first defined here bn_asm.So: In function `bn_mul_mont': /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bn/bn_asm.c:(.text+0x1c00): multiple definition of `bn_mul_mont' armv4-mont.So:(.text+0x0): first defined here clang: error: linker command failed with exit code 1 (use -v to see invocation) # svn info | grep Revis Revision: 305765 Previous building from Aug-29 was ok.
(In reply to Borodin Oleg from comment #0) > # cd /usr/src/secure/lib/libcrypto/ > # make You cannot build it directly from the directory like this. At least, you should install header files first, i.e., "make installincludes".
(In reply to Jung-uk Kim from comment #1) >You cannot build it directly from the directory like this. At least, you should install header files first, i.e., "make installincludes". Hmm... I wrote the PR from buildworld result... But now everything is fine # cd /usr/src/ # svn sw svn://svn.freebsd.org/base/stable/11 # svn update # make includes # cd secure/lib/libcrypto/ # make cleandepend clean # make depend # make -j4 && echo OK OK Thanks!