如何交叉编译ARM节俭 [英] How to cross-compile thrift for ARM

查看:586
本文介绍了如何交叉编译ARM节俭的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试过这个命令配置节俭,

I tried this command to configure thrift,

./配置CXX =臂Linux的gnueabi-G ++ CC =臂Linux的gnueabi-GCC - preFIX = /武器/节俭主机=臂Linux的gnueabi --with-CPP --with升压= /路径到升压换臂

和满足下列错误味精

检查boostlib> = 1.40.0 ...是检查的libevent> = 1.0 ...
  配置:错误:`/arms/thrift-0.9.0':配置:错误:不能
  运行测试程序,而交叉编译

checking for boostlib >= 1.40.0... yes checking for libevent >= 1.0... configure: error: in `/arms/thrift-0.9.0': configure: error: cannot run test program while cross compiling

请问有什么解决办法吗?

Is there any solution?

推荐答案

节俭0.9.0为 BROKEN 作为交叉编译。你所看到的问题是部分因为他们拥有的是不提供的东西pkg配置的东西答案的东西,至少在几个静态路径(如果不是全部)。它看到自己SYSROOT之外的各种各样的事情现在。

Thrift 0.9.0 is BROKEN for cross-compile. Part of the problems you're seeing are because they have static paths for at least a few (if not all) of the stuff that doesn't offer pkg-config stuff answers for things. It's looking outside of your sysroot for all sorts of things right now.

有记录在他们的吉拉的问题,但他们采取的立场是你有你的设置参数--includedir? (呃,是--includedir指定那里的东西都是我SYSROOT之内,你应该兑现的东西像关闭PHP构建(它没有现在...叹息... ...)和--with-的libtool -sysroot是prefixes一切,所以你可以交叉编译。)所以,我不认为帮助将随时即将在不久的将来。

There's an issue logged in their Jira, but the position they take is "have you set your --includedir parameter?" (Uh, --includedir is specifying where things are within my sysroot, and you're supposed to honor things like turning off PHP builds (it doesn't right now...sigh...) and a --with-libtool-sysroot that prefixes everything so you can cross-compile.) So, I don't think help will be forthcoming anytime in the immediate future.

这篇关于如何交叉编译ARM节俭的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆