https://stackoverflow.com/questions/11381514/undefined-reference-when-compiling-openssl
I ran into the same problem, and was able to solve it by passing adding -DOPENSSL_PIC
to the config call:
./config -fPIC -DOPENSSL_PIC
Posted 二虎
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了编译openssl失败(SLES11.3), undefined reference to `OPENSSL_cpuid_setup'相关的知识,希望对你有一定的参考价值。
https://stackoverflow.com/questions/11381514/undefined-reference-when-compiling-openssl
I ran into the same problem, and was able to solve it by passing adding -DOPENSSL_PIC
to the config call:
./config -fPIC -DOPENSSL_PIC
以上是关于编译openssl失败(SLES11.3), undefined reference to `OPENSSL_cpuid_setup'的主要内容,如果未能解决你的问题,请参考以下文章