Boost C++ Libraries: Ticket #255: to_simple_string link problem https://svn.boost.org/trac10/ticket/255 <pre class="wiki">935571 time_from_string link problem (i'm the anonymous poster of that request ) I tried some other things like conversions from ptime std::string ts("2002-01-20 23:59:59.000"); std::cout&lt;&lt;boost::posix_time::to_iso_string(t1)&lt;&lt;std::endl; std::cout&lt;&lt;boost::posix_time::to_simple_string(t1)&lt;&lt;std::endl; std::cout&lt;&lt;boost::posix_time::to_iso_extended_string(t1)&lt;&lt;std::endl; the conversion from ptime to simple string return also a link error: Linking prog ... database.o(.gnu.linkonce.t._ZN5boost9date_time15month_formatterINS_9gregorian10greg_monthENS0_13simple_formatEE12format_monthERKS3_RSo+0x13): dans la fonction « boost::date_time::month_formatter&lt;boost::gregorian::greg_month, boost::date_time::simple_format&gt;::format_month(boost::gregorian::greg_month const&amp;, std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt;&amp;)»: : undefined reference to `boost::gregorian::greg_month::as_short_string() const' (conversions to iso and iso extended are working) </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/255 Trac 1.4.3 az_sw_dude Sat, 17 Apr 2004 21:27:41 GMT <link>https://svn.boost.org/trac10/ticket/255#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/255#comment:1</guid> <description> <pre class="wiki">Logged In: YES user_id=579686 I suspect you are not linking against the library. With g++ this would look like: g++ -I $(BOOST_ROOT) my_date_code.cpp -L . -l boost_date_time-gcc-s-1_31 where you have libboost_date_time-gcc-s-1_31.a in the local directory. Of course you need to build the library first if you haven't already. See documentation for instructions. Jeff </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>az_sw_dude</dc:creator> <pubDate>Sat, 17 Apr 2004 21:28:24 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/255#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/255#comment:2</guid> <description> <pre class="wiki">Logged In: YES user_id=579686 I suspect you are not linking against the library. With g++ this would look like: g++ -I $(BOOST_ROOT) my_date_code.cpp -L . -l boost_date_time-gcc-s-1_31 where you have libboost_date_time-gcc-s-1_31.a in the local directory. Of course you need to build the library first if you haven't already. See documentation for instructions. Jeff </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>andrasiel</dc:creator> <pubDate>Tue, 20 Apr 2004 10:44:47 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/255#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/255#comment:3</guid> <description> <pre class="wiki">Logged In: YES user_id=1021845 I apologize; there is no bug my linking option was incomplete... very sorry </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>andrasiel</dc:creator> <pubDate>Tue, 20 Apr 2004 10:47:59 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/255#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/255#comment:4</guid> <description> <pre class="wiki">Logged In: YES user_id=1021845 and thank you </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>az_sw_dude</dc:creator> <pubDate>Tue, 20 Apr 2004 10:52:15 GMT</pubDate> <title>status changed https://svn.boost.org/trac10/ticket/255#comment:5 https://svn.boost.org/trac10/ticket/255#comment:5 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> Ticket