无法在Linux上交叉编译curlpp,面临错误

时间:2019-03-15 09:18:38

标签: linux curl openssl curlpp

我想用curl 7.34构建curlpp。我从互联网上下载了openssl 1.0.i,并构建并安装了32位版本。后来,我使用32位openssl构建并安装了32位curl。现在,我正在尝试构建curlpp,但由于以下错误而失败。

  

$>制作

全部保存在src中

make[1]: Entering directory `/working/curlpp_stuff/curlpp-0.7.3/src'

Making all in utilspp

make[2]: Entering directory `/working/curlpp_stuff/curlpp-0.7.3/src/utilspp'
/bin/sh ../../libtool --silent --tag=CXX   --mode=link g++  -g  -W -Wall -Werror   -I/usr/local/include -I/usr/include  -L/usr/local/curl/lib -o libutilspp.la -rpath /usr/local/lib LifetimeLibrary.lo PrivateMembers.lo  -lstdc++ -L/usr/local/lib -lcurl -lssl -lcrypto -lssl -lcrypto -lz -lrt
/usr/local/curl/lib/libcurl.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status

make[2]: *** [libutilspp.la] Error 1

make[2]: Leaving directory `/working/curlpp_stuff/curlpp-0.7.3/src/utilspp'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/working/curlpp_stuff/curlpp-0.7.3/src'

make: *** [all-recursive] Error 1

我使用命令setarch i386对其进行了配置。/configureCFLAGS = -m32

有人可以在这里帮助我吗?

0 个答案:

没有答案
相关问题