Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: "Alex Vinokur" Subject: Re: STLport with the Cygwin/MinGW compiler Date: Sun, 2 Nov 2003 20:29:43 +0200 Lines: 267 Message-ID: References: <157-1772867639 DOT 20031030154714 AT familiehaase DOT de> <43-1680745334 DOT 20031031172236 AT familiehaase DOT de> <118743930094 DOT 20031101014819 AT familiehaase DOT de> <75783230946 DOT 20031101124319 AT familiehaase DOT de> <46863102485 DOT 20031102105431 AT familiehaase DOT de> <38880681633 DOT 20031102154730 AT familiehaase DOT de> <140881953562 DOT 20031102160842 AT familiehaase DOT de> X-Complaints-To: usenet AT sea DOT gmane DOT org X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Hi Gerrit, "Gerrit P. Haase" wrote in message news:140881953562 DOT 20031102160842 AT familiehaase DOT de... > Hallo Alex, > > >>> Since libstdc++ is also static, it will be a fair race if both > >>> times the static archive is used. > > >> libstlport_cygwin.a works fine. > > > >> I tried to do the same thing with mingw. > > > [...] > > > >> c++ -shared -o ... > > > This is wrong, you must also link with -mno-cygwin flag to get the > > right libstdc++ in /usr/lib/mingw. > > > Add it to DYN_LINK: > > DYN_LINK=c++ -mno-cygwin -shared -o > > > > However, the link to the static archive also fails, maybe because the > > MinGW version of gcc was built without --disable-nls? > Wanted to say: ^^^^^^^ with --disable-nls > [snip] I have added -mno-cygwin to DYN_LINK. That didn't help. So, most probably 'STLporting to MinGW version of gcc' is problematic. ------ Makefile: BEGIN ------ $ diff Makefile.cyg Makefile.mng 5c5 < CXX = c++ --- > CXX = c++ -mno-cygwin 7c7 < COMP = cygwin --- > COMP = mingw 19c19 < DYN_LINK=c++ -shared -o --- > DYN_LINK=c++ -mno-cygwin -shared -o 27c27 < COMP=cygwin --- > COMP=mingw ------ Makefile: END -------- ------ Log-1. Creating libstlport libraries for mingw : BEGIN ------ $ make -f Makefile.mng [---omitted---] c++ -mno-cygwin -shared -o ../lib/libstlport-45.dll -I../stlport -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -O2 -D_STLP_USE _DYNAMIC_LIB -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,-d -Wl,--out-implib,../lib/libstlport.dll.a -Wl,--whole-archive ../lib/obj/mingw/ReleaseD/dll_main.o ../lib/obj/mingw/ReleaseD/fstream.o ../lib/obj/mingw/ReleaseD/strstream.o ../lib/obj/mingw/Rele aseD/sstream.o ../lib/obj/mingw/ReleaseD/ios.o ../lib/obj/mingw/ReleaseD/streambuf.o ../lib/obj/mingw/ReleaseD/stdio_streambuf.o ../ lib/obj/mingw/ReleaseD/istream.o ../lib/obj/mingw/ReleaseD/ostream.o ../lib/obj/mingw/ReleaseD/iostream.o ../lib/obj/mingw/ReleaseD/ codecvt.o ../lib/obj/mingw/ReleaseD/collate.o ../lib/obj/mingw/ReleaseD/ctype.o ../lib/obj/mingw/ReleaseD/monetary.o ../lib/obj/ming w/ReleaseD/num_get.o ../lib/obj/mingw/ReleaseD/num_put.o ../lib/obj/mingw/ReleaseD/num_get_float.o ../lib/obj/mingw/ReleaseD/num_put _float.o ../lib/obj/mingw/ReleaseD/numpunct.o ../lib/obj/mingw/ReleaseD/time_facets.o ../lib/obj/mingw/ReleaseD/messages.o ../lib/ob j/mingw/ReleaseD/locale_impl.o ../lib/obj/mingw/ReleaseD/locale.o ../lib/obj/mingw/ReleaseD/locale_catalog.o ../lib/obj/mingw/Releas eD/facets_byname.o ../lib/obj/mingw/ReleaseD/c_locale.o ../lib/obj/mingw/ReleaseD/c_locale_stub.o ../lib/obj/mingw/ReleaseD/complex. o ../lib/obj/mingw/ReleaseD/complex_exp.o ../lib/obj/mingw/ReleaseD/complex_io.o ../lib/obj/mingw/ReleaseD/complex_trig.o ../lib/obj /mingw/ReleaseD/complex_io_w.o ../lib/obj/mingw/ReleaseD/string_w.o -Wl,--no-whole-archive Creating library file: ../lib/libstlport.dll.a ../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x45a):time_facets.cpp: undefined reference to `_Locale_abbrev_dayofweek' ../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x4cb):time_facets.cpp: undefined reference to `_Locale_full_dayofweek' ../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x547):time_facets.cpp: undefined reference to `_Locale_abbrev_monthname' ../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x5c7):time_facets.cpp: undefined reference to `_Locale_full_monthname' ../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x62e):time_facets.cpp: undefined reference to `_Locale_am_str' ../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x67f):time_facets.cpp: undefined reference to `_Locale_pm_str' ../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x6d0):time_facets.cpp: undefined reference to `_Locale_t_fmt' ../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x721):time_facets.cpp: undefined reference to `_Locale_d_fmt' ../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x772):time_facets.cpp: undefined reference to `_Locale_d_t_fmt' ../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x7c3):time_facets.cpp: undefined reference to `_Locale_long_d_fmt' ../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x814):time_facets.cpp: undefined reference to `_Locale_long_d_t_fmt' ../lib/obj/mingw/ReleaseD/time_facets.o(.text+0x1a0e):time_facets.cpp: undefined reference to `_Locale_d_fmt' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x9b7):locale_catalog.cpp: undefined reference to `_Locale_extract_ctype_name' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x9d6):locale_catalog.cpp: undefined reference to `_Locale_extract_numeric_name' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x9f5):locale_catalog.cpp: undefined reference to `_Locale_extract_time_name' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0xa14):locale_catalog.cpp: undefined reference to `_Locale_extract_collate_name' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0xa39):locale_catalog.cpp: undefined reference to `_Locale_extract_monetary_name' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0xa58):locale_catalog.cpp: undefined reference to `_Locale_extract_messages_name' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0xa96):locale_catalog.cpp: undefined reference to `_Locale_compose_name' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x2696):locale_catalog.cpp: undefined reference to `_Locale_ctype_default' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x2bb6):locale_catalog.cpp: undefined reference to `_Locale_numeric_default' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x3146):locale_catalog.cpp: undefined reference to `_Locale_time_default' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x38c6):locale_catalog.cpp: undefined reference to `_Locale_collate_default' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x3c16):locale_catalog.cpp: undefined reference to `_Locale_monetary_default' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x4336):locale_catalog.cpp: undefined reference to `_Locale_messages_default' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x5):locale_catalog.cpp: undefined reference to `_Locale_ctype_create' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x15):locale_catalog.cpp: undefined reference to `_Locale_numeric_create' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x25):locale_catalog.cpp: undefined reference to `_Locale_time_create' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x35):locale_catalog.cpp: undefined reference to `_Locale_collate_create' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x45):locale_catalog.cpp: undefined reference to `_Locale_monetary_create' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x55):locale_catalog.cpp: undefined reference to `_Locale_messages_create' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x65):locale_catalog.cpp: undefined reference to `_Locale_ctype_name' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x75):locale_catalog.cpp: undefined reference to `_Locale_numeric_name' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x85):locale_catalog.cpp: undefined reference to `_Locale_time_name' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x95):locale_catalog.cpp: undefined reference to `_Locale_collate_name' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0xa5):locale_catalog.cpp: undefined reference to `_Locale_monetary_name' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0xb5):locale_catalog.cpp: undefined reference to `_Locale_messages_name' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0xc5):locale_catalog.cpp: undefined reference to `_Locale_ctype_default' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0xd5):locale_catalog.cpp: undefined reference to `_Locale_numeric_default' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0xe5):locale_catalog.cpp: undefined reference to `_Locale_time_default' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0xf5):locale_catalog.cpp: undefined reference to `_Locale_collate_default' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x105):locale_catalog.cpp: undefined reference to `_Locale_monetary_default' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x115):locale_catalog.cpp: undefined reference to `_Locale_messages_default' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x125):locale_catalog.cpp: undefined reference to `_Locale_ctype_destroy' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x135):locale_catalog.cpp: undefined reference to `_Locale_numeric_destroy' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x145):locale_catalog.cpp: undefined reference to `_Locale_time_destroy' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x155):locale_catalog.cpp: undefined reference to `_Locale_collate_destroy' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x165):locale_catalog.cpp: undefined reference to `_Locale_monetary_destroy' ../lib/obj/mingw/ReleaseD/locale_catalog.o(.text+0x175):locale_catalog.cpp: undefined reference to `_Locale_messages_destroy' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0xa5):facets_byname.cpp: undefined reference to `_Locale_ctype_table' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x1e5):facets_byname.cpp: undefined reference to `_Locale_ctype_table' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x4bb):facets_byname.cpp: undefined reference to `_Locale_toupper' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x4eb):facets_byname.cpp: undefined reference to `_Locale_tolower' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x531):facets_byname.cpp: undefined reference to `_Locale_toupper' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x581):facets_byname.cpp: undefined reference to `_Locale_tolower' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x978):facets_byname.cpp: undefined reference to `_Locale_wchar_ctype' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x9c4):facets_byname.cpp: undefined reference to `_Locale_wchar_ctype' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0xa78):facets_byname.cpp: undefined reference to `_Locale_wchar_toupper' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0xabe):facets_byname.cpp: undefined reference to `_Locale_wchar_toupper' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0xae8):facets_byname.cpp: undefined reference to `_Locale_wchar_tolower' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0xb2e):facets_byname.cpp: undefined reference to `_Locale_wchar_tolower' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0xf99):facets_byname.cpp: undefined reference to `_Locale_strxfrm' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x105c):facets_byname.cpp: undefined reference to `_Locale_strxfrm' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x168e):facets_byname.cpp: undefined reference to `_Locale_strwxfrm' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x174c):facets_byname.cpp: undefined reference to `_Locale_strwxfrm' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x1dc4):facets_byname.cpp: undefined reference to `_Locale_wctomb' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x1e51):facets_byname.cpp: undefined reference to `_Locale_mbtowc' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x1ed6):facets_byname.cpp: undefined reference to `_Locale_unshift' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x1f26):facets_byname.cpp: undefined reference to `_Locale_is_stateless' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x1f3a):facets_byname.cpp: undefined reference to `_Locale_mb_cur_max' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x1f47):facets_byname.cpp: undefined reference to `_Locale_mb_cur_min' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x2054):facets_byname.cpp: undefined reference to `_Locale_true' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x20e2):facets_byname.cpp: undefined reference to `_Locale_false' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x2304):facets_byname.cpp: undefined reference to `_Locale_true' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x2392):facets_byname.cpp: undefined reference to `_Locale_false' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x2760):facets_byname.cpp: undefined reference to `_Locale_decimal_point' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x2780):facets_byname.cpp: undefined reference to `_Locale_thousands_sep' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x27d3):facets_byname.cpp: undefined reference to `_Locale_grouping' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x28d4):facets_byname.cpp: undefined reference to `_Locale_true' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x28e5):facets_byname.cpp: undefined reference to `_Locale_false' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x2b14):facets_byname.cpp: undefined reference to `_Locale_true' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x2b25):facets_byname.cpp: undefined reference to `_Locale_false' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x2f00):facets_byname.cpp: undefined reference to `_Locale_decimal_point' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x2f20):facets_byname.cpp: undefined reference to `_Locale_thousands_sep' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x2f73):facets_byname.cpp: undefined reference to `_Locale_grouping' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3006):facets_byname.cpp: undefined reference to `_Locale_p_sign_posn' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3037):facets_byname.cpp: undefined reference to `_Locale_p_cs_precedes' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x304b):facets_byname.cpp: undefined reference to `_Locale_p_sep_by_space' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3064):facets_byname.cpp: undefined reference to `_Locale_n_sign_posn' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3097):facets_byname.cpp: undefined reference to `_Locale_n_cs_precedes' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x30a7):facets_byname.cpp: undefined reference to `_Locale_n_sep_by_space' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x30f8):facets_byname.cpp: undefined reference to `_Locale_n_sep_by_space' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3124):facets_byname.cpp: undefined reference to `_Locale_n_cs_precedes' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3133):facets_byname.cpp: undefined reference to `_Locale_n_sep_by_space' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3171):facets_byname.cpp: undefined reference to `_Locale_n_sep_by_space' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x31a4):facets_byname.cpp: undefined reference to `_Locale_n_cs_precedes' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x31c4):facets_byname.cpp: undefined reference to `_Locale_n_cs_precedes' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3218):facets_byname.cpp: undefined reference to `_Locale_p_sep_by_space' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3244):facets_byname.cpp: undefined reference to `_Locale_p_cs_precedes' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3253):facets_byname.cpp: undefined reference to `_Locale_p_sep_by_space' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3291):facets_byname.cpp: undefined reference to `_Locale_p_sep_by_space' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x32c4):facets_byname.cpp: undefined reference to `_Locale_p_cs_precedes' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x32e4):facets_byname.cpp: undefined reference to `_Locale_p_cs_precedes' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3720):facets_byname.cpp: undefined reference to `_Locale_mon_decimal_point' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3740):facets_byname.cpp: undefined reference to `_Locale_mon_thousands_sep' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3799):facets_byname.cpp: undefined reference to `_Locale_mon_grouping' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3839):facets_byname.cpp: undefined reference to `_Locale_int_curr_symbol' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x38d9):facets_byname.cpp: undefined reference to `_Locale_positive_sign' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3979):facets_byname.cpp: undefined reference to `_Locale_negative_sign' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x39e0):facets_byname.cpp: undefined reference to `_Locale_int_frac_digits' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3e00):facets_byname.cpp: undefined reference to `_Locale_mon_decimal_point' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3e20):facets_byname.cpp: undefined reference to `_Locale_mon_thousands_sep' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3e79):facets_byname.cpp: undefined reference to `_Locale_mon_grouping' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3f19):facets_byname.cpp: undefined reference to `_Locale_currency_symbol' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x3fb9):facets_byname.cpp: undefined reference to `_Locale_positive_sign' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x4059):facets_byname.cpp: undefined reference to `_Locale_negative_sign' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x40c0):facets_byname.cpp: undefined reference to `_Locale_frac_digits' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x44e0):facets_byname.cpp: undefined reference to `_Locale_mon_decimal_point' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x4500):facets_byname.cpp: undefined reference to `_Locale_mon_thousands_sep' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x4559):facets_byname.cpp: undefined reference to `_Locale_mon_grouping' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x45f6):facets_byname.cpp: undefined reference to `_Locale_int_curr_symbol' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x47b6):facets_byname.cpp: undefined reference to `_Locale_positive_sign' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x4976):facets_byname.cpp: undefined reference to `_Locale_negative_sign' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x4b00):facets_byname.cpp: undefined reference to `_Locale_int_frac_digits' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x4f20):facets_byname.cpp: undefined reference to `_Locale_mon_decimal_point' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x4f40):facets_byname.cpp: undefined reference to `_Locale_mon_thousands_sep' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x4f99):facets_byname.cpp: undefined reference to `_Locale_mon_grouping' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x5036):facets_byname.cpp: undefined reference to `_Locale_currency_symbol' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x51f6):facets_byname.cpp: undefined reference to `_Locale_positive_sign' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x53b6):facets_byname.cpp: undefined reference to `_Locale_negative_sign' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x5540):facets_byname.cpp: undefined reference to `_Locale_frac_digits' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x616d):facets_byname.cpp: undefined reference to `_Locale_catopen' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x6204):facets_byname.cpp: undefined reference to `_Locale_catgets' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x63b7):facets_byname.cpp: undefined reference to `_Locale_catgets' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x6402):facets_byname.cpp: undefined reference to `_Locale_catgets' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x6638):facets_byname.cpp: undefined reference to `_Locale_catclose' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0xf1f):facets_byname.cpp: undefined reference to `_Locale_strcmp' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x161a):facets_byname.cpp: undefined reference to `_Locale_strwcmp' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text+0x1fbe):facets_byname.cpp: undefined reference to `_Locale_mb_cur_max' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text$_ZN4_STL9__find_ifIPKwNS_23_Ctype_byname_w_is_maskEEET_S4_S4_T0_RKNS_26random_access _iterator_tagE+0x3e):facets_byname.cpp: undefined reference to `_Locale_wchar_ctype' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text$_ZN4_STL9__find_ifIPKwNS_23_Ctype_byname_w_is_maskEEET_S4_S4_T0_RKNS_26random_access _iterator_tagE+0x5f):facets_byname.cpp: undefined reference to `_Locale_wchar_ctype' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text$_ZN4_STL9__find_ifIPKwNS_23_Ctype_byname_w_is_maskEEET_S4_S4_T0_RKNS_26random_access _iterator_tagE+0x80):facets_byname.cpp: undefined reference to `_Locale_wchar_ctype' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text$_ZN4_STL9__find_ifIPKwNS_23_Ctype_byname_w_is_maskEEET_S4_S4_T0_RKNS_26random_access _iterator_tagE+0xa1):facets_byname.cpp: undefined reference to `_Locale_wchar_ctype' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text$_ZN4_STL9__find_ifIPKwNS_23_Ctype_byname_w_is_maskEEET_S4_S4_T0_RKNS_26random_access _iterator_tagE+0xef):facets_byname.cpp: undefined reference to `_Locale_wchar_ctype' ../lib/obj/mingw/ReleaseD/facets_byname.o(.text$_ZN4_STL9__find_ifIPKwNS_23_Ctype_byname_w_is_maskEEET_S4_S4_T0_RKNS_26random_access _iterator_tagE+0x10c):facets_byname.cpp: more undefined references to `_Locale_wchar_ctype' follow make: *** [../lib/libstlport-45.dll] Error 1 ------ Log-1. Creating libstlport libraries for mingw : END -------- ------ Log-2. Compilation of bar.cpp with libstlport_mingw.a : BEGIN ------ $ g++ -mno-cygwin -o bar_stl.exe bar.cpp -I/STLport-4.5.3/stlport /lib/libstlport_mingw.a /lib/libstlport_mingw.a(time_facets.o)(.text+0x45a):time_facets.cpp: undefined reference to `_Locale_abbrev_dayofweek' /lib/libstlport_mingw.a(time_facets.o)(.text+0x4cb):time_facets.cpp: undefined reference to `_Locale_full_dayofweek' /lib/libstlport_mingw.a(time_facets.o)(.text+0x547):time_facets.cpp: undefined reference to `_Locale_abbrev_monthname' /lib/libstlport_mingw.a(time_facets.o)(.text+0x5c7):time_facets.cpp: undefined reference to `_Locale_full_monthname' /lib/libstlport_mingw.a(time_facets.o)(.text+0x62e):time_facets.cpp: undefined reference to `_Locale_am_str' /lib/libstlport_mingw.a(time_facets.o)(.text+0x67f):time_facets.cpp: undefined reference to `_Locale_pm_str' /lib/libstlport_mingw.a(time_facets.o)(.text+0x6d0):time_facets.cpp: undefined reference to `_Locale_t_fmt' /lib/libstlport_mingw.a(time_facets.o)(.text+0x721):time_facets.cpp: undefined reference to `_Locale_d_fmt' /lib/libstlport_mingw.a(time_facets.o)(.text+0x772):time_facets.cpp: undefined reference to `_Locale_d_t_fmt' /lib/libstlport_mingw.a(time_facets.o)(.text+0x7c3):time_facets.cpp: undefined reference to `_Locale_long_d_fmt' /lib/libstlport_mingw.a(time_facets.o)(.text+0x814):time_facets.cpp: undefined reference to `_Locale_long_d_t_fmt' /lib/libstlport_mingw.a(time_facets.o)(.text+0x1a0e):time_facets.cpp: undefined reference to `_Locale_d_fmt' ------ Log-2. Compilation of bar.cpp with libstlport_mingw.a : BEGIN ------ Thanks, ===================================== Alex Vinokur mailto:alexvn AT connect DOT to http://mathforum.org/library/view/10978.html news://news.gmane.org/gmane.comp.lang.c++.perfometer ===================================== -- 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/