[omniORB] Unresolved externals on omni_tracedmutex.

Ben Miller Ben.Miller@Mercia.Com
Fri, 15 Jun 2001 12:30:09 +0100


Hi all,

I've downloaded the omniORB 3.0.3 release for Windows and am trying to
build my CORBA ap with them.  Everything seemed okay when i used the
omniORB 3 release.  I now get three unresolved externals when linking
the release version of my app (while the debug version links fine):

perf_test.obj : error LNK2001: unresolved external symbol "public:
void __thiscall omni_tracedmutex::unlock(void)"
(?unlock@omni_tracedmutex@@QAEXXZ)
perf_test.obj : error LNK2001: unresolved external symbol "public:
void __thiscall omni_tracedmutex::lock(void)"
(?lock@omni_tracedmutex@@QAEXXZ)
perf_test.obj : error LNK2001: unresolved external symbol "public:
static class omni_tracedmutex & __cdecl omni::nilRefLock(void)"
(?nilRefLock@omni@@SAAAVomni_tracedmutex@@XZ)

I am linking the omniORB303_rt.lib, omniDynamic303_rt.lib and
omnithread2_rt.lib libraries as in the documentation.  Any ideas why
this might be happening?

Regards
___________________
Ben Miller.
Technical Architect

Mercia Software Ltd.
Mercia House 
Ashted Lock
Aston Science Park
Birmingham B7 4AZ, UK 
Registered Number: 1868855 (Cardiff) 
Tel: 44 (0)121 359 5096 
Fax: 44 (0)121 359 0375 
Web Site: http://www.mercia.com