Errors when installing the cilk plus runtime

Errors when installing the cilk plus runtime

Hello,

I installed the cilkplus branch gcc 4.7 and now i have to installe cilk plus runtime (libcilkrts.so runtime library) to build and run applications with the cilk plus langage.

I follow the steps on the README.txt file :

% libtoolize
% aclocal
% automake --add-missing
% autoconf
% ./configure
% make
% make install

But the command make fails with the following errors :

....
runtime/worker_mutex.h:50: error: redefinition of typedef '__cilkrts_worker'
./include/internal/abi.h:94: note: previous declaration of '__cilkrts_worker' was here
In file included from runtime/cilk-abi.c:43:
runtime/global_state.h:210: error: redefinition of typedef 'global_state_t'
./include/internal/abi.h:99: note: previous declaration of 'global_state_t' was here
In file included from runtime/cilk-abi.c:44:
runtime/os.h:84: error: redefinition of typedef '__cilkrts_worker'
runtime/worker_mutex.h:50: note: previous declaration of '__cilkrts_worker' was here
runtime/os.h:85: error: redefinition of typedef 'cilkred_map'
./include/internal/abi.h:101: note: previous declaration of 'cilkred_map' was here
In file included from runtime/cilk-abi.c:47:
runtime/local_state.h:237: error: redefinition of typedef 'local_state'
./include/internal/abi.h:100: note: previous declaration of 'local_state' was here
In file included from runtime/cilk-abi.c:48:
runtime/full_frame.h:49: error: redefinition of typedef '__cilkrts_stack_frame'
./include/internal/abi.h:96: note: previous declaration of '__cilkrts_stack_frame' was here
runtime/full_frame.h:50: error: redefinition of typedef '__cilkrts_stack'
runtime/global_state.h:55: note: previous declaration of '__cilkrts_stack' was here
In file included from runtime/scheduler.h:51,
from runtime/cilk-abi.c:49:
runtime/reducer_impl.h:51: error: redefinition of typedef 'cilkred_map'
runtime/os.h:85: note: previous declaration of 'cilkred_map' was here
In file included from runtime/sysdep.h:53,
from runtime/cilk-abi.c:50:
runtime/cilk-tbb-interop.h:145: error: redefinition of typedef '__cilk_tbb_stack_op_thunk'
runtime/os.h:60: note: previous declaration of '__cilk_tbb_stack_op_thunk' was here
In file included from runtime/cilk-abi.c:50:
runtime/sysdep.h:58: error: redefinition of typedef '__cilkrts_region_properties'
./include/internal/inspector-abi.h:71: note: previous declaration of '__cilkrts_region_properties' was here
runtime/cilk-abi.c: In function '__cilkrts_leave_frame':
runtime/cilk-abi.c:229: error: '__cilkrts_stack_frame' has no member named 'spawn_helper_pedigree'
runtime/cilk-abi.c:230: error: '__cilkrts_stack_frame' has no member named 'spawn_helper_pedigree'
make: *** [cilk-abi.lo] Erreur 1
root@amina-laptop:/home/amina/projet/cilkplus-install#

Have you any idea for this problem ?

Thank you,

3 帖子 / 0 全新
最新文章
如需更全面地了解编译器优化,请参阅优化注意事项

Hello,

The problem is resolved :
.
because i have installed the compiler cilkplus gcc, so i don't need to install the runtime because it's installed on the lib directory.

Thank you

Good.. I am happy to hear everything is OK.

Thanks,

-Balaji V. Iyer.

登陆并发表评论。