[pypy-dev] Link errors while translating with VS2010 and 64bit

Amaury Forgeot d'Arc amauryfa at gmail.com
Wed Feb 2 01:06:56 CET 2011


2011/2/2 Tasos Vogiatzoglou <tvoglou at gmail.com>:
> After that change I had lot's of linking issues like
>
> [platform:ERROR] testing_25.obj : error LNK2019: unresolved external
> symbol __imp_Py_BuildValue referenced in function malloc_counters
> [platform:ERROR] testing_25.obj : error LNK2019: unresolved external
> symbol __imp_PyMethod_New referenced in function gencfunc_descr_get
> [platform:ERROR] testing_25.obj : error LNK2019: unresolved external
> symbol __imp__Py_NoneStruct referenced in function gencfunc_descr_get
>
> Any idea ?

You are certainly building an extension module for the host Python
(the one which runs the tests).
You should check that the link command finds the correct Python27.lib,
corresponding to your
installation of Python.
btw, are you really running a 64bit Python?

-- 
Amaury Forgeot d'Arc



More information about the Pypy-dev mailing list