Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2006-02-12 05:20:39


> This gets repeated several times:
> gcc-C++-action
> bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/barrier.o
> In file included from
> /home/quantum/boost_1_33_1/boost/thread/detail/config.hpp:18,
> from
> /home/quantum/boost_1_33_1/libs/thread/src/barrier.cpp:12:
> /home/quantum/boost_1_33_1/boost/config/requires_threads.hpp:29:4:
> #error "Threading support unavaliable: it has been explicitly disabled
> with BOOST_DISABLE_THREADS"

> I tried using the configure script and then running make to execute
> the makefile - shouldn't the configure script have detected threading
> availability in the compiler?

It's turning off threading support because it thinks your libstdc++ is built
single threaded: however I have a suspicion this is may be due to a bug I
fixed a while back - basically it means that if you configure gcc
with --enable-threads=posix rather than --enable-threads=default then our
config doesn't correctly detect that case (in case you're thinking "but
they're the same thing!", they're not at least as far as the macros set by
libstdc++ are concerned).

Anyway can you try replacing boost/config/stdlib/libstdcpp3.hpp with the
current cvs version (attached) and see if that fixes things?

John.




Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net