我正在尝试在Solaris 11上构建openssl-1.1.0。
uname -a
SunOS test-sol11 5.11 11.3 sun4v sparc sun4v
首先,我将默认配置脚本运行为./config
,然后在生成的Makefile中添加了标志-m64,以将o / p用作64位库。我基本上是在生成的Makefile中更改-xarch=v8plus to -m64
但是make all
命令会运行一段时间,然后给出以下错误消息。
l -L. -lcrypto -lsocket -lnsl -ldl -lpthread
ld: warning: relocation warning: R_SPARC_COPY: file ./libcrypto.so: symbol PBE2PARAM_it: relocation bound to a symbol with STV_PROTECTED visibility
ld: warning: relocation warning: R_SPARC_COPY: file ./libcrypto.so: symbol PBKDF2PARAM_it: relocation bound to a symbol with STV_PROTECTED visibility
ld: warning: relocation warning: R_SPARC_COPY: file ./libcrypto.so: symbol PBEPARAM_it: relocation bound to a symbol with STV_PROTECTED visibility
Undefined first referenced
symbol in file
_sparcv9_rdtick ./libcrypto.so
DES_encrypt1 ./libcrypto.so
DES_encrypt2 ./libcrypto.so
DES_encrypt3 ./libcrypto.so
aes_t4_set_decrypt_key ./libcrypto.so
aes_t4_set_encrypt_key ./libcrypto.so
cmll256_t4_ctr32_encrypt ./libcrypto.so
bn_add_words ./libcrypto.so
ecp_nistz256_mul_mont ./libcrypto.so
当我尝试使用openssl-1.1.0i
时,相同的步骤不会导致任何错误。我的目标是在solaris 11上构建openssl-1.1.0。
请告知我要去哪里了。