主题 : fedroa 9下交叉编译Python-3.2.3失败 复制链接 | 浏览器收藏 | 打印
www.3g.com.cn
级别: 新手上路
UID: 60853
精华: 0
发帖: 21
金钱: 110 两
威望: 22 点
综合积分: 42 分
注册时间: 2011-12-18
最后登录: 2013-10-23
楼主  发表于: 2012-09-10 12:27

 fedroa 9下交叉编译Python-3.2.3失败

./configure -host=arm-linux -prefix=/usr/local/arm-linux/Python成功
...

然后make失败

[root@localhost Python-3.2.3]# make
arm-linux-gcc -c -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -DPy_BUILD_CORE -o Modules/python.o ./Modules/python.c
In file included from Include/Python.h:50:0,
  from ./Modules/python.c:3:
Include/pyport.h:260:13: error: #error "This platform's pyconfig.h needs to define PY_FORMAT_LONG_LONG"
make: *** [Modules/python.o] 错误 1