|
Boost : |
From: Howard Hinnant (hinnant_at_[hidden])
Date: 2004-08-19 17:54:52
On Aug 19, 2004, at 1:12 PM, Robert Ramey wrote:
> Almost all the tests for the serialization system fail to link with the
> following message:
>
> ### mwld Linker Error:
> # Undefined symbol: '_errno'
> # referenced from 'void
> boost::unit_test::hrf_report_formatter::report_assertions_stat(class
> std::basic_ostream<char, struct std::char_traits<char> > &, unsigned
> int,
> unsigned long, unsigned long, unsigned long)
> (?
> report_assertions_stat_at_hrf_report_formatter_at_unit_test_at_boost@@UAEXAAV?$b
> asi
> c_ostream_at_DU?$char_traits_at_D@std@@@std@@IKKK_at_Z)' in unit_test_result.obj
> (libboost_test_exec_monitor.lib)
> ### mwld Linker Error:
> # Undefined symbol: '_errno'
> # referenced from 'void
> boost::unit_test::hrf_report_formatter::
> report_sub_test_cases_stat(class
> std::basic_ostream<char, struct std::char_traits<char> > &, unsigned
> int,
> unsigned long, unsigned long)
> (?
> report_sub_test_cases_stat_at_hrf_report_formatter_at_unit_test_at_boost@@UAEXAA
> V?$
> basic_ostream_at_DU?$char_traits_at_D@std@@@std@@IKK_at_Z)' in
> unit_test_result.obj
> (libboost_test_exec_monitor.lib)
>
> Errors caused tool to abort.
>
> To me, this suggests some issue regarding
> libboost_test_exec_monitor.lib .
>
> Anyone care to comment?
Somehow the C library isn't getting linked in (that's where errno
lives). But I guess that much was obvious anyway.
-Howard
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk