<br>Hello there,<br><br>I am trying to get omniORB 4.1.2 working under Cygwin 2.573.2.2<br>with gcc 3.4.4 (cygming special, gdc 0.12, using dmd 0.125).<br><br>I have compiled flawlessly from scratch openssl 0.9.8h, doing a shared<br>
build. The libraries have been installed in /usr/local/ssl. The only incidence<br>was that I had to install cygwin's package ccrypt, since openssl asked<br>me for cygcrypto-0.9.8.dll. After that all worked.<br><br>When compiling omniORB I had to modify the file src/tool/<a href="http://dir.mk">dir.mk</a>, removing<br>
the "omkdepend" from:<br><br>ifdef UnixPlatform<br>SUBDIRS = omkdepend omniidl<br>endif<br><br>that as far as I know is not necessary in Win32. For some reason, UnixPlatform<br>is detected. Then I followed these steps (being at the omniORB root directory):<br>
<br>./configure --with-openssl=/usr/local/ssl<br><br>This command detected my architecture i686-pc-cygwin, and the openssl<br>installation. Then I used:<br><br>make && make install<br><br>It compiled and installed perfectly well. The problems came when I tried to<br>
compile a simple client application that uses ssl (which is working under GNU<br>Linux and omniORB 4.1.2):<br><br>g++ -o client client.o HelloSk.o -lomniORB4 -lomnithread -lomniDynamic4 -lomnisslTP4 -Wall -L/usr/local/lib<br>
<br>I got the following error:<br><br>/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: warning: auto-importing has been activated without --enable-auto-import specified on the command line.<br>This should work unless it involves constant data structures referencing symbols from auto-imported DLLs.Info: resolving sslContext::certificate_authority_file by linking to __imp___ZN10sslContext26certificate_authority_fileE (auto-import)<br>
Info: resolving sslContext::key_file by linking to __imp___ZN10sslContext8key_fileE (auto-import)<br>Info: resolving sslContext::key_file_password by linking to __imp___ZN10sslContext17key_file_passwordE (auto-import)<br>
Info: resolving _CORBA_String_helper::empty_string by linking to __imp___ZN20_CORBA_String_helper12empty_stringE (auto-import)<br>Info: resolving __omni_omnisslTP_should_be_linked_but_is_not_ by linking to __imp___omni_omnisslTP_should_be_linked_but_is_not_ (auto-import)<br>
Info: resolving CORBA::Object::_PR_magic by linking to __imp___ZN5CORBA6Object9_PR_magicE (auto-import)<br>Info: resolving vtable for CORBA::Objectby linking to __imp___ZTVN5CORBA6ObjectE (auto-import)<br>Info: resolving CORBA::Object::_PD_repoId by linking to __imp___ZN5CORBA6Object10_PD_repoIdE (auto-import)<br>
Info: resolving vtable for omniCallDescriptorby linking to __imp___ZTV18omniCallDescriptor (auto-import)<br>Info: resolving omni::omniORB_4_1 by linking to __imp___ZN4omni11omniORB_4_1E (auto-import)<br><br>Any directions, or hints, would be really appreciated. I have been revising the mailing list, and it<br>
seems that I am not the only one with this kind of problem. Unfortunately any solutions were<br>provided in the past.<br><br>Thank you<br><br>