
On Mon, 02 Aug 2004 23:07:38 -0400 Michael Glassford <glassfordm@hotmail.com> wrote:
I must be missing something. I added the code you posted into Boost.Threads static library and built it--no problem. But then when I link with that library, I get:
boost_cvs6sd.lib(threadmon.obj) : error LNK2001: unresolved external symbol "struct _IMAGE_TLS_DIRECTORY32 _tls_used" (?_tls_used@@3U_IMAGE_TLS_DIRECTORY32@@A) boost_cvs6sd.lib(threadmon.obj) : error LNK2001: unresolved external symbol "void (__stdcall** __xl_z)(struct HINSTANCE__ *,unsigned long,void *)" (?__xl_z@@3PAP6GXPAUHINSTANCE__@@KPAX@ZA) boost_cvs6sd.lib(threadmon.obj) : error LNK2001: unresolved external symbol "void (__stdcall** __xl_a)(struct HINSTANCE__ *,unsigned long,void *)" (?__xl_a@@3PAP6GXPAUHINSTANCE__@@KPAX@ZA) Debug6/boost_test.exe : fatal error LNK1120: 3 unresolved externals
In the code you posted, the missing symbols are all defined as extern; what do I need to do to get their actually definitions linked in?
I linked the file statically with my test programs so far. I will look into this. Could you please send me a copy of your current threadmon, so I can test it with my setup. Roland mailto:roland.schwarz@chello.at