* pThreads 2.8.0 build with VS 2005 (VC 8)
@ 2007-12-06 15:27 Milan Gornik
0 siblings, 0 replies; only message in thread
From: Milan Gornik @ 2007-12-06 15:27 UTC (permalink / raw)
To: pthreads-win32
I have Microsoft Visual Studio 2005 / Visual C++ 8. I tried to build
pThreads library v2.8.0 from the source code and had some problems.
Following configurations don't build successfully:
1) nmake clean vce
Creating library pthreadVCE2.lib and object pthreadVCE2.exp
misc.obj : error LNK2019: unresolved external symbol _ptw32_mcs_lock_release
referenced in function "void __cdecl ptw32_once_on_init_cancel(void *)"
(?ptw32_once_on_init_cancel@@YAXPAX@Z)
misc.obj : error LNK2019: unresolved external symbol _ptw32_mcs_lock_acquire
referenced in function _pthread_once
mutex.obj : error LNK2019: unresolved external symbol _ptw32_relmillisecs
referenced in function "int __cdecl ptw32_timed_eventwait(void *,struct
timespec const *)" (?ptw32_timed_eventwait@@YAHPAXPBUtimespec@@@Z)
semaphore.obj : error LNK2001: unresolved external symbol
_ptw32_relmillisecs
pthreadVCE2.dll : fatal error LNK1120: 3 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
8\VC\BIN\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
8\VC\BIN\nmake.EXE"' : return code '0x2'
Stop.
2) nmake clean vce-debug
Creating library pthreadVCE2d.lib and object pthreadVCE2d.exp
misc.obj : error LNK2019: unresolved external symbol _ptw32_mcs_lock_release
referenced in function _pthread_once
misc.obj : error LNK2019: unresolved external symbol _ptw32_mcs_lock_acquire
referenced in function _pthread_once
mutex.obj : error LNK2019: unresolved external symbol _ptw32_relmillisecs
referenced in function "int __cdecl ptw32_timed_eventwait(void *,struct
timespec const
*)" (?ptw32_timed_eventwait@@YAHPAXPBUtimespec@@@Z)
semaphore.obj : error LNK2001: unresolved external symbol
_ptw32_relmillisecs
pthreadVCE2d.dll : fatal error LNK1120: 3 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
8\VC\BIN\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
8\VC\BIN\nmake.EXE"' : return code '0x2'
Stop.
Other configurations are building successfully, with some warnings though.
Is this a known issue? Are there known workarounds? Or, am I just missing to
set enivornment properly before build?
Regards,
Milan Gornik
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-11-28 12:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-06 15:27 pThreads 2.8.0 build with VS 2005 (VC 8) Milan Gornik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).