我正在使用VS2012为ARM系统编译Python 2.6.8版本,我在“_ctypes”模块上有一些编译问题。 有谁能帮助我理解这个问题? 以下是编译问题:
1>------ Build started: Project: _ctypes, Configuration: Release ARM ------
1> _ctypes.c
1> callbacks.c
1>..\Modules\_ctypes\callbacks.c(441): error C2065: 'FFI_STDCALL' : undeclared identifier
1> callproc.c
1> cfield.c
1> ffi.c
1>..\Modules\_ctypes\libffi_msvc\ffi.c(113): warning C4018: '>' : signed/unsigned mismatch
1>..\Modules\_ctypes\libffi_msvc\ffi.c(218): error C2065: 'FFI_STDCALL' : undeclared identifier
1>..\Modules\_ctypes\libffi_msvc\ffi.c(218): error C2051: case expression not constant
1>..\Modules\_ctypes\libffi_msvc\ffi.c(285): error C4235: nonstandard extension used : '_asm' keyword not supported on this architecture
1>..\Modules\_ctypes\libffi_msvc\ffi.c(285): error C2065: 'mov' : undeclared identifier
1>..\Modules\_ctypes\libffi_msvc\ffi.c(285): error C2146: syntax error : missing ';' before identifier 'eax'
1>..\Modules\_ctypes\libffi_msvc\ffi.c(285): error C2065: 'eax' : undeclared identifier
..... etc