<DIV>Jay,</DIV>
<DIV> </DIV>
<DIV>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".<BR>For example,</DIV>
<DIV>UcanSecure.obj : error LNK2019: unresolved external symbol "public:<BR>__thiscall o<BR>mniORB::logger::logger(char const *)" (<A href="mailto:??0logger@omniORB@@QAE@PBD@Z">??0logger@omniORB@@QAE@PBD@Z</A>)<BR>referenced in function "bool __cdecl setUcanSecureServiceContext(class<BR>omni::omniIntercepto rs::clientSendRequest_T::info_T &)"<BR>(<A href="mailto:?setUcanSecureServiceContext@@YA_NAAVinfo_T">?setUcanSecureServiceContext@@YA_NAAVinfo_T</A><BR>@clientSendRequest_T@omniInterceptors@omni@@@Z)<BR><BR></DIV>
<P> </P>
<P>Thanks!</P>
<P> </P>
<P>John</P>
<P> </P>
<P> </P>
<DIV><BR><BR><B><I>"Welch, Jay" <jay.welch@transcore.com></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR>
<DIV><SPAN class=878360017-15102004><FONT face=Arial color=#0000ff size=2>With cygwin shouldn't you be using gcc/g++ instead of the VC .NET dll and shared libraries do not mix well.</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> John Chen [mailto:john2002chen@yahoo.com]<BR><B>Sent:</B> Friday, October 15, 2004 12:29 PM<BR><B>To:</B> omniorb-list@omniorb-support.com<BR><B>Subject:</B> [omniORB] undefined symbols in Windows<BR><BR></FONT></DIV>
<DIV>Hi all,</DIV>
<DIV> </DIV>
<DIV>When I am tring to build a shared library in windows using omniORB, it reports tons of undefined symbols. For example,</DIV>
<DIV> </DIV>
<DIV><FONT size=2>
<P>"</P>
<P>undefined reference to `_CORBA_new_operator_return_null()'</P>
<P><FONT size=2>/cygdrive/d/omniORB-4.0.4/include/omnithread.h:639: undefined reference to `_CORBA_bound_check_error()'</P>
<P>...</P>
<P>"</P>
<P>My platform is:</P>
<P>Windows 2000,VC.Net 2003</P>
<P>I have built omniOBR4.0.4 from source in cygwin.</P>
<P>BTW, the same code can build on Unix.</P>
<P>Any suggestion is welcome.</P>
<P>Thanks & best regards,</P>
<P>John</P>
<P> </P>
<P> </P>
<P> </P></FONT></FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<P>__________________________________________________<BR>Do You Yahoo!?<BR>Tired of spam? Yahoo! Mail has the best spam protection around <BR>http://mail.yahoo.com </P></BLOCKQUOTE></BLOCKQUOTE><p>
                <hr size=1>Do you Yahoo!?<br><a
href="http://vote.yahoo.com">vote.yahoo.com</a> - Register online to vote today!