一.编译获取 *.a 库
# tar -xzf openssl-0.9.8h.tar.gz
# cd openssl-0.9.8h
# ./config no-asm
修改 Makefile, 编译项前添加 :
CORSS_COMPILE=arm-hismall-linux-
# make
如果编译不通, 把Makefile里面的所有 -march=pentium 删除.
二.使用*.a库遇到的问题和解决方法
undefined reference to `dlopen'
2010-09-25 10:37
In function `dlfcn_load'
:dso_dlfcn.c:(.text+0x45): undefined reference to `dlopen'
:dso_dlfcn.c:(.text+0xc4): undefined reference to `dlclose'
:dso_dl