[omniORB] undefined symbols in Windows
John Chen
john2002chen at yahoo.com
Fri Oct 15 15:34:34 BST 2004
Jay,
Thanks for the reply. you're right, cygwin use gcc by default. I re-write a makefile to use VC's compiler (cl and link), and now I have some a lot of It failed with a lot of "error LNK2019: unresolved external symbol".
For example,
UcanSecure.obj : error LNK2019: unresolved external symbol "public:
__thiscall o
mniORB::logger::logger(char const *)" (??0logger at omniORB@@QAE at PBD@Z)
referenced in function "bool __cdecl setUcanSecureServiceContext(class
omni::omniIntercepto rs::clientSendRequest_T::info_T &)"
(?setUcanSecureServiceContext@@YA_NAAVinfo_T
@clientSendRequest_T at omniInterceptors@omni@@@Z)
Thanks!
John
"Welch, Jay" <jay.welch at transcore.com> wrote:
With cygwin shouldn't you be using gcc/g++ instead of the VC .NET dll and shared libraries do not mix well.
-----Original Message-----
From: John Chen [mailto:john2002chen at yahoo.com]
Sent: Friday, October 15, 2004 12:29 PM
To: omniorb-list at omniorb-support.com
Subject: [omniORB] undefined symbols in Windows
Hi all,
When I am tring to build a shared library in windows using omniORB, it reports tons of undefined symbols. For example,
"
undefined reference to `_CORBA_new_operator_return_null()'
/cygdrive/d/omniORB-4.0.4/include/omnithread.h:639: undefined reference to `_CORBA_bound_check_error()'
...
"
My platform is:
Windows 2000,VC.Net 2003
I have built omniOBR4.0.4 from source in cygwin.
BTW, the same code can build on Unix.
Any suggestion is welcome.
Thanks & best regards,
John
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------
Do you Yahoo!?
vote.yahoo.com - Register online to vote today!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20041015/70075c0a/attachment.htm
More information about the omniORB-list
mailing list