为Android编译Zope2(arm linux AndroidABI gcc长位定义)

为Android编译Zope2(arm linux AndroidABI gcc长位定义),android,python,c++,gcc,arm,Android,Python,C++,Gcc,Arm,因此,我正在尝试使用Android ARM构建zope2,到目前为止进展顺利,但我现在遇到了一个错误: Getting distribution for 'zope.security==3.7.4'. In file included from /home/zac/Documents/Projects/Apps/python-for-android/build/hostpython/Python-2.7.2/Include/Python.h:58:0, from

因此,我正在尝试使用Android ARM构建zope2,到目前为止进展顺利,但我现在遇到了一个错误:

Getting distribution for 'zope.security==3.7.4'.
In file included from /home/zac/Documents/Projects/Apps/python-for-android/build/hostpython/Python-2.7.2/Include/Python.h:58:0,
                 from src/zope/security/_proxy.c:19:
/home/zac/Documents/Projects/Apps/python-for-android/build/hostpython/Python-2.7.2/Include/pyport.h:849:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
 #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
  ^
src/zope/security/_proxy.c: In function 'init_proxy':
src/zope/security/_proxy.c:1006:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   Py_INCREF(&SecurityProxyType);
   ^
error: Setup script exited with error: command 'arm-linux-androideabi-gcc' failed with exit status 1
An error occurred when trying to install zope.security 3.7.4. Look above this message for any errors that were output by easy_install.
While:
  Installing test.
  Getting distribution for 'zope.security==3.7.4'.
Error: Couldn't install: zope.security 3.7.4
问题似乎是:

LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)