glib 2.0 arm linux,Problem when cross-compiling glib with arm-linux-g...

Processor: i.MX6UL

Cross compilation chain: arm-linux-gnueabihf-gcc(gcc version 4.9.2 20140904)

Host Os: Ubuntu-14.04.5-desktop-amd64

Library: glib-2.16.2

Preceding configure command:

./configure --prefix=/opt/arm/bluez --host=arm-linux CC="arm-linux-gnueabihf-gcc -I/opt/arm/bluez/include -L/opt/arm/bluez/lib" glib_cv_long_long_format=ll glib_cv_stack_grows=no glib_cv_have_strlcpy=no glib_cv_uscore=yes glib_cv_have_qsort_r=yes glib_cv_va_val_copy=yes glib_cv_rtldglobal_broken=no ac_cv_func_posix_getpwuid_r=yes ac_cv_func_posix_getgrgid_r=yes --disable-asm

Error info:

/tmp/ccoROdbd.s: Assembler messages:

/tmp/ccoROdbd.s:46: Error: selected processor does not support Thumb mode `swp r3,r5,[r4]'

/tmp/ccoROdbd.s:65: Error: selected processor does not support Thumb mode `swp r3,r5,[r4]'

make[4]: *** [gatomic.lo] 错误 1

make[4]:正在离开目录 `/home/chensijie/glib-2.16.2/glib'

make[3]: *** [all-recursive] 错误 1

make[3]:正在离开目录 `/home/chensijie/glib-2.16.2/glib'

make[2]: *** [all] 错误 2

make[2]:正在离开目录 `/home/chensijie/glib-2.16.2/glib'

make[1]: *** [all-recursive] 错误 1

make[1]:正在离开目录 `/home/chensijie/glib-2.16.2'

make: *** [all] 错误 2

I encountered this error info while installing the glib library. More specifically, when MAKE command was run.

I searched the Internet for a long time but couldn't find the answer. I will appreciate very much if you can help figure out the cause of the error and the solution. Thanks a lot.

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值