[Distutils] distutil or setup problem?
Berthold Höllmann
hoel@germanlloyd.org
Tue Nov 21 09:59:01 2000
"Thomas Heller" <thomas.heller@ion-tof.com> writes:
>
> Can you post or send the output of 'python setup.py build' ?
Here the comes the requested:
C:\hoel\solver\python>python C:\hoel\solver\python\setup.py build
running build
running build_clib
building 'mtxobj' library
C:\Programme\Microsoft Visual Studio\VC98\BIN\cl.exe /c /nologo /Ox /MD /W3 /GX -I.. -If:/data/fbf/fi/devel/include -If:/data/fbf/fi/devel/include/pthreads -If:/data/fbf/fi/devel/include/spooles /Tc../mtxobj_spooles.c /Fobuild\temp.win32-1.5\../mtxobj_spooles.obj
mtxobj_spooles.c
C:\Programme\Microsoft Visual Studio\VC98\BIN\cl.exe /c /nologo /Ox /MD /W3 /GX -I.. -If:/data/fbf/fi/devel/include -If:/data/fbf/fi/devel/include/pthreads -If:/data/fbf/fi/devel/include/spooles /Tc../mtxfile_mtxobj.c /Fobuild\temp.win32-1.5\../mtxfile_mtxobj.obj
mtxfile_mtxobj.c
C:\Programme\Microsoft Visual Studio\VC98\BIN\cl.exe /c /nologo /Ox /MD /W3 /GX -I.. -If:/data/fbf/fi/devel/include -If:/data/fbf/fi/devel/include/pthreads -If:/data/fbf/fi/devel/include/spooles /Tc../mtxPobj_spooles.c /Fobuild\temp.win32-1.5\../mtxPobj_spooles.obj
mtxPobj_spooles.c
../mtxPobj_spooles.c(177) : warning C4101: 'ierr' : unreferenced local variable
../mtxPobj_spooles.c(176) : warning C4101: 'max_row' : unreferenced local variable
../mtxPobj_spooles.c(176) : warning C4101: 'min_row' : unreferenced local variable
C:\Programme\Microsoft Visual Studio\VC98\BIN\lib.exe build\temp.win32-1.5\../mtxobj_spooles.obj build\temp.win32-1.5\../mtxfile_mtxobj.obj build\temp.win32-1.5\../mtxPobj_spooles.obj /OUT:build\temp.win32-1.5\mtxobj.lib
Microsoft (R) Library Manager Version 6.00.8168
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
running build_ext
building '_spsolve' extension
creating build\temp.win32-1.5\Release
C:\Programme\Microsoft Visual Studio\VC98\BIN\cl.exe /c /nologo /Ox /MD /W3 /GX -DVISUAL_CPLUSPLUS -DDebug -If:\data\fbf\fi\devel\include -IG:\bin\Python\include\python1.5/Numeric -Ic:\devl\include -IG:\bin\Python\Include /Tcspsolve.c /Fobuild\temp.win32-1.5\Release\spsolve.obj
spsolve.c
spsolve.c(232) : warning C4013: 'mtxPobj_symbFacPermute' undefined; assuming extern returning int
spsolve.c(259) : warning C4013: 'mtxPobj_numFac' undefined; assuming extern returning int
spsolve.c(305) : warning C4018: '!=' : signed/unsigned mismatch
spsolve.c(369) : warning C4018: '!=' : signed/unsigned mismatch
spsolve.c(392) : warning C4018: '!=' : signed/unsigned mismatch
spsolve.c(347) : warning C4101: 'tmp' : unreferenced local variable
spsolve.c(468) : warning C4018: '!=' : signed/unsigned mismatch
spsolve.c(472) : warning C4018: '!=' : signed/unsigned mismatch
spsolve.c(426) : warning C4101: 'Pobj' : unreferenced local variable
spsolve.c(427) : warning C4101: 'tmp' : unreferenced local variable
spsolve.c(519) : warning C4101: 'd' : unreferenced local variable
creating build\lib.win32-1.5
C:\Programme\Microsoft Visual Studio\VC98\BIN\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:c:\devl\bin /LIBPATH:f:\data\fbf\fi\devel\lib /LIBPATH:lib /LIBPATH:G:\bin\Python\libs /LIBPATH:build\temp.win32-1.5 mtxfile.lib spooles.lib cvwmpi.lib mtxobj.lib /EXPORT:init_spsolve build\temp.win32-1.5\Release\spsolve.obj /OUT:build\lib.win32-1.5\_spsolve.pyd /IMPLIB:build\temp.win32-1.5\Release\_spsolve.lib /nodefaultlib:libc
spooles.lib(dll.obj) : error LNK2005: _DllMain@12 already defined in MSVCRT.lib(dllmain.obj)
spooles.lib(dll.obj) : warning LNK4006: _DllMain@12 already defined in MSVCRT.lib(dllmain.obj); second definition ignored
Creating library build\temp.win32-1.5\Release\_spsolve.lib and object build\temp.win32-1.5\Release\_spsolve.exp
spsolve.obj : error LNK2001: unresolved external symbol _PyErr_SetFromErrno
spsolve.obj : error LNK2001: unresolved external symbol _PyCObject_FromVoidPtr
spsolve.obj : error LNK2001: unresolved external symbol _PyArg_ParseTuple
spsolve.obj : error LNK2001: unresolved external symbol _PyCObject_AsVoidPtr
spsolve.obj : error LNK2001: unresolved external symbol _PyErr_SetString
spsolve.obj : error LNK2001: unresolved external symbol __imp__PyExc_TypeError
spsolve.obj : error LNK2001: unresolved external symbol __imp__PyCObject_Type
spsolve.obj : error LNK2001: unresolved external symbol _Py_BuildValue
spsolve.obj : error LNK2001: unresolved external symbol __imp__PyExc_ValueError
spsolve.obj : error LNK2001: unresolved external symbol __imp___Py_NoneStruct
spsolve.obj : error LNK2001: unresolved external symbol _PyDict_GetItemString
spsolve.obj : error LNK2001: unresolved external symbol _PyModule_GetDict
spsolve.obj : error LNK2001: unresolved external symbol _PyImport_ImportModule
spsolve.obj : error LNK2001: unresolved external symbol _Py_InitModule4
... <lots of other, surely unrelated unresolved external's from a
library used>
build\lib.win32-1.5\_spsolve.pyd : fatal error LNK1120: 31 unresolved externals
error: command '"C:\Programme\Microsoft Visual Studio\VC98\BIN\link.exe"' failed with exit status 1120
C:\hoel\solver\python>
--
email: hoel@GermanLloyd.org
) tel. : +49 (40) 3 61 49 - 73 74
(
C[_] These opinions might be mine, but never those of my employer.