1

我正在使用 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
4

0 回答 0