1、官网下载了lighttpd-1.4.49以及pcre.8.38
2、编译pcre.8.38
./configure --host=arm-gcc
mark
3、编译lighttpd.1.4.49
./configure --host=arm --with-openssl
make
make的时候报错
/usr/local/lib/libpcre.so:could not read symbols: File in wrong format
然后我将makefile中的关于pcre的路径全部改了,但是还是报这样的错误,
这个lighttpd改如何交叉编译呢,编译的时候我怎么指定pcre的目录呢?
(pcre我不能make install,公司服务器,没有权限)

来自 http://www.ridgesolutions.ie/...
编译 pcre
编译 lighttpd