$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Alexander Dong Back Kim (alexdbkim_at_[hidden])
Date: 2008-08-31 23:15:18
Dear members,
I wrote an application using boost thread. It compiled well with GCC 3.4 but
not with 3.2. I'm using Boost version 1.35.
When I compile the application it shows the following error messages...
/usr/local/include/boost-1_35/boost/config/requires_threads.hpp:47:5: #error
"Compiler threading support is not turned on. Please set the correct command
line options for threading: -pthread (Linux), -pt
hreads (Solaris) or -mthreads (Mingw32)"
/usr/local/include/boost-1_35/boost/thread/detail/platform.hpp:67:9: #error
"Sorry, no boost threads are available for this platform."
/usr/local/include/boost-1_35/boost/thread/thread.hpp:19:2: #error "Boost
threads unavailable on this platform"
/usr/local/include/boost-1_35/boost/thread/condition_variable.hpp:18:2:
#error "Boost threads unavailable on this platform"
/usr/local/include/boost-1_35/boost/thread/condition.hpp:13: syntax error
before `;' token
/usr/local/include/boost-1_35/boost/thread/mutex.hpp:18:2: #error "Boost
threads unavailable on this platform"
/usr/local/include/boost-1_35/boost/thread/once.hpp:18:2: #error "Boost
threads unavailable on this platform"
/usr/local/include/boost-1_35/boost/thread/once.hpp:23: type specifier
omitted
for parameter `once_flag'
/usr/local/include/boost-1_35/boost/thread/once.hpp:23: syntax error before
`&'
token
/usr/local/include/boost-1_35/boost/thread/once.hpp: In function `void
boost::call_once(...)':
The codes were compiled well with boost 1.32 but once I upgraded to 1.35,
this error starts occurring. Any ideas or suggestions are welcomed and
appreciated.
best regards,
Alex Kim