while cmake looks OK I meet problem during make command: ********************************************************************************************************************************* [ 20%] Building CXX object src/boost/CMakeFiles/boost.dir/home/twasiutynsk/alps-2.2.b3-r7462-src-with-boost/boost/libs/thread/src/pthread/once.cpp.o In file included from /home/twasiutynsk/alps-2.2.b3-r7462-src-with-boost/boost/boost/atomic.hpp:12:0, from /home/twasiutynsk/alps-2.2.b3-r7462-src-with-boost/boost/boost/thread/pthread/once_atomic.hpp:20, from /home/twasiutynsk/alps-2.2.b3-r7462-src-with-boost/boost/boost/thread/once.hpp:20, from /home/twasiutynsk/alps-2.2.b3-r7462-src-with-boost/boost/libs/thread/src/pthread/./once_atomic.cpp:9, from /home/twasiutynsk/alps-2.2.b3-r7462-src-with-boost/boost/libs/thread/src/pthread/once.cpp:8: /home/twasiutynsk/alps-2.2.b3-r7462-src-with-boost/boost/boost/atomic/atomic.hpp:202:16: error: ‘uintptr_t’ was not declared in this scope typedef atomic<uintptr_t> atomic_uintptr_t; ^ /home/twasiutynsk/alps-2.2.b3-r7462-src-with-boost/boost/boost/atomic/atomic.hpp:202:25: error: template argument 1 is invalid typedef atomic<uintptr_t> atomic_uintptr_t; ^ /home/twasiutynsk/alps-2.2.b3-r7462-src-with-boost/boost/boost/atomic/atomic.hpp:202:43: error: invalid type in declaration before ‘;’ token typedef atomic<uintptr_t> atomic_uintptr_t; ********************************************************************************************************************************** is it connected with my compiler or alps source? In the past on the other machine compilation went smooth. Regards
This looks similar as the problem reported at https://svn.boost.org/trac/boost/ticket/8973 . You can solve the problem by using a newer version of Boost, or apply the patch provided at https://svn.boost.org/trac/boost/changeset/84950 to the Boost source code.
Best, Synge
On Apr 29, 2015, at 19:06, Tadeusz Wasiutyński tadeusz.wasiutynski@ifj.edu.pl wrote:
while cmake looks OK I meet problem during make command:
[ 20%] Building CXX object src/boost/CMakeFiles/boost.dir/home/twasiutynsk/alps-2.2.b3-r7462-src-with-boost/boost/libs/thread/src/pthread/once.cpp.o In file included from /home/twasiutynsk/alps-2.2.b3-r7462-src-with-boost/boost/boost/atomic.hpp:12:0, from /home/twasiutynsk/alps-2.2.b3-r7462-src-with-boost/boost/boost/thread/pthread/once_atomic.hpp:20, from /home/twasiutynsk/alps-2.2.b3-r7462-src-with-boost/boost/boost/thread/once.hpp:20, from /home/twasiutynsk/alps-2.2.b3-r7462-src-with-boost/boost/libs/thread/src/pthread/./once_atomic.cpp:9, from /home/twasiutynsk/alps-2.2.b3-r7462-src-with-boost/boost/libs/thread/src/pthread/once.cpp:8: /home/twasiutynsk/alps-2.2.b3-r7462-src-with-boost/boost/boost/atomic/atomic.hpp:202:16: error: ‘uintptr_t’ was not declared in this scope typedef atomic<uintptr_t> atomic_uintptr_t; ^ /home/twasiutynsk/alps-2.2.b3-r7462-src-with-boost/boost/boost/atomic/atomic.hpp:202:25: error: template argument 1 is invalid typedef atomic<uintptr_t> atomic_uintptr_t; ^ /home/twasiutynsk/alps-2.2.b3-r7462-src-with-boost/boost/boost/atomic/atomic.hpp:202:43: error: invalid type in declaration before ‘;’ token typedef atomic<uintptr_t> atomic_uintptr_t;
is it connected with my compiler or alps source? In the past on the other machine compilation went smooth. Regards -- Tadeusz Wasiutyński
comp-phys-alps-users@lists.phys.ethz.ch