Chinaunix
标题:
linux下Python-3.2.3交叉编译问题
[打印本页]
作者:
lgperson
时间:
2012-09-10 12:50
标题:
linux下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
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2