当前位置: 技术问答>linux和unix
ubuntu13.11.0 下搭建交叉编译环境,glibc时遇到错误
来源: 互联网 发布时间:2017-05-20
本文导语: 本帖最后由 songbinghui 于 2014-05-31 18:05:26 编辑 各位大侠,小弟在按此贴http://blog.csdn.net/mcy_cool/article/details/17047027提示的步骤一步步操作下来,在第四步编辑glibc的 make all那里遇到了问题,游牧有人知道怎么解决? //##-...
//##----------------------------------------------------------------------------------
In file included from ../ports/sysdeps/unix/arm/sysdep.h:19:0,
from ../ports/sysdeps/unix/sysv/linux/arm/sysdep.h:24,
from :1:
../ports/sysdeps/arm/sysdep.h:43:4: error: #error unknown arm architecture
# error unknown arm architecture
^
In file included from ../ports/sysdeps/arm/nptl/tls.h:27:0,
from ../ports/sysdeps/unix/sysv/linux/arm/sysdep.h:29,
from :1:
../sysdeps/generic/stdint.h:148:0: warning: "__INT64_C" redefined [enabled by default]
# define __INT64_C(c) c ## LL
^
:1:0: note: this is the location of the previous definition
In file included from ../ports/sysdeps/arm/nptl/tls.h:27:0,
from ../ports/sysdeps/unix/sysv/linux/arm/sysdep.h:29,
from :1:
../sysdeps/generic/stdint.h:149:0: warning: "__UINT64_C" redefined [enabled by default]
# define __UINT64_C(c) c ## ULL
^
:1:0: note: this is the location of the previous definition
make[2]: *** [/home/fanta/glibc-2.18/build/tcb-offsets.h] Error 1
make[2]: Leaving directory `/home/fanta/glibc-2.18/csu'
make[1]: *** [csu/tests] Error 2
make[1]: Leaving directory `/home/fanta/glibc-2.18'
make: *** [check] Error 2
//##----------------------------------------------------------------------------------
电脑前做等
看错误信息好像是arm架构无法识别,可是我这不是x86的机器么,肯定无法识别么,难不成这东西要在板卡上面编译?
求指导啊求指导!!!
|
台式机上编译的在板子上是没法跑,要交叉编译,交叉编译所用的交叉编译器不一定要自己去做,你买的开发板资料里面就应该有
|
没自己制作过交叉编译器