<DIV>Jay,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks for the reply. you're&nbsp;right, cygwin use gcc by default.&nbsp;&nbsp;I re-write a makefile to use VC's compiler (cl and link), and now I&nbsp;have some a lot of It failed with&nbsp; a lot of&nbsp; "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 &amp;)"<BR>(<A href="mailto:?setUcanSecureServiceContext@@YA_NAAVinfo_T">?setUcanSecureServiceContext@@YA_NAAVinfo_T</A><BR>@clientSendRequest_T@omniInterceptors@omni@@@Z)<BR><BR></DIV>
<P>&nbsp;</P>
<P>Thanks!</P>
<P>&nbsp;</P>
<P>John</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<DIV><BR><BR><B><I>"Welch, Jay" &lt;jay.welch@transcore.com&gt;</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>&nbsp;</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>&nbsp;</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 &amp; best regards,</P>
<P>John</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&nbsp;</P></FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</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!