Hi
I finally solved the problem.
I just had to change from -lboost_xxx to -lboost_xxx-mt.
The remaining problem was just a consequence of my IDE (Eclipse) that was
keeping some "cache" file that were still using old versions of Boost
library.
Sorry for the inconvenience and the silly questions.
Thanks for the help.
Johan Mazel
2009/4/29 Johan Oudinet
On Wed, Apr 29, 2009 at 11:09 AM, Johan Mazel
wrote: Hi You mean that I should use -lboost_filesystem-mt instead of -lboost_filesystem ?
When you write -lxxx, your compiler look for libxxx.a or libxxx.so
If that is the case I just tried to use these options and the seem to be working. But there is one remaining problem, I get an error like this :
/usr/include/boost/system/error_code.hpp:205: undefined reference to `boost::system::get_posix_category()'
I don't use Boost.System, but according to its documentation:
http://www.boost.org/doc/libs/1_38_0/libs/system/doc/reference.html#Deprecat... You should use get_generic_category() instead of get_posix_category()
You can also use the command nm to verify if 'yyy' function is in 'xxx' library: nm -C /usr/lib/libxxx.a | grep yyy
IMHO, get_posix_category is in libboost_system.a, but not in libboost_system-mt.a
Regards,
-- Johan _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users