Hello, I was porting a c application from solaris to windows using cygwin. My solaris make file containing following linking option
-L. -lSgl -L/home/Administrator/mincom/geolog6.5/lib -lcgg -llogs -lgeolog6 -lomniORB3 -lomnithread -lomniGK_stub -lsocket -lnsl -lintl -lgen -Bdynamic /usr/lib/sparcv9/libCrun.so.1 -Bstatic -lm but I could not find cygwin equivalent of "libCrun.so.1" so I change the link option removing libCrun.so.1 dynamic linking option part. -L. -lSgl -L/home/Administrator/mincom/geolog6.5/lib -lcgg -llogs -lgeolog6 -lomniORB3 -lomnithread -lomniGK_stub -lsocket -lnsl -lintl -lgen -Bstatic -lm now when I try to build it gives following link error Warning: .drectve `-defaultlib:MSVCRT ' unrecognized Warning: .drectve `-defaultlib:OLDNAMES ' unrecognized Warning: .drectve `-defaultlib:MSVCRT ' unrecognized Warning: .drectve `-defaultlib:OLDNAMES ' unrecognized Warning: .drectve `-defaultlib:MSVCRT ' unrecognized F:/geolog6.6.1/lib/libcgg.a(cgg.o):C:/development/ptc:(.text+0x299): undefined reference to `__setjmp3' F:/geolog6.6.1/lib/libcgg.a(cgg.o):C:/development/ptc:(.text+0x392): undefined reference to `__setjmp3' F:/geolog6.6.1/lib/libcgg.a(cgg.o):C:/development/ptc:(.text+0x1cc6): undefined reference to `__imp___strnicmp' F:/geolog6.6.1/lib/libcgg.a(cgg.o):C:/development/ptc:(.text+0x1e1f): undefined reference to `__setjmp3' F:/geolog6.6.1/lib/libcgg.a(cgg.o):C:/development/ptc:(.text+0x1e3b): undefined reference to `__imp___strnicmp' F:/geolog6.6.1/lib/libcgg.a(cgg.o):C:/development/ptc:(.text+0x1e80): undefined reference to `__imp___stricmp' F:/geolog6.6.1/lib/libcgg.a(cgg.o):C:/development/ptc:(.text+0x2776): undefined reference to `__ftol' F:/geolog6.6.1/lib/libcgg.a(cgg.o):C:/development/ptc:(.text+0x2781): undefined reference to `__ftol' F:/geolog6.6.1/lib/liblogs.a(logs.o):C:/development/ptc:(.text[_logsInit]+0x f5): undefined reference to `_pnsInit' F:/geolog6.6.1/lib/liblogs.a(logs.o):C:/development/ptc:(.text[_logsTerm]+0x b2): undefined reference to `_pnsTerm' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[_$E3]+0xa): undefined reference to [EMAIL PROTECTED]@@[EMAIL PROTECTED]' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[?logs_initi alise@@YAXXZ]+0x14): undefined reference to `__except_list' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[?logs_initi alise@@YAXXZ]+0xde): undefined reference to [EMAIL PROTECTED]@@[EMAIL PROTECTED]@Z' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[?logs_initi alise@@YAXXZ]+0xfb): undefined reference to [EMAIL PROTECTED]@@[EMAIL PROTECTED]' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[?logs_initi alise@@YAXXZ]+0x126): undefined reference to `?getStudyObject@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[?logs_initi alise@@YAXXZ]+0x177): undefined reference to [EMAIL PROTECTED]@CORBA@@2KB' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[?logs_initi alise@@YAXXZ]+0x1e7): undefined reference to `_pnsHostName' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[?logs_initi alise@@YAXXZ]+0x210): undefined reference to `_pnsHostDisplay' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[?logs_initi alise@@YAXXZ]+0x27b): undefined reference to [EMAIL PROTECTED]@Z' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[?logs_initi alise@@YAXXZ]+0x329): undefined reference to `__except_list' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text$x+0x6): undefined reference to `___CxxFrameHandler' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[_logsPos]+0 x4c): undefined reference to `__setjmp3' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[_logsPos]+0 xed): undefined reference to `__except_list' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text$x+0x6): undefined reference to `___CxxFrameHandler' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[?root_get@@ [EMAIL PROTECTED]): undefined reference to `__except_list' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[?root_get@@ [EMAIL PROTECTED]): undefined reference to `__except_list' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[?root_get@@ [EMAIL PROTECTED]): undefined reference to [EMAIL PROTECTED]@Z' [EMAIL PROTECTED]@@2QBDB' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[??1_CORBA_S tring_member@@[EMAIL PROTECTED]): undefined reference to [EMAIL PROTECTED]@Z' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[??1ServerLi [EMAIL PROTECTED]@@[EMAIL PROTECTED]): undefined reference to `__except_list' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[??1ServerLi [EMAIL PROTECTED]@@[EMAIL PROTECTED]): undefined reference to `__except_list' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[??1StudyLis [EMAIL PROTECTED]@@[EMAIL PROTECTED]): undefined reference to [EMAIL PROTECTED]@@2QBDB' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[??1StudyLis [EMAIL PROTECTED]@@[EMAIL PROTECTED]): undefined reference to [EMAIL PROTECTED]@Z' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[?project_op en@@YAPAUproject_struct@@[EMAIL PROTECTED]): undefined reference to [EMAIL PROTECTED]@@2QBDB' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[?project_op en@@YAPAUproject_struct@@[EMAIL PROTECTED]): undefined reference to `__imp___stricmp' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[?project_op en@@YAPAUproject_struct@@[EMAIL PROTECTED]): undefined reference to [EMAIL PROTECTED]@Z' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[?project_op en@@YAPAUproject_struct@@[EMAIL PROTECTED]): undefined reference to [EMAIL PROTECTED]@@2QBDB' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[?project_op en@@YAPAUproject_struct@@[EMAIL PROTECTED]): undefined reference to [EMAIL PROTECTED]@Z' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text$x+0xea): undefined reference to `___CxxFrameHandler' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:([EMAIL PROTECTED] A_String_helper@@[EMAIL PROTECTED]): undefined reference to [EMAIL PROTECTED]@@2QBDB' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:([EMAIL PROTECTED] A_String_helper@@[EMAIL PROTECTED]): undefined reference to [EMAIL PROTECTED]@Z' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[??1_CORBA_S equence_String@@[EMAIL PROTECTED]): undefined reference to [EMAIL PROTECTED]@@2QBDB' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[??1_CORBA_S equence_String@@[EMAIL PROTECTED]): undefined reference to [EMAIL PROTECTED]@Z' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[??1_CORBA_S equence_String@@[EMAIL PROTECTED]): undefined reference to [EMAIL PROTECTED]@Z' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[??1Object_v [EMAIL PROTECTED]@@[EMAIL PROTECTED]): undefined reference to [EMAIL PROTECTED]@@YAXPAVomniObjRef@@@Z' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[?project_cl ose@@YAPAUproject_struct@@HPAU1@@Z]+0x7c0): undefined reference to `__except_list' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text$x+0x84): undefined reference to `___CxxFrameHandler' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[?project_se rver_info_put@@YAXPAUproject_struct@@[EMAIL PROTECTED]): undefined reference to `__except_list' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[?project_se rver_info_put@@YAXPAUproject_struct@@[EMAIL PROTECTED]): undefined reference to `__except_list' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[?project_se rver_info_put@@YAXPAUproject_struct@@[EMAIL PROTECTED]): undefined reference to `__except_list' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text$x+0x6): undefined reference to `___CxxFrameHandler' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[?project_se rver_list_get@@YAPAUStringlistStruct@@PAUproject_struct@@[EMAIL PROTECTED]): undefined reference to `__except_list' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[?project_se rver_list_get@@YAPAUStringlistStruct@@PAUproject_struct@@[EMAIL PROTECTED]): F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[?well_list@ @YAPAUStringlistStruct@@PAUproject_struct@@@Z]+0x42): undefined reference to [EMAIL PROTECTED]@@2QBDB' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[?well_list@ @YAPAUStringlistStruct@@PAUproject_struct@@@Z]+0x55): undefined reference to [EMAIL PROTECTED]@@2QBDB' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[?well_list@ @YAPAUStringlistStruct@@PAUproject_struct@@@Z]+0x68): undefined reference to [EMAIL PROTECTED]@@2QBDB' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[?well_copy@ @YAXPAUproject_struct@@[EMAIL PROTECTED]): undefined reference to `__except_list' [EMAIL PROTECTED]@@2QBDB' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[?well_exist s@@YAHPAUproject_struct@@[EMAIL PROTECTED]): undefined reference to [EMAIL PROTECTED]@Z' F:/geolog6.6.1/lib/liblogs.a(logs_c.o):C:/development/ptc:(.text[?well_exist s@@YAHPAUproject_struct@@[EMAIL PROTECTED]): undefined reference to [EMAIL PROTECTED]@@2QBDB' :/geolog6.6.1/lib/omnithread.lib(nt.o):nt.cc:(.text$x+0xe): undefined reference to `___CxxFrameHandler' F:/geolog6.6.1/lib/omnithread.lib(nt.o):nt.cc:([EMAIL PROTECTED]@@SA [EMAIL PROTECTED]@[EMAIL PROTECTED]@@Z]+0x9): undefined reference to `__except_list' F:/geolog6.6.1/lib/omnithread.lib(nt.o):nt.cc:([EMAIL PROTECTED]@@SA [EMAIL PROTECTED]@[EMAIL PROTECTED]@@Z]+0x11): undefined reference to `__except_list' F:/geolog6.6.1/lib/omnithread.lib(nt.o):nt.cc:([EMAIL PROTECTED]@@SA [EMAIL PROTECTED]@[EMAIL PROTECTED]@@Z]+0x1a): undefined reference to [EMAIL PROTECTED]@Z' F:/geolog6.6.1/lib/omnithread.lib(nt.o):nt.cc:([EMAIL PROTECTED]@@SA [EMAIL PROTECTED]@[EMAIL PROTECTED]@@Z]+0x60): undefined reference to `__except_list' F:/geolog6.6.1/lib/omnithread.lib(nt.o):nt.cc:(.text$x+0x5): undefined reference to [EMAIL PROTECTED]@Z' F:/geolog6.6.1/lib/omnithread.lib(nt.o):nt.cc:(.text$x+0x11): undefined reference to `___CxxFrameHandler' F:/geolog6.6.1/lib/omnithread.lib(nt.o):nt.cc:([EMAIL PROTECTED]@@SA [EMAIL PROTECTED]@[EMAIL PROTECTED]@@Z]+0x9): undefined reference to `__except_list' F:/geolog6.6.1/lib/omnithread.lib(nt.o):nt.cc:([EMAIL PROTECTED]@@SA [EMAIL PROTECTED]@[EMAIL PROTECTED]@@Z]+0x11): undefined reference to `__except_list' F:/geolog6.6.1/lib/omnithread.lib(nt.o):nt.cc:([EMAIL PROTECTED]@@SA [EMAIL PROTECTED]@[EMAIL PROTECTED]@@Z]+0x1a): undefined reference to [EMAIL PROTECTED]@Z' F:/geolog6.6.1/lib/omnithread.lib(nt.o):nt.cc:([EMAIL PROTECTED]@@SA [EMAIL PROTECTED]@[EMAIL PROTECTED]@@Z]+0x60): undefined reference to `__except_list' F:/geolog6.6.1/lib/omnithread.lib(nt.o):nt.cc:(.text$x+0x5): undefined reference to [EMAIL PROTECTED]@Z' F:/geolog6.6.1/lib/omnithread.lib(nt.o):nt.cc:(.text$x+0x11): undefined reference to `___CxxFrameHandler' F:/geolog6.6.1/lib/omnithread.lib(nt.o):nt.cc:([EMAIL PROTECTED]@@SAXP [EMAIL PROTECTED]): undefined reference to `__endthreadex' F:/geolog6.6.1/lib/omnithread.lib(nt.o):nt.cc:([EMAIL PROTECTED]@@SAXP [EMAIL PROTECTED]): undefined reference to `__endthreadex' F:/geolog6.6.1/lib/omnithread.lib(nt.o):nt.cc:([EMAIL PROTECTED] d@@[EMAIL PROTECTED]@@Z]+0x22): undefined reference to [EMAIL PROTECTED]' F:/geolog6.6.1/lib/liblicence.a(licflexapi.o):C:/development/ptc:(.text+0x47 ): undefined reference to `__setjmp3' F:/geolog6.6.1/lib/liblicence.a(licflexapi.o):C:/development/ptc:(.text+0xc8 ): undefined reference to `__setjmp3' F:/geolog6.6.1/lib/liblicence.a(licflexapi.o):C:/development/ptc:(.text+0x24 9): undefined reference to `__setjmp3' F:/geolog6.6.1/lib/liblicence.a(licflexapi.o):C:/development/ptc:(.text+0x69 6): undefined reference to `__imp___stricmp' F:/geolog6.6.1/lib/liblicence.a(licflexapi.o):C:/development/ptc:(.text+0x96 4): undefined reference to `__setjmp3' F:/geolog6.6.1/lib/liblicence.a(licflexapi.o):C:/development/ptc:(.text+0xa4 e): undefined reference to `__setjmp3' F:/geolog6.6.1/lib/liblicence.a(licflexapi.o):C:/development/ptc:(.text+0xb4 b): undefined reference to `_dateUserid' F:/geolog6.6.1/lib/liblicence.a(licence_c.o):C:/development/ptc:(.text+0x337 ): undefined reference to `__imp___errno' collect2: ld returned 1 exit status make: *** [example2] Error 1 can anyone help me how to handle the situation Anik Pal Vadodara, India Anik Pal Schlumberger, Vadodara, India -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/