I am getting quite a few errors when running the Cython tests through runtests.py. This is on a machine with VS .NET 2003 installed, using the command 'python runtests.py --no-refnanny". I get the same set of errors when I run the tests using the mingw compiler.
-David M Running tests against Cython 0.11.2 Python 2.5.4 |Master installer 1.0.2| (r254:67916, Mar 25 2009, 13:58:21) [MSC v.1310 32 bit (Intel)] Creating library E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\cpp\c_directives.lib and object E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\cpp\c_directives.exp callingconvention.c Creating library E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\c\callingconvention.lib and object E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\c\callingconvention.exp callingconvention.obj : error LNK2019: unresolved external symbol @f...@0 referenced in function _initcallingconvention callingconvention.obj : error LNK2019: unresolved external symbol _p4 referenced in function _initcallingconvention callingconvention.obj : error LNK2019: unresolved external symbol _...@0 referenced in function _initcallingconvention callingconvention.obj : error LNK2019: unresolved external symbol _p3 referenced in function _initcallingconvention callingconvention.obj : error LNK2019: unresolved external symbol _f2 referenced in function _initcallingconvention callingconvention.obj : error LNK2019: unresolved external symbol _p2 referenced in function _initcallingconvention callingconvention.obj : error LNK2019: unresolved external symbol _f1 referenced in function _initcallingconvention callingconvention.obj : error LNK2019: unresolved external symbol _p1 referenced in function _initcallingconvention E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\c\callingconvention.pyd : fatal error LNK1120: 8 unresolved externals callingconvention.cpp Creating library E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\cpp\callingconvention.lib and object E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\cpp\callingconvention.exp callingconvention.obj : error LNK2019: unresolved external symbol @f...@0 referenced in function _initcallingconvention callingconvention.obj : error LNK2019: unresolved external symbol _p4 referenced in function _initcallingconvention callingconvention.obj : error LNK2019: unresolved external symbol _...@0 referenced in function _initcallingconvention callingconvention.obj : error LNK2019: unresolved external symbol _p3 referenced in function _initcallingconvention callingconvention.obj : error LNK2019: unresolved external symbol _f2 referenced in function _initcallingconvention callingconvention.obj : error LNK2019: unresolved external symbol _p2 referenced in function _initcallingconvention callingconvention.obj : error LNK2019: unresolved external symbol _f1 referenced in function _initcallingconvention callingconvention.obj : error LNK2019: unresolved external symbol _p1 referenced in function _initcallingconvention E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\cpp\callingconvention.pyd : fatal error LNK1120: 8 unresolved externals coercearraytoptr.c Creating library E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\c\coercearraytoptr.lib and object E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\c\coercearraytoptr.exp coercearraytoptr.obj : error LNK2019: unresolved external symbol _spam referenced in function ___pyx_f_16coercearraytoptr_eggs E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\c\coercearraytoptr.pyd : fatal error LNK1120: 1 unresolved externals coercearraytoptr.cpp Creating library E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\cpp\coercearraytoptr.lib and object E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\cpp\coercearraytoptr.exp coercearraytoptr.obj : error LNK2019: unresolved external symbol _spam referenced in function "void __cdecl __pyx_f_16coercearraytoptr_eggs(void)" (?__pyx_f_16coercearraytoptr_eggs@@YAXXZ) E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\cpp\coercearraytoptr.pyd : fatal error LNK1120: 1 unresolved externals coercetovoidptr.c Creating library E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\c\coercetovoidptr.lib and object E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\c\coercetovoidptr.exp coercetovoidptr.cpp Creating library E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\cpp\cpdef.lib and object E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\cpp\cpdef.exp cpp_exceptions_T265.cpp Creating library E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\cpp\cpp_exceptions_T265.lib and object E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\cpp\cpp_exceptions_T265.exp cpp_exceptions_T265.obj : error LNK2019: unresolved external symbol "int __cdecl dynamic_error(void)" (?dynamic_error@@YAHXZ) referenced in function "struct _object * __cdecl __pyx_pf_19cpp_exceptions_T265_test_it(struct _object *,struct _object *)" (?__pyx_pf_19cpp_exceptions_T265_test_it@@YAPAU_object@@p...@0@Z) cpp_exceptions_T265.obj : error LNK2019: unresolved external symbol "int __cdecl specified_error(void)" (?specified_error@@YAHXZ) referenced in function "struct _object * __cdecl __pyx_pf_19cpp_exceptions_T265_test_it(struct _object *,struct _object *)" (?__pyx_pf_19cpp_exceptions_T265_test_it@@YAPAU_object@@p...@0@Z) cpp_exceptions_T265.obj : error LNK2019: unresolved external symbol "int __cdecl generic_error(void)" (?generic_error@@YAHXZ) referenced in function "struct _object * __cdecl __pyx_pf_19cpp_exceptions_T265_test_it(struct _object *,struct _object *)" (?__pyx_pf_19cpp_exceptions_T265_test_it@@YAPAU_object@@p...@0@Z) E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\cpp\cpp_exceptions_T265.pyd : fatal error LNK1120: 3 unresolved externals cstructreturn.c e:\py\build\trunk\recipes\cython-0.11.2\tests\build\compile\c\cstructreturn.c(357) : warning C4700: local variable '__pyx_r' used without having been initialized Creating library E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\c\cstructreturn.lib and object E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\c\cstructreturn.exp cstructreturn.cpp Creating library E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\c\declarations.lib and object E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\c\declarations.exp declarations.obj : error LNK2019: unresolved external symbol _ifnp referenced in function ___pyx_f_12declarations_f E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\c\declarations.pyd : fatal error LNK1120: 1 unresolved externals declarations.cpp Creating library E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\cpp\declarations.lib and object E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\cpp\declarations.exp declarations.obj : error LNK2019: unresolved external symbol _ifnp referenced in function "void __cdecl __pyx_f_12declarations_f(void)" (?__pyx_f_12declarations_f@@YAXXZ) E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\cpp\declarations.pyd : fatal error LNK1120: 1 unresolved externals excvalcheck.c Creating library E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\c\excvalcheck.lib and object E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\c\excvalcheck.exp excvalcheck.obj : error LNK2019: unresolved external symbol _tomato referenced in function ___pyx_f_11excvalcheck_eggs excvalcheck.obj : error LNK2019: unresolved external symbol _grail referenced in function ___pyx_f_11excvalcheck_eggs excvalcheck.obj : error LNK2019: unresolved external symbol _spam referenced in function ___pyx_f_11excvalcheck_eggs E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\c\excvalcheck.pyd : fatal error LNK1120: 3 unresolved externals excvalcheck.cpp Creating library E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\cpp\excvalcheck.lib and object E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\cpp\excvalcheck.exp excvalcheck.obj : error LNK2019: unresolved external symbol _tomato referenced in function "void __cdecl __pyx_f_11excvalcheck_eggs(void)" (?__pyx_f_11excvalcheck_eggs@@YAXXZ) excvalcheck.obj : error LNK2019: unresolved external symbol _grail referenced in function "void __cdecl __pyx_f_11excvalcheck_eggs(void)" (?__pyx_f_11excvalcheck_eggs@@YAXXZ) excvalcheck.obj : error LNK2019: unresolved external symbol _spam referenced in function "void __cdecl __pyx_f_11excvalcheck_eggs(void)" (?__pyx_f_11excvalcheck_eggs@@YAXXZ) E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\cpp\excvalcheck.pyd : fatal error LNK1120: 3 unresolved externals nogil.c Creating library E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\c\nogil.lib and object E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\c\nogil.exp nogil.obj : error LNK2019: unresolved external symbol _e2 referenced in function ___pyx_f_5nogil_h nogil.obj : error LNK2019: unresolved external symbol _e1 referenced in function ___pyx_f_5nogil_h nogil.obj : error LNK2019: unresolved external symbol _g2 referenced in function ___pyx_f_5nogil_h E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\c\nogil.pyd : fatal error LNK1120: 3 unresolved externals nogil.cpp Creating library E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\cpp\nogil.lib and object E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\cpp\nogil.exp nogil.obj : error LNK2019: unresolved external symbol "void * __cdecl e2(void)" (?e2@@YAPAXXZ) referenced in function "void __cdecl __pyx_f_5nogil_h(struct _object *)" (?__pyx_f_5nogil_h@@YAXPAU_object@@@Z) nogil.obj : error LNK2019: unresolved external symbol "void __cdecl e1(void)" (?e1@@YAXXZ) referenced in function "void __cdecl __pyx_f_5nogil_h(struct _object *)" (?__pyx_f_5nogil_h@@YAXPAU_object@@@Z) nogil.obj : error LNK2019: unresolved external symbol _g2 referenced in function "void __cdecl __pyx_f_5nogil_h(struct _object *)" (?__pyx_f_5nogil_h@@YAXPAU_object@@@Z) E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\compile\cpp\nogil.pyd : fatal error LNK1120: 3 unresolved externals r_pernici1.c r_pernici1.c(348) : error C2065: 'M_PI' : undeclared identifier r_pernici1.cpp r_pernici1.cpp(348) : error C2065: 'M_PI' : undeclared identifier r_pernici1.cpp(366) : error C3861: 'M_PI': identifier not found, even with argument-dependent lookup callargs.c callargs.c(398) : error C2026: string too big, trailing characters truncated callargs.cpp callargs.cpp(398) : error C2026: string too big, trailing characters truncated cdivision_CEP_516.c cdivision_CEP_516.c(676) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data cdivision_CEP_516.c(677) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data cdivision_CEP_516.c(681) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data cdivision_CEP_516.c(682) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data cdivision_CEP_516.c(850) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data cdivision_CEP_516.c(851) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data cdivision_CEP_516.c(855) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data cdivision_CEP_516.c(856) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data cdivision_CEP_516.c(875) : warning C4013: 'fmodf' undefined; assuming extern returning int cdivision_CEP_516.c(1939) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data cdivision_CEP_516.c(1940) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data cdivision_CEP_516.c(1941) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data cdivision_CEP_516.c(1945) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data cdivision_CEP_516.c(1946) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data cdivision_CEP_516.c(1947) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data cdivision_CEP_516.c(2482) : warning C4244: 'initializing' : conversion from 'int' to 'float', possible loss of data Creating library E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\run\c\cdivision_CEP_516.lib and object E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\run\c\cdivision_CEP_516.exp cdivision_CEP_516.obj : error LNK2019: unresolved external symbol _fmodf referenced in function ___Pyx_mod_float E:\py\build\trunk\recipes\Cython-0.11.2\tests\BUILD\run\c\cdivision_CEP_516.pyd : fatal error LNK1120: 1 unresolved externals classkwonlyargs.c classkwonlyargs.c(313) : error C2026: string too big, trailing characters truncated classkwonlyargs.cpp classkwonlyargs.cpp(313) : error C2026: string too big, trailing characters truncated embedsignatures.c embedsignatures.c(382) : error C2026: string too big, trailing characters truncated embedsignatures.c(1532) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data embedsignatures.c(1897) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data embedsignatures.c(1905) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data embedsignatures.c(3642) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data embedsignatures.cpp embedsignatures.cpp(382) : error C2026: string too big, trailing characters truncated embedsignatures.cpp(1532) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data embedsignatures.cpp(1897) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data embedsignatures.cpp(1905) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data embedsignatures.cpp(3642) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data extkwonlyargs.c extkwonlyargs.c(324) : error C2026: string too big, trailing characters truncated extkwonlyargs.cpp extkwonlyargs.cpp(324) : error C2026: string too big, trailing characters truncated extstarargs.c extstarargs.c(330) : error C2026: string too big, trailing characters truncated extstarargs.cpp extstarargs.cpp(330) : error C2026: string too big, trailing characters truncated kwonlyargs.c kwonlyargs.c(311) : error C2026: string too big, trailing characters truncated kwonlyargs.cpp kwonlyargs.cpp(311) : error C2026: string too big, trailing characters truncated kwonlyargscall.c kwonlyargscall.c(317) : error C2026: string too big, trailing characters truncated kwonlyargscall.cpp kwonlyargscall.cpp(317) : error C2026: string too big, trailing characters truncated starargs.c starargs.c(313) : error C2026: string too big, trailing characters truncated starargs.cpp starargs.cpp(313) : error C2026: string too big, trailing characters truncated ---------------------------------------------------------------------- Ran 1460 tests in 316.701s FAILED (errors=30) _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
