Mail Archives: cygwin/2003/11/02/08:04:09
Hi Gerrit,
"Gerrit P. Haase" <gp AT familiehaase DOT de> wrote in message news:46863102485 DOT 20031102105431 AT familiehaase DOT de...
> Hallo Alex,
>
> I've recompiled the STLport library now, it seems that it doesn't work
> with the DLL, when I link against the static library it works:
>
>
> > ====== 7. File bar.cpp -> Run : BEGIN ======
>
> > $ bar_orig
> > PARAM1 = (ABCD)
> > PARAM2 = (12345)
> > PARAM3 = (XYZ)
>
> > $ bar_port
> > PARAM1 = (ABCD)
> > PARAM2 = (
>
> > ====== 7. File bar.cpp -> Run : END ========
>
> $ g++ -o bar_stl.o -c bar.cpp -Istlport
> $ g++ -o bar_stl bar_stl.o ./lib/libstlport_cygwin.a
> $ ./bar_stl
> PARAM1 = (ABCD)
> PARAM2 = (12345)
> PARAM3 = (XYZ)
>
> Since libstdc++ is also static, it will be a fair race if both
> times the static archive is used.
>
[snip]
Thanks.
libstlport_cygwin.a works fine.
I tried to do the same thing with mingw.
* libstlport.a (libstlport_mingw.a) and libstlport_stldebug.a have been created with no errors
* Creating libstlport.dll.a failed (See Log-1).
I tried to compile bar.cpp with libstlport_mingw.a, but that compilation failed as well (See Log-2).
------ Log-1. Creating libstlport libraries for mingw : BEGIN ------
$ diff Makefile.cyg Makefile.mng
5c5
< CXX = c++
---
> CXX = c++ -mno-cygwin
7c7
< COMP = cygwin
---
> COMP = mingw
27c27
< COMP=cygwin
---
> COMP=mingw
$ make -f Makefile.mng
mkdir -p ../lib/obj/mingw/Release
c++ -mno-cygwin -I../stlport -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -O2 dll_main.cpp -c -o ../lib/obj/mingw/Release/dll
_main.o
[---omitted---]
ar crv ../lib/libstlport.a ../lib/obj/mingw/Release/dll_main.o ../lib/obj/mingw/Release/fstream.o ../lib/obj/mingw/Release/strstrea
m.o ../lib/obj/mingw/Release/sstream.o ../lib/obj/mingw/Release/ios.o ../lib/obj/mingw/Release/streambuf.o ../lib/obj/mingw/Release/
stdio_streambuf.o ../lib/obj/mingw/Release/istream.o ../lib/obj/mingw/Release/ostream.o ../lib/obj/mingw/Release/iostream.o ../lib/o
bj/mingw/Release/codecvt.o ../lib/obj/mingw/Release/collate.o ../lib/obj/mingw/Release/ctype.o ../lib/obj/mingw/Release/monetary.o .
./lib/obj/mingw/Release/num_get.o ../lib/obj/mingw/Release/num_put.o ../lib/obj/mingw/Release/num_get_float.o ../lib/obj/mingw/Relea
se/num_put_float.o ../lib/obj/mingw/Release/numpunct.o ../lib/obj/mingw/Release/time_facets.o ../lib/obj/mingw/Release/messages.o ..
/lib/obj/mingw/Release/locale_impl.o ../lib/obj/mingw/Release/locale.o ../lib/obj/mingw/Release/locale_catalog.o ../lib/obj/mingw/Re
lease/facets_byname.o ../lib/obj/mingw/Release/c_locale.o ../lib/obj/mingw/Release/c_locale_stub.o ../lib/obj/mingw/Release/complex.
o ../lib/obj/mingw/Release/complex_exp.o ../lib/obj/mingw/Release/complex_io.o ../lib/obj/mingw/Release/complex_trig.o ../lib/obj/mi
ngw/Release/complex_io_w.o ../lib/obj/mingw/Release/string_w.o
a - ../lib/obj/mingw/Release/dll_main.o
a - ../lib/obj/mingw/Release/fstream.o
a - ../lib/obj/mingw/Release/strstream.o
a - ../lib/obj/mingw/Release/sstream.o
a - ../lib/obj/mingw/Release/ios.o
a - ../lib/obj/mingw/Release/streambuf.o
a - ../lib/obj/mingw/Release/stdio_streambuf.o
a - ../lib/obj/mingw/Release/istream.o
a - ../lib/obj/mingw/Release/ostream.o
a - ../lib/obj/mingw/Release/iostream.o
a - ../lib/obj/mingw/Release/codecvt.o
a - ../lib/obj/mingw/Release/collate.o
a - ../lib/obj/mingw/Release/ctype.o
a - ../lib/obj/mingw/Release/monetary.o
a - ../lib/obj/mingw/Release/num_get.o
a - ../lib/obj/mingw/Release/num_put.o
a - ../lib/obj/mingw/Release/num_get_float.o
a - ../lib/obj/mingw/Release/num_put_float.o
a - ../lib/obj/mingw/Release/numpunct.o
a - ../lib/obj/mingw/Release/time_facets.o
a - ../lib/obj/mingw/Release/messages.o
a - ../lib/obj/mingw/Release/locale_impl.o
a - ../lib/obj/mingw/Release/locale.o
a - ../lib/obj/mingw/Release/locale_catalog.o
a - ../lib/obj/mingw/Release/facets_byname.o
a - ../lib/obj/mingw/Release/c_locale.o
a - ../lib/obj/mingw/Release/c_locale_stub.o
a - ../lib/obj/mingw/Release/complex.o
a - ../lib/obj/mingw/Release/complex_exp.o
a - ../lib/obj/mingw/Release/complex_io.o
a - ../lib/obj/mingw/Release/complex_trig.o
a - ../lib/obj/mingw/Release/complex_io_w.o
a - ../lib/obj/mingw/Release/string_w.o
mkdir -p ../lib/obj/mingw/DebugSTL
c++ -mno-cygwin -I../stlport -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -O -g -D_STLP_DEBUG dll_main.cpp -c -o ../lib/obj/m
ingw/DebugSTL/dll_main.o
[---omitted---]
[---omitted---]
c++ -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/m
ingw/ReleaseD/dll_main.o ../lib/obj/mingw/ReleaseD/fstream.o ../lib/obj/mingw/ReleaseD/strstream.o ../lib/obj/mingw/ReleaseD/sstream
.o ../lib/obj/mingw/ReleaseD/ios.o ../lib/obj/mingw/ReleaseD/streambuf.o ../lib/obj/mingw/ReleaseD/stdio_streambuf.o ../lib/obj/ming
w/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/mingw/ReleaseD/n
um_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/obj/mingw/Rele
aseD/locale_impl.o ../lib/obj/mingw/ReleaseD/locale.o ../lib/obj/mingw/ReleaseD/locale_catalog.o ../lib/obj/mingw/ReleaseD/facets_by
name.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/Relea
seD/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/dll_main.o(.text$_ZN4_STL18__stl_debug_engineIbE8_MessageEPKcz+0x15):dll_main.cpp: undefined reference to
`__imp___iob'
../lib/obj/mingw/ReleaseD/fstream.o(.text+0xf2):fstream.cpp: undefined reference to `__imp____pioinfo'
../lib/obj/mingw/ReleaseD/iostream.o(.text+0x459):iostream.cpp: undefined reference to `__imp___iob'
../lib/obj/mingw/ReleaseD/iostream.o(.text+0x4b1):iostream.cpp: undefined reference to `__imp___iob'
../lib/obj/mingw/ReleaseD/iostream.o(.text+0x50f):iostream.cpp: undefined reference to `__imp___iob'
../lib/obj/mingw/ReleaseD/iostream.o(.text+0x56a):iostream.cpp: undefined reference to `__imp___iob'
../lib/obj/mingw/ReleaseD/iostream.o(.text+0x6a5):iostream.cpp: undefined reference to `__imp___iob'
../lib/obj/mingw/ReleaseD/iostream.o(.text+0x6c4):iostream.cpp: more undefined references to `__imp___iob' follow
../lib/obj/mingw/ReleaseD/num_put_float.o(.text+0x2bf):num_put_float.cpp: undefined reference to `__fpclass'
../lib/obj/mingw/ReleaseD/num_put_float.o(.text+0x36c):num_put_float.cpp: undefined reference to `__fpclass'
../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
collect2: ld returned 1 exit status
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 : END --------
--
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/
- Raw text -