OpenSSL 1.0.1f on FreeBSD without SCTP

Question

cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include  -fPIC -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS -pthread -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -Wa,--noexecstack -DL_ENDIAN -DTERMIOS -O3 -DMD32_REG_T=int -Wall -O2 -pipe -fPIC -funroll-all-loops -march=opteron -fno-strict-aliasing -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -c bss_dgram.c
bss_dgram.c:74:26: netinet/sctp.h: No such file or directory

[...]

*** Error code 1

Stop in /usr/ports/security/openssl/work/openssl-1.0.1f/crypto/bio.
*** Error code 1

Stop in /usr/ports/security/openssl/work/openssl-1.0.1f/crypto.
*** Error code 1

Stop in /usr/ports/security/openssl/work/openssl-1.0.1f.
*** Error code 1

Stop in /usr/ports/security/openssl.

Answer

# make config
deselect SCTP

# vi /etc/make.conf
WITH_OPENSSL_PORT=yes 

Leave a Reply

Your email address will not be published.