|
Boost Users : |
Subject: [Boost-users] Problems with Boost 1.41
From: ÐÑÐµÐ½Ð¸Ñ Ð¡Ð°Ñина (cat7mail.ru_at_[hidden])
Date: 2014-03-09 06:05:41
Hi everyone,
I'm trying to build this http://vina.scripps.edu/manual.html#build  program using Boost 1.41.
'make' Â command gives me a large amount of errors:
Â
noraneko_at_noraneko-K53SJ:~/Programs/autodock_vina_1_1_2/build/linux/release$ make/usr/bin/g++ -static -pthread -ansi -Wno-long-long -O3 -DNDEBUG -I /usr/local/include -I ../../../src/lib -o main.o -c ../../../src/main/main.cpp
In file included from /usr/local/include/boost/thread/detail/platform.hpp:17:0,
from /usr/local/include/boost/thread/thread.hpp:12,
from ../../../src/main/main.cpp:32:
/usr/local/include/boost/config/requires_threads.hpp:29:4: error: #error "Threading support unavaliable: it has been explicitly disabled with BOOST_DISABLE_THREADS"
In file included from /usr/local/include/boost/thread/thread.hpp:12:0,
from ../../../src/main/main.cpp:32:
/usr/local/include/boost/thread/detail/platform.hpp:67:9: error: #error "Sorry, no boost threads are available for this platform."
In file included from ../../../src/main/main.cpp:32:0:
/usr/local/include/boost/thread/thread.hpp:19:2: error: #error "Boost threads unavailable on this platform"
In file included from /usr/local/include/boost/thread/detail/thread.hpp:11:0,
from /usr/local/include/boost/thread/thread.hpp:22,
from ../../../src/main/main.cpp:32:
/usr/local/include/boost/thread/mutex.hpp:18:2: error: #error "Boost threads unavailable on this platform"
In file included from /usr/local/include/boost/thread/detail/thread.hpp:13:0,
from /usr/local/include/boost/thread/thread.hpp:22,
from ../../../src/main/main.cpp:32:
/usr/local/include/boost/thread/detail/thread_heap_alloc.hpp:19:2: error: #error "Boost threads unavailable on this platform"
In file included from /usr/local/include/boost/thread/detail/thread_group.hpp:9:0,
from /usr/local/include/boost/thread/thread.hpp:24,
from ../../../src/main/main.cpp:32:
/usr/local/include/boost/thread/shared_mutex.hpp:18:2: error: #error "Boost threads unavailable on this platform"
In file included from /usr/local/include/boost/thread/thread.hpp:22:0,
from ../../../src/main/main.cpp:32:
/usr/local/include/boost/thread/detail/thread.hpp:40:9: error: expected class-name before â{â token
/usr/local/include/boost/thread/detail/thread.hpp:68:9: error: expected class-name before â{â token
/usr/local/include/boost/thread/detail/thread.hpp:88:9: error: expected class-name before â{â token
/usr/local/include/boost/thread/detail/thread.hpp:113:17: error: âmutexâ in namespace âboostâ does not name a type
/usr/local/include/boost/thread/detail/thread.hpp:114:9: error: âthread_data_ptrâ in namespace âboost::detailâ does not name a type
/usr/local/include/boost/thread/detail/thread.hpp:118:49: error: expected â)â before âdataâ
/usr/local/include/boost/thread/detail/thread.hpp:120:9: error: âthread_data_ptrâ in namespace âboost::detailâ does not name a type
In file included from /usr/local/include/boost/thread/thread.hpp:22:0,
from ../../../src/main/main.cpp:32:
/usr/local/include/boost/thread/detail/thread.hpp:134:23: error: âthread_data_ptrâ in namespace âboost::detailâ does not name a type
/usr/local/include/boost/thread/detail/thread.hpp:139:23: error: âthread_data_ptrâ in namespace âboost::detailâ does not name a type
/usr/local/include/boost/thread/detail/thread.hpp:319:17: error: âthread_data_baseâ in namespace âboost::detailâ does not name a type
/usr/local/include/boost/thread/detail/thread.hpp:320:9: error: ânative_handle_typeâ does not name a type
/usr/local/include/boost/thread/detail/thread.hpp: In constructor âboost::thread::thread(F, typename boost::disable_if<boost::is_convertible<T&, boost::detail::thread_move_t<T> >, boost::thread::dummy*>::type)â:
/usr/local/include/boost/thread/detail/thread.hpp:189:13: error: class âboost::threadâ does not have any field named âthread_infoâ
/usr/local/include/boost/thread/detail/thread.hpp: In constructor âboost::thread::thread(boost::detail::thread_move_t<T>)â:
/usr/local/include/boost/thread/detail/thread.hpp:197:13: error: class âboost::threadâ does not have any field named âthread_infoâ
/usr/local/include/boost/thread/detail/thread.hpp: In constructor âboost::thread::thread(boost::detail::thread_move_t<boost::thread>)â:
/usr/local/include/boost/thread/detail/thread.hpp:204:13: error: âthread_infoâ was not declared in this scope
/usr/local/include/boost/thread/detail/thread.hpp:204:28: error: âclass boost::threadâ has no member named âthread_infoâ
/usr/local/include/boost/thread/detail/thread.hpp:205:16: error: âclass boost::threadâ has no member named âthread_infoâ
/usr/local/include/boost/thread/detail/thread.hpp: In constructor âboost::thread::thread(F, A1)â:
/usr/local/include/boost/thread/detail/thread.hpp:237:13: error: class âboost::threadâ does not have any field named âthread_infoâ
/usr/local/include/boost/thread/detail/thread.hpp: In constructor âboost::thread::thread(F, A1, A2)â:
/usr/local/include/boost/thread/detail/thread.hpp:243:13: error: class âboost::threadâ does not have any field named âthread_infoâ
/usr/local/include/boost/thread/detail/thread.hpp: In constructor âboost::thread::thread(F, A1, A2, A3)â:
/usr/local/include/boost/thread/detail/thread.hpp:250:13: error: class âboost::threadâ does not have any field named âthread_infoâ
....
/usr/local/include/boost/thread/detail/thread_group.hpp: In member function âvoid boost::thread_group::remove_thread(boost::thread*)â:
/usr/local/include/boost/thread/detail/thread_group.hpp:55:13: error: âlock_guardâ is not a member of âboostâ
/usr/local/include/boost/thread/detail/thread_group.hpp:55:31: error: âshared_mutexâ was not declared in this scope
/usr/local/include/boost/thread/detail/thread_group.hpp:55:51: error: âmâ was not declared in this scope
/usr/local/include/boost/thread/detail/thread_group.hpp:55:52: error: âguardâ was not declared in this scope
/usr/local/include/boost/thread/detail/thread_group.hpp: In member function âvoid boost::thread_group::join_all()â:
/usr/local/include/boost/thread/detail/thread_group.hpp:65:13: error: âshared_lockâ is not a member of âboostâ
/usr/local/include/boost/thread/detail/thread_group.hpp:65:32: error: âshared_mutexâ was not declared in this scope
/usr/local/include/boost/thread/detail/thread_group.hpp:65:52: error: âmâ was not declared in this scope
/usr/local/include/boost/thread/detail/thread_group.hpp:65:53: error: âguardâ was not declared in this scope
/usr/local/include/boost/thread/detail/thread_group.hpp: In member function âvoid boost::thread_group::interrupt_all()â:
/usr/local/include/boost/thread/detail/thread_group.hpp:77:13: error: âshared_lockâ is not a member of âboostâ
/usr/local/include/boost/thread/detail/thread_group.hpp:77:32: error: âshared_mutexâ was not declared in this scope
/usr/local/include/boost/thread/detail/thread_group.hpp:77:52: error: âmâ was not declared in this scope
/usr/local/include/boost/thread/detail/thread_group.hpp:77:53: error: âguardâ was not declared in this scope
/usr/local/include/boost/thread/detail/thread_group.hpp: In member function âsize_t boost::thread_group::size() constâ:
/usr/local/include/boost/thread/detail/thread_group.hpp:89:13: error: âshared_lockâ is not a member of âboostâ
/usr/local/include/boost/thread/detail/thread_group.hpp:89:32: error: âshared_mutexâ was not declared in this scope
/usr/local/include/boost/thread/detail/thread_group.hpp:89:52: error: âmâ was not declared in this scope
/usr/local/include/boost/thread/detail/thread_group.hpp:89:53: error: âguardâ was not declared in this scope
make: *** [main.o] Error 1
Could anyone help me to understand what do these all errors mean?Â
I'm on Ubuntu 13.04, gcc version is 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1)Â
KseniaÂ
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