openssl-1.0.1e for arm
1.官網(wǎng)下載最新版本openssl-1.0.1e
2.
./config no-asmshared--prefix=
說明:no-asm??在交叉編譯過程中不使用匯編代碼代碼加速編譯過程。
shared??生成動態(tài)鏈接庫。
??--prefix??????指定生成lib include bin目錄的路徑,不修改此項則默認為OPENSSLDIR目錄。
3.修改Makefile
CC= arm-linux-gcc
#CC= gcc
CFLAG= -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall
DEPFLAG= -DOPENSSL_NO_EC_NISTP_64_GCC_128 -DOPENSSL_NO_GMP -DOPENSSL_NO_JPAKE -DOPENSSL_NO_MD2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_RFC3779 -DOPENSSL_NO_SCTP -DOPENSSL_NO_STORE
PEX_LIBS=
EX_LIBS= -ldl
EXE_EXT=
ARFLAGS=
AR= arm-linux-ar $(ARFLAGS) r
#AR= ar $(ARFLAGS) r
RANLIB= arm-linux-ranlib
#RANLIB= /usr/bin/ranlib
NM= arm-linux-nm
#NM= nm
PERL= /usr/bin/perl
TAR= tar
TARFLAGS= --no-recursion --record-size=10240
MAKEDEPPROG= gcc
LIBDIR=lib
?
?
4.source
5.make&& makeinstall
?
引用庫的順序為:-lssl -lcrypto
cms.pod around line 457: Expected text after =item, not a number 的解決方法
如果在linux下安裝openssl,執(zhí)行config和make之后,在執(zhí)行make install時如果出現(xiàn)下面的錯誤
cms.pod around line 457: Expected text after =item, not a number?
cms.pod around line 461: Expected text after =item, not a number?cms.pod around line 465: Expected text after =item, not a number?
cms.pod around line 470: Expected text after =item, not a number?
cms.pod around line 474: Expected text after =item, not a number?
POD document had syntax errors at /usr/bin/pod2man?line?69.?
則在root權(quán)限下,執(zhí)行rm -f /usr/bin/pod2man ?然后重新make install
總結(jié)
以上是生活随笔為你收集整理的openssl-1.0.1e for arm的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 招行账单分期手续费多少?怎么计算?
- 下一篇: sqlite3_setp