Configuration:
Wt from git (2009/11/13) (wt-2.99.5 acts the same)
MacOS 10.5.8
Boost 1.40.0_1 built from mac ports, with python26, doc, debug options
cmake 2.6.4_1
Linking CXX shared library libwthttp.dylib
ld warning: duplicate dylib /opt/local/lib/libboost_program_options-
mt.dylib
ld warning: duplicate dylib /opt/local/lib/libboost_date_time-mt.dylib
Undefined symbols:
"boost
::program_options
::detail::cmdline::cmdline(std::vector<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::allocator<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > > > const&)", referenced from:
boost
::program_options
::basic_command_line_parser<char>::basic_command_line_parser(int,
char**)in Configuration.o
"boost::program_options::validate(boost::any&,
std::vector<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > > const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char>
>*, int)", referenced from:
boost::program_options::typed_value<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
char>::xparse(boost::any&, std::vector<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::allocator<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > > > const&) constin Configuration.o
"boost
::program_options
::value_semantic_codecvt_helper<char>::parse(boost::any&,
std::vector<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > > const&, bool)
const", referenced from:
vtable for boost::program_options::typed_value<int, char>in
Configuration.o
vtable for
boost::program_options::typed_value<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, char>in Configuration.o
This error started after to upgrading to boost 1.40.0_1, from 1.40.0_0
Downgrading to 1.40.0_0 fixed the link issue.
Any insight what's causing this?
One posting I googled claimed it was caused by C++ visibility issues,
and recommended adding a compile flag "-fvisibility=default", which
didn't seem to fix this issue.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest