Hi,

I get an "unresolved externals" error message when building pywin32 for pypy, 
as listed below.  Both are the latest versions, 
amauryfa-pywin32-pypy-2a1da51e8152 and pypy-2.0.2.  As per build requirements, 
VS2012 and Win 7 SDD are installed.

Not sure what the error msg indicates, but maybe the python lib in linking is 
missing some required functions.

Possible cause of error may be a python installation on the same system (build 
could be using python lib instead of pypy lib), but python has been removed 
from path, and its folder name has also been changed.

Any suggestions as to cause of this error would be appreciated.

Thanks

Jason


H:> pypy setup.py install

Building pywin32 2.7.217.1
running install
running build
running build_py
running build_ext
Found version 0x601 in H:\Program Files (x86)\Microsoft 
SDKs\Windows\v7.0A\include\SDKDDKVER.H
building 'pywintypes' extension
...

H:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\link.exe /DLL 
/nologo /INCREMENTAL:NO /LIBPATH:H:\pypy-2.0.2\include 
/LIBPATH:build\temp.win32-2.7\Release /LIBPATH:H:\Program Files (x86)\Microsoft 
SDKs\Windows\v7.0A\lib advapi32.lib user32.lib ole32.lib oleaut32.lib 
/EXPORT:initpywintypes build\temp.win32-2.7\Release\win32\src\PyACL.obj 
build\temp.win32-2.7\Release\win32\src\PyDEVMODE.obj 
build\temp.win32-2.7\Release\win32\src\PyHANDLE.obj 
build\temp.win32-2.7\Release\win32\src\PyIID.obj 
build\temp.win32-2.7\Release\win32\src\PyLARGE_INTEGER.obj 
build\temp.win32-2.7\Release\win32\src\PyOVERLAPPED.obj 
build\temp.win32-2.7\Release\win32\src\PySECURITY_ATTRIBUTES.obj 
build\temp.win32-2.7\Release\win32\src\PySECURITY_DESCRIPTOR.obj 
build\temp.win32-2.7\Release\win32\src\PySID.obj 
build\temp.win32-2.7\Release\win32\src\PyTime.obj 
build\temp.win32-2.7\Release\win32\src\PyUnicode.obj 
build\temp.win32-2.7\Release\win32\src\PyWAVEFORMATEX.obj 
build\temp.win32-2.7\Release\win32\src\
 PyWinTypesmodule.obj 
/OUT:build\lib.win32-2.7\pywin32_system32\pywintypes27.dll 
/IMPLIB:build\temp.win32-2.7\Release\win32\src\pywintypes27.lib /MANIFEST 
/MANIFEST:NO /MACHINE:x86 /BASE:0x1e7a0000 /DEBUG 
/PDB:build\temp.win32-2.7\Release\pywintypes.pdb

Creating library build\temp.win32-2.7\Release\win32\src\pywintypes27.lib and 
object build\temp.win32-2.7\Release\win32\src\pywintypes27.exp

PyTime.obj : error LNK2001: unresolved external symbol _PyArg_ParseTuple
PyWAVEFORMATEX.obj : error LNK2001: unresolved external symbol _PyArg_ParseTuple

PyWinTypesmodule.obj : error LNK2019: unresolved external symbol 
_PyArg_ParseTuple referenced in function "int __cdecl 
PyWinGlobals_Ensure(void)" (?PyWinGlobals_Ensure@@YAHXZ)

PyOVERLAPPED.obj : error LNK2001: unresolved external symbol _PyArg_ParseTuple

PySECURITY_ATTRIBUTES.obj : error LNK2001: unresolved external symbol 
_PyArg_ParseTuple

PySECURITY_DESCRIPTOR.obj : error LNK2001: unresolved external symbol 
_PyArg_ParseTuple

...

build\lib.win32-2.7\pywin32_system32\pywintypes27.dll : fatal error LNK1120: 
106 unresolved externals

error: command 'H:\Program Files (x86)\Microsoft Visual Studio 
11.0\VC\BIN\link.exe' failed with exit status 1120
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to