Opened 10 years ago
Closed 10 years ago
#8401 closed Bugs (fixed)
No threading support - AIX 7, GCC 4.7
| Reported by: | Owned by: | John Maddock | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | config |
| Version: | Boost 1.53.0 | Severity: | Problem |
| Keywords: | Cc: |
Description
I'm trying to compile a simple thread .cpp file with Boost 1.53.0
I get the following errors (i got a patch that solves my issue - attached)
-bash-4.2$ g++ -c -I~/agent/workspace-linux/build/../../lib/boost -I~/agent/workspace-linux/build/../../lib/log4cpp/include -o ~/agent/workspace-linb/log4cpp/include -o ~/a../src/otk/proc-mon/ProcMonitor.cpp
In file included from ~/agent/workspace-linux/build/../../lib/boost/boost/thread/detail/platform.hpp:17:0,
from ~/agent/workspace-linux/build/../../lib/boost/boost/thread/thread.hpp:12,
from ~/agent/workspace-linux/build/../../lib/boost/boost/thread.hpp:13,
from ../src/otk/proc-mon/ProcMonitor.h:13,
from ../src/otk/proc-mon/ProcMonitor.cpp:8:
~/agent/workspace-linux/build/../../lib/boost/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 ~/agent/workspace-linux/build/../../lib/boost/boost/thread/thread.hpp:12:0,
from ~/agent/workspace-linux/build/../../lib/boost/boost/thread.hpp:13,
from ../src/otk/proc-mon/ProcMonitor.h:13,
from ../src/otk/proc-mon/ProcMonitor.cpp:8:
~/agent/workspace-linux/build/../../lib/boost/boost/thread/detail/platform.hpp:69:9: error: #error "Sorry, no boost threads are available for this platform."
Attachments (1)
Change History (4)
by , 10 years ago
comment:1 by , 10 years ago
| Component: | None → thread |
|---|---|
| Owner: | set to |
comment:2 by , 10 years ago
| Component: | thread → config |
|---|---|
| Owner: | changed from to |
comment:3 by , 10 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

patch for threading support AIX (gcc4.7) - works for me