
Hello folks, I am trying to use boost here and I keep getting the following error when trying to compile dates_as_strings.cpp example: Prelinker invoked. Parsing line from ld: Prelink undefined symbol: get_month_map_ptr__Q25boost9gregorian10greg_monthXv Prelink undefined symbol: _ZTVSt9exception Prelink undefined symbol: _ZTVSt11logic_error Prelink undefined symbol: _ZNSt6localeD1Ev Prelink undefined symbol: _ZNSspLEc Prelink undefined symbol: _Znwm Prelink undefined symbol: _ZNSt11logic_errorD2Ev Prelink undefined symbol: __register_frame_info_table Prelink undefined symbol: __deregister_frame_info Prelink undefined symbol: _ZSt9use_facetISt5ctypeIcEERKT_RKSt6locale Prelink undefined symbol: _ZNKSs2atEm Prelink undefined symbol: _ZNKSs6lengthEv Prelink undefined symbol: _ZNSt6localeC1EPKc Prelink undefined symbol: _ZNSsC1Ev Prelink undefined symbol: _ZNSt12out_of_rangeC2ERKSs Prelink undefined symbol: _ZNSt8ios_base4InitD1Ev Prelink undefined symbol: _ZNSt8ios_base4InitC1Ev Prelink undefined symbol: _ZNSt24__default_alloc_templateILb1ELi0EE10deallocateEPvm Prelink undefined symbol: _ZNSt24__default_alloc_templateILb1ELi0EE8allocateEm Prelink undefined symbol: _ZNKSs7compareERKSs Prelink undefined symbol: _ZNKSt9type_infoeqERKS_ Prelink undefined symbol: __cxa_end_catch Prelink undefined symbol: __cxa_rethrow Prelink undefined symbol: __cxa_begin_catch Prelink undefined symbol: _ZNSsC1ERKSs Prelink undefined symbol: _ZNSsD1Ev Prelink undefined symbol: _ZNSsaSERKSs Prelink undefined symbol: _ZNSsaSEPKc Prelink undefined symbol: _ZNSaIcED1Ev Prelink undefined symbol: _ZNSsC1EPKcRKSaIcE Prelink undefined symbol: _ZNSaIcEC1Ev Prelink undefined symbol: _ZNSt9exceptionD2Ev Prelink undefined symbol: __cxa_throw Prelink undefined symbol: __cxa_allocate_exception Prelink undefined symbol: _Unwind_Resume Prelink undefined symbol: _ZdlPv Prelink undefined symbol: __gxx_personality_v0 Prelink undefined symbol: __cxa_pure_virtual Prelink undefined symbol: _ZTISt11logic_error Prelink undefined symbol: _ZNKSt11logic_error4whatEv Prelink undefined symbol: _ZTVN10__cxxabiv117__class_type_infoE Prelink undefined symbol: _ZTVN10__cxxabiv120__si_class_type_infoE Prelink undefined symbol: as_long_string__CQ25boost9gregorian12greg_weekdayXv Prelink undefined symbol: as_long_string__CQ25boost9gregorian10greg_monthXv Prelink undefined symbol: as_short_string__CQ25boost9gregorian10greg_monthXv ld: Unresolved: boost::gregorian::greg_month::get_month_map_ptr(void) boost::gregorian::greg_weekday::as_long_string(void) const boost::gregorian::greg_month::as_long_string(void) const boost::gregorian::greg_month::as_short_string(void) const The compiler command is: cxx -I/desenv/syuen/tmp/boost_1_31_0 -L/desenv/syuen/tmp/boost_1_31_0/stage/lib -lboost_date_time-gcc-mt-d-1_31 -pthread -o dates_as_strings -D__USE_STD_IOSTREAM -ptv -ptr ./cxx_repository dates_as_strings.cpp The compiler version is:
cxx -V Compaq C++ V6.5-014 for Compaq Tru64 UNIX V5.1A (Rev. 1885) Compiler Driver V6.5-014 (cxx) cxx Driver
I have compiled the library using gcc compiler set: export GXX="g++ -pthread" bjam "-sTOOLS=gcc" stage I would appreciate any help. Regards,
Samuel Yuen System Analyst - PDC Atos Origin Rua Itapaiuna 2434 São Paulo / SP Brazil Phone +55 (11) 2183-2035 Mobile +55 (11) 8112-6361 Fax + 55 (11) 2183-2113 samuel.yuen@atosorigin.com www.atosorigin.com
This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it.
As its integrity cannot be secured on the Internet, the Atos Origin groupliability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
participants (1)
-
Yuen, Samuel