[pywin32-bugs] [ pywin32-Bugs-2933477 ] Two Link Errors: LNK2001 and LNK1120
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2011-04-26 06:26:26
|
Bugs item #2933477, was opened at 2010-01-17 05:51 Message generated for change (Settings changed) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2933477&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: installation Group: None >Status: Closed >Resolution: Fixed >Priority: 5 Private: No Submitted By: Tyler (programmer09) Assigned to: Nobody/Anonymous (nobody) Summary: Two Link Errors: LNK2001 and LNK1120 Initial Comment: I was able to fix the previous issue (ID 2929574) by inserting this line in win32/src/win32job_py2_swig.cpp (generated in setup.py): long JOB_OBJECT_LIMIT_RESERVED2=0X00000000L; right before the call to PyInt_FromLong() on the next line. With that issue resolved, I continued the build, but then I got two errors (both linker errors, no compiler errors): ...Previous output... Creating library build\temp.win32-2.6\Release\com/win32comext/axdebug/src\axdebug.lib and object build\temp.win32-2.6\Release\com/win32comext/axdebug/src\axdebug.exp AXDebug.obj : error LNK2001: unresolved external symbol _CLSID_MachineDebugManager build\lib.win32-2.6\win32comext/axdebug\axdebug.pyd : fatal error LNK1120: 1 unresolved externals error: command '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\link.exe"' failed with exit status 1120 ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2011-04-26 16:26 Message: instructions in setup.py are now up-to-date and everything builds fine following them. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2933477&group_id=78018 |