
Caleb Epstein wrote:
On 10/10/05, Douglas Gregor <dgregor@cs.indiana.edu> wrote:
|spirit| bug_000008: gcc-3_4_3-sunos grammar_mt_tests: gcc-3_4_3-sunos owi_mt_tests: gcc-3_4_3-sunos scoped_lock_tests: gcc-3_4_3-sunos scoped_lock_tests_debug: gcc-3_4_3-sunos
See:* *http://tinyurl.com/8jg2h
These failures all appear to be due to unresolved externals when linking with Boost.Threads (nanosleep, sched_yield). I'm claiming major bjam ignorance, so I need help fixing this: how can I ensure that -lrt is included in the link libraries when these tests are built?
Well there's already handling in gcc-tools.jam to add the -lrt when running in SunOS. It tests that uname is of the "SunOS*" form. What does uname return on that machine? Oh, I think I see the problem. The test you pointed to isn't being built as multi-threaded. The build requirements for those tests need to have "<threading>multi" added so that it links in the thread libraries. Grr, except it looks like the Spirit tests are already trying to add that requirement. -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - Grafik/jabber.org