QT-E编译错误.obj/release-shared-emb-arm/qscriptcontext_p.o和sub-script-make_default-ordered解决方法

错误如下提示:

Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
{standard input}: Assembler messages:
{standard input}:20764: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:20825: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:20826: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:20888: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:21068: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:21069: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:21157: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:21158: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:21229: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:21364: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:21379: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:21486: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:21499: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
make[1]: *** [.obj/release-shared-emb-arm/qscriptcontext_p.o] Error 1
make[1]: Leaving directory `/home/gfpeak/qt4.5.3/qt-embedded-linux-opensource-src-4.5.3-arm/src/script'
make: *** [sub-script-make_default-ordered] Error 2

 

错误原因是交叉编译器的原因,把交叉编译器换成arm-linux-gcc3.4.1,一切OK!

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值