Fw: [wxPython-users] 1>make_buildinfo.obj : error LNK2019: unresolved external symbol __imp__RegQueryValueExA at 24 referenced in function _make_buildinfo2

etaoinbe etaoinbe at yahoo.com
Tue Dec 5 11:19:02 EST 2006


I have added advapi32 &user32. This is my current result :

I am quite surprised there are so many issues with the solution file
that comes with python25.
I remember py23 built out of the box :(

1>------ Build started: Project: make_versioninfo, Configuration: Debug
Win32 ------
2>------ Build started: Project: make_buildinfo, Configuration: Debug
Win32 ------
1>Linking...
2>Linking...
1>Embedding manifest...
2>Embedding manifest...
2>Build log was saved at
"file://d:\Python-2.5\PCbuild8\x86-temp-release\make_buildinfo\BuildLog.htm"
2>make_buildinfo - 0 error(s), 0 warning(s)
1>Performing Custom Build Step
1>Performing Post-Build Event...
1>Build log was saved at
"file://d:\Python-2.5\PCbuild8\x86-temp-debug\make_versioninfo\BuildLog.htm"
1>make_versioninfo - 0 error(s), 0 warning(s)
3>------ Build started: Project: python, Configuration: Debug Win32
------
3>Linking...
3>Embedding manifest...
4>------ Build started: Project: pythoncore, Configuration: Debug Win32
------
3>Build log was saved at
"file://d:\Python-2.5\PCbuild8\x86-temp-debug\python\BuildLog.htm"
3>python - 0 error(s), 0 warning(s)
4>generate buildinfo
4>cl.exe -c -D_WIN32 -DUSE_DL_EXPORT -D_WINDOWS -DWIN32 -D_WINDLL
-D_DEBUG -MDd ..\Modules\getbuildinfo.c -Fogetbuildinfo.o -I..\Include
-I..\PC
4>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42
for 80x86
4>Copyright (C) Microsoft Corporation.  All rights reserved.
4>getbuildinfo.c
4>Linking...
4>   Creating library .\./python25_d.lib and object .\./python25_d.exp
5>------ Build started: Project: w9xpopen, Configuration: Debug Win32
------
5>Linking...
4>config.obj : error LNK2001: unresolved external symbol _init_types
4>getversion.obj : error LNK2019: unresolved external symbol
_Py_GetBuildInfo referenced in function _Py_GetVersion
4>posixmodule.obj : error LNK2019: unresolved external symbol
__imp__ShellExecuteA at 24 referenced in function _win32_startfile
4>posixmodule.obj : error LNK2019: unresolved external symbol
__imp__ShellExecuteW at 24 referenced in function _win32_startfile
4>sysmodule.obj : error LNK2019: unresolved external symbol
__Py_svnversion referenced in function _svnversion_init
4>./python25_d.dll : fatal error LNK1120: 5 unresolved externals
4>Build log was saved at
"file://d:\Python-2.5\PCbuild8\x86-temp-debug\pythoncore\BuildLog.htm"
4>pythoncore - 6 error(s), 0 warning(s)
5>Embedding manifest...
5>Build log was saved at
"file://d:\Python-2.5\PCbuild8\x86-temp-debug\w9xpopen\BuildLog.htm"
5>w9xpopen - 0 error(s), 0 warning(s)
6>------ Build started: Project: _ctypes, Configuration: Debug Win32
------
7>------ Build started: Project: _msi, Configuration: Debug Win32
------
7>Linking...
6>Linking...
7>   Creating library .\./_msi.lib and object .\./_msi.exp
7>_msi.obj : error LNK2019: unresolved external symbol
__imp__RpcStringFreeA at 4 referenced in function _uuidcreate
7>_msi.obj : error LNK2019: unresolved external symbol
__imp__UuidToStringA at 8 referenced in function _uuidcreate
7>_msi.obj : error LNK2019: unresolved external symbol
__imp__UuidCreate at 4 referenced in function _uuidcreate
6>   Creating library .\./_ctypes_d.lib and object .\./_ctypes_d.exp
7>_msi.obj : error LNK2019: unresolved external symbol _FCIDestroy
referenced in function _fcicreate
7>_msi.obj : error LNK2019: unresolved external symbol _FCIFlushCabinet
referenced in function _fcicreate
7>_msi.obj : error LNK2019: unresolved external symbol _FCIAddFile
referenced in function _fcicreate
7>_msi.obj : error LNK2019: unresolved external symbol _FCICreate
referenced in function _fcicreate
7>_msi.obj : error LNK2019: unresolved external symbol
_MsiCloseHandle at 4 referenced in function _msiobj_dealloc
7>_msi.obj : error LNK2019: unresolved external symbol
_MsiRecordGetFieldCount at 4 referenced in function _record_getfieldcount
7>_msi.obj : error LNK2019: unresolved external symbol
_MsiRecordClearData at 4 referenced in function _record_cleardata
7>_msi.obj : error LNK2019: unresolved external symbol
_MsiFormatRecordA at 16 referenced in function _msierror
7>_msi.obj : error LNK2019: unresolved external symbol
_MsiRecordGetInteger at 8 referenced in function _msierror
7>_msi.obj : error LNK2019: unresolved external symbol
_MsiGetLastErrorRecord at 0 referenced in function _msierror
7>_msi.obj : error LNK2019: unresolved external symbol
_MsiRecordSetStringA at 12 referenced in function _record_setstring
7>_msi.obj : error LNK2019: unresolved external symbol
_MsiRecordSetStreamA at 12 referenced in function _record_setstream
7>_msi.obj : error LNK2019: unresolved external symbol
_MsiRecordSetInteger at 12 referenced in function _record_setinteger
7>_msi.obj : error LNK2019: unresolved external symbol
_MsiSummaryInfoGetPropertyA at 28 referenced in function
_summary_getproperty
7>_msi.obj : error LNK2019: unresolved external symbol
_MsiSummaryInfoGetPropertyCount at 8 referenced in function
_summary_getpropertycount
7>_msi.obj : error LNK2019: unresolved external symbol
_MsiSummaryInfoSetPropertyA at 24 referenced in function
_summary_setproperty
7>_msi.obj : error LNK2019: unresolved external symbol
_MsiSummaryInfoPersist at 4 referenced in function _summary_persist
7>_msi.obj : error LNK2019: unresolved external symbol
_MsiViewExecute at 8 referenced in function _view_execute
7>_msi.obj : error LNK2019: unresolved external symbol _MsiViewFetch at 8
referenced in function _view_fetch
7>_msi.obj : error LNK2019: unresolved external symbol
_MsiViewGetColumnInfo at 12 referenced in function _view_getcolumninfo
7>_msi.obj : error LNK2019: unresolved external symbol
_MsiViewModify at 12 referenced in function _view_modify
7>_msi.obj : error LNK2019: unresolved external symbol _MsiViewClose at 4
referenced in function _view_close
7>_msi.obj : error LNK2019: unresolved external symbol
_MsiDatabaseOpenViewA at 12 referenced in function _msidb_openview
7>_msi.obj : error LNK2019: unresolved external symbol
_MsiDatabaseCommit at 4 referenced in function _msidb_commit
7>_msi.obj : error LNK2019: unresolved external symbol
_MsiGetSummaryInformationA at 16 referenced in function
_msidb_getsummaryinformation
7>_msi.obj : error LNK2019: unresolved external symbol
_MsiOpenDatabaseA at 12 referenced in function _msiopendb
7>_msi.obj : error LNK2019: unresolved external symbol
_MsiCreateRecord at 4 referenced in function _createrecord
7>./_msi.pyd : fatal error LNK1120: 30 unresolved externals
6>callproc.obj : error LNK2019: unresolved external symbol
__imp__SysFreeString at 4 referenced in function _GetComError
6>cfield.obj : error LNK2001: unresolved external symbol
__imp__SysFreeString at 4
6>callproc.obj : error LNK2019: unresolved external symbol
__imp__ProgIDFromCLSID at 8 referenced in function _GetComError
6>callproc.obj : error LNK2019: unresolved external symbol
__imp__GetErrorInfo at 8 referenced in function _GetComError
6>cfield.obj : error LNK2019: unresolved external symbol
__imp__SysAllocStringLen at 8 referenced in function _BSTR_set
6>cfield.obj : error LNK2019: unresolved external symbol
__imp__SysStringLen at 4 referenced in function _BSTR_get
6>./_ctypes_d.pyd : fatal error LNK1120: 5 unresolved externals
7>Build log was saved at
"file://d:\Python-2.5\PCbuild8\x86-temp-debug\_msi\BuildLog.htm"
7>_msi - 31 error(s), 0 warning(s)
6>Build log was saved at
"file://d:\Python-2.5\PCbuild8\x86-temp-debug\_ctypes\BuildLog.htm"
6>_ctypes - 7 error(s), 0 warning(s)
8>------ Build started: Project: _sqlite3, Configuration: Debug Win32
------
8>Compiling...
8>util.c
8>d:\python-2.5\modules\_sqlite\connection.h(33) : fatal error C1083:
Cannot open include file: 'sqlite3.h': No such file or directory
8>statement.c
8>d:\python-2.5\modules\_sqlite\connection.h(33) : fatal error C1083:
Cannot open include file: 'sqlite3.h': No such file or directory
8>row.c
9>------ Build started: Project: _ctypes_test, Configuration: Debug
Win32 ------
8>d:\python-2.5\modules\_sqlite\connection.h(33) : fatal error C1083:
Cannot open include file: 'sqlite3.h': No such file or directory
9>Linking...
8>module.c
9>   Creating library .\./_ctypes_test_d.lib and object
.\./_ctypes_test_d.exp
9>_ctypes_test.obj : error LNK2019: unresolved external symbol
__imp__SysAllocString at 4 referenced in function _GetString
9>./_ctypes_test_d.pyd : fatal error LNK1120: 1 unresolved externals
9>Build log was saved at
"file://d:\Python-2.5\PCbuild8\x86-temp-debug\_ctypes_test\BuildLog.htm"
9>_ctypes_test - 2 error(s), 0 warning(s)
8>d:\python-2.5\modules\_sqlite\connection.h(33) : fatal error C1083:
Cannot open include file: 'sqlite3.h': No such file or directory
8>microprotocols.c
10>------ Build started: Project: pythoncore_pgo, Configuration:
Release Win32 ------
8>d:\python-2.5\modules\_sqlite\connection.h(33) : fatal error C1083:
Cannot open include file: 'sqlite3.h': No such file or directory
8>cursor.c
10>Performing Custom Build Step
8>d:\python-2.5\modules\_sqlite\connection.h(33) : fatal error C1083:
Cannot open include file: 'sqlite3.h': No such file or directory
8>connection.c
10>File not found - python.exe*
10>0 File(s) copied
10>Compiling resources...
10>..\PC\python_nt.rc(12) : fatal error RC1015: cannot open include
file 'pythonnt_rc.h'.
10>Build log was saved at
"file://d:\Python-2.5\PCbuild8\x86-temp-release\pythoncore_pgo\BuildLog.htm"
10>pythoncore_pgo - 1 error(s), 0 warning(s)
8>d:\python-2.5\modules\_sqlite\connection.h(33) : fatal error C1083:
Cannot open include file: 'sqlite3.h': No such file or directory
8>Generating Code...
8>Build log was saved at
"file://d:\Python-2.5\PCbuild8\x86-temp-debug\_sqlite3\BuildLog.htm"
8>_sqlite3 - 7 error(s), 0 warning(s)
11>------ Build started: Project: _elementtree, Configuration: Debug
Win32 ------
11>Linking...
11>   Creating library .\./_elementtree_d.lib and object
.\./_elementtree_d.exp
11>Embedding manifest...
12>------ Build started: Project: winsound, Configuration: Debug Win32
------
11>Build log was saved at
"file://d:\Python-2.5\PCbuild8\x86-temp-debug\_elementtree\BuildLog.htm"
11>_elementtree - 0 error(s), 0 warning(s)
12>Linking...
12>   Creating library .\./winsound_d.lib and object .\./winsound_d.exp
12>winsound.obj : error LNK2019: unresolved external symbol
__imp__PlaySoundA at 12 referenced in function _sound_playsound
12>./winsound_d.pyd : fatal error LNK1120: 1 unresolved externals
12>Build log was saved at
"file://d:\Python-2.5\PCbuild8\x86-temp-debug\winsound\BuildLog.htm"
12>winsound - 2 error(s), 0 warning(s)
13>------ Build started: Project: unicodedata, Configuration: Debug
Win32 ------
13>Linking...
13>   Creating library .\./unicodedata_d.lib and object
.\./unicodedata_d.exp
13>Embedding manifest...
14>------ Build started: Project: select, Configuration: Debug Win32
------
14>Linking...
14>   Creating library .\./select_d.lib and object .\./select_d.exp
14>selectmodule.obj : error LNK2019: unresolved external symbol
_WSAGetLastError at 0 referenced in function _select_select
14>selectmodule.obj : error LNK2019: unresolved external symbol
_select at 20 referenced in function _select_select
14>selectmodule.obj : error LNK2019: unresolved external symbol
___WSAFDIsSet at 8 referenced in function _set2list
14>./select_d.pyd : fatal error LNK1120: 3 unresolved externals
14>Build log was saved at
"file://d:\Python-2.5\PCbuild8\x86-temp-debug\select\BuildLog.htm"
14>select - 4 error(s), 0 warning(s)
13>Build log was saved at
"file://d:\Python-2.5\PCbuild8\x86-temp-debug\unicodedata\BuildLog.htm"
13>unicodedata - 0 error(s), 0 warning(s)
15>------ Build started: Project: pythonw, Configuration: Debug Win32
------
15>Linking...
15>Embedding manifest...
15>Build log was saved at
"file://d:\Python-2.5\PCbuild8\x86-temp-debug\pythonw\BuildLog.htm"
15>pythonw - 0 error(s), 0 warning(s)
========== Build: 7 succeeded, 8 failed, 0 up-to-date, 0 skipped
==========

f rom schreef:

> ----- Forwarded Message ----
> From: Josiah Carlson <jcarlson at uci.edu>
> To: f rom <etaoinbe at yahoo.com>; wxpython-users at lists.wxwidgets.org
> Sent: Monday, December 4, 2006 10:03:28 PM
> Subject: Re: [wxPython-users] 1>make_buildinfo.obj : error LNK2019: unresolved external symbol __imp__RegQueryValueExA at 24 referenced in function _make_buildinfo2
>
>
> Ask on python-list at python.org .
>
>  - Josiah
>
> f rom <etaoinbe at yahoo.com> wrote:
> > I am trying to debug a segfault which I can not pin down with a simple pytjon script.
> > For this I have downloaded the free Microsoft visual express c++.
> > However I am having problems building python2.5.
> > Anyone have experience with this ?
> >
> > 1>------ Rebuild All started: Project: make_buildinfo, Configuration: Debug Win32 ------
> > 1>Deleting intermediate and output files for project 'make_buildinfo', configuration 'Debug|Win32'
> > 1>Compiling...
> > 1>make_buildinfo.c
> > 1>d:\python-2.5\pcbuild8\make_buildinfo.c(43) : warning C4996: 'strcat' was declared deprecated
> > 1>        c:\program files\microsoft visual studio 8\vc\include\string.h(78) : see declaration of 'strcat'
> > 1>        Message: 'This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
> > 1>d:\python-2.5\pcbuild8\make_buildinfo.c(47) : warning C4996: 'strcat' was declared deprecated
> > 1>        c:\program files\microsoft visual studio 8\vc\include\string.h(78) : see declaration of 'strcat'
> > 1>        Message: 'This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
> > 1>d:\python-2.5\pcbuild8\make_buildinfo.c(63) : warning C4996: 'strcat' was declared deprecated
> > 1>        c:\program files\microsoft visual studio 8\vc\include\string.h(78) : see declaration of 'strcat'
> > 1>        Message: 'This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
> > 1>d:\python-2.5\pcbuild8\make_buildinfo.c(66) : warning C4996: 'strcat' was declared deprecated
> > 1>        c:\program files\microsoft visual studio 8\vc\include\string.h(78) : see declaration of 'strcat'
> > 1>        Message: 'This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
> > 1>d:\python-2.5\pcbuild8\make_buildinfo.c(69) : warning C4996: 'strcat' was declared deprecated
> > 1>        c:\program files\microsoft visual studio 8\vc\include\string.h(78) : see declaration of 'strcat'
> > 1>        Message: 'This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
> > 1>d:\python-2.5\pcbuild8\make_buildinfo.c(72) : warning C4996: 'strcat' was declared deprecated
> > 1>        c:\program files\microsoft visual studio 8\vc\include\string.h(78) : see declaration of 'strcat'
> > 1>        Message: 'This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
> > 1>d:\python-2.5\pcbuild8\make_buildinfo.c(73) : warning C4996: 'strcat' was declared deprecated
> > 1>        c:\program files\microsoft visual studio 8\vc\include\string.h(78) : see declaration of 'strcat'
> > 1>        Message: 'This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
> > 1>d:\python-2.5\pcbuild8\make_buildinfo.c(81) : warning C4996: 'strcat' was declared deprecated
> > 1>        c:\program files\microsoft visual studio 8\vc\include\string.h(78) : see declaration of 'strcat'
> > 1>        Message: 'This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
> > 1>d:\python-2.5\pcbuild8\make_buildinfo.c(83) : warning C4996: 'strcat' was declared deprecated
> > 1>        c:\program files\microsoft visual studio 8\vc\include\string.h(78) : see declaration of 'strcat'
> > 1>        Message: 'This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
> > 1>d:\python-2.5\pcbuild8\make_buildinfo.c(84) : warning C4996: 'strcat' was declared deprecated
> > 1>        c:\program files\microsoft visual studio 8\vc\include\string.h(78) : see declaration of 'strcat'
> > 1>        Message: 'This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
> > 1>d:\python-2.5\pcbuild8\make_buildinfo.c(88) : warning C4996: 'unlink' was declared deprecated
> > 1>        c:\program files\microsoft visual studio 8\vc\include\stdio.h(290) : see declaration of 'unlink'
> > 1>        Message: 'The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _unlink. See online help for details.'
> > 1>Compiling manifest to resources...
> > 1>Linking...
> > 1>make_buildinfo.obj : error LNK2019: unresolved external symbol __imp__RegQueryValueExA at 24 referenced in function _make_buildinfo2
> > 1>make_buildinfo.obj : error LNK2019: unresolved external symbol __imp__RegOpenKeyA at 12 referenced in function _make_buildinfo2
> > 1>./make_buildinfo.exe : fatal error LNK1120: 2 unresolved externals
> > 1>Build log was saved at "file://d:\Python-2.5\PCbuild8\x86-temp-release\make_buildinfo\BuildLog.htm"
> > 1>make_buildinfo - 3 error(s), 11 warning(s)
> > ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
> >
> >
> >
> >
> >
> >
> > ____________________________________________________________________________________
> > Want to start your own business?
> > Learn how on Yahoo! Small Business.
> > http://smallbusiness.yahoo.com/r-index
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
> > For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
>
>
>
>
>
>
>
> ____________________________________________________________________________________
> Cheap talk?
> Check out Yahoo! Messenger's low PC-to-Phone call rates.
> http://voice.yahoo.com




More information about the Python-list mailing list