Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples build problem #1334

Closed
hkaiser opened this issue Dec 19, 2014 · 0 comments
Closed

Examples build problem #1334

hkaiser opened this issue Dec 19, 2014 · 0 comments

Comments

@hkaiser
Copy link
Member

hkaiser commented Dec 19, 2014

Script started on Tue 16 Dec 2014 11:07:48 AM CST
�7�]2;hadi@ray:...0.9.9/my_hpx_build��]1;ray��8hadi@ray:~/Downloads/hpx_0.9.9/my_hpx_build> make -j4���install��������[4P-j4
[ 50%] Built target hpx
[ 50%] Built target parcel_coalescing_lib
[ 50%] Built target dataflow_component
[ 50%] Built target binpacking_factory_component
[ 52%] Built target iostreams_component
[ 54%] Built target memory_component
[ 56%] Built target distributing_factory_component
[ 58%] Built target managed_accumulator_component
[ 58%] [ 58%] [ 58%] Built target remote_object_component
Built target template_function_accumulator_component
Built target simple_accumulator_component
[ 58%] [ 58%] Built target async_io_external_exe
Built target async_io_action_exe
[ 58%] Built target async_io_exe
[ 60%] Built target ag_component
[ 60%] [ 60%] Built target hpx_thread_phase_exe
Built target os_thread_num_exe
[ 62%] Built target async_io_low_level_exe
[ 64%] Built target cancelable_action_component
[ 64%] Built target future_reduce_exe
[ 64%] Built target heartbeat_exe
[ 64%] Built target heartbeat_console_exe
[ 64%] Built target jacobi_nonuniform_omp_dynamic_exe
[ 64%] Built target jacobi_hpx_exe
[ 66%] Built target jacobi_nonuniform_hpx_exe
[ 66%] Built target jacobi_omp_dynamic_exe
[ 68%] Built target jacobi_nonuniform_omp_static_exe
[ 68%] Built target jacobi_omp_static_exe
[ 68%] Built target nqueen_component
[ 70%] Built target simplest_performance_counter_exe
[ 72%] Built target jacobi_component
[ 72%] Built target sine_component
[ 72%] Built target 1d_wave_equation_exe
[ 72%] [ 72%] [ 72%] Built target component_in_executable_exe
Built target allow_unknown_options_exe
Built target component_ctors_exe
[ 72%] Built target component_inheritance_exe
[ 72%] Built target composable_guard_exe
[ 72%] Built target component_with_executor_exe
[ 74%] Built target component_inheritance_simple_exe
[ 76%] [ 76%] [ 76%] Built target error_handling_exe
Built target event_synchronization_exe
Built target customize_async_exe
[ 78%] Built target data_actions_exe
[ 80%] Built target fibonacci_exe
[ 80%] Built target fibonacci_await_exe
[ 80%] Built target fibonacci_dataflow_exe
[ 80%] Built target factorial_exe
[ 80%] Built target fibonacci_one_exe
[ 80%] Built target fractals_exe
[ 80%] Built target fibonacci_futures_distributed_exe
[ 80%] Built target fibonacci_futures_exe
[ 80%] Built target interest_calculator_exe
[ 80%] Built target fractals_struct_exe
[ 80%] Built target fractals_executor_exe
[ 80%] Built target hello_world_exe
[ 80%] Built target print_to_console_exe
[ 80%] Built target pingpong_exe
[ 80%] Built target non_atomic_rma_exe
[ 82%] Built target pipeline1_exe
[ 82%] Built target simplest_hello_world_exe
[ 82%] Built target quicksort_exe
[ 82%] Built target timed_futures_exe
[ 82%] Built target use_main_thread_exe
[ 82%] Built target timed_wake_exe
[ 84%] Built target simple_future_continuation_exe
[ 86%] Built target vector_counting_dotproduct_exe
[ 86%] Built target wait_composition_exe
[ 86%] Built target vector_zip_dotproduct_exe
[ 86%] Built target random_mem_access_component
[ 88%] Built target spell_check_exe
[ 90%] Built target zerocopy_rdma_exe
[ 92%] Built target qt_exe
[ 92%] Built target spell_check_file_exe
[ 92%] Built target startup_shutdown_component
[ 92%] Built target thread_aware_timer_exe
[ 92%] Built target spin_exe
[ 92%] Built target 1d_stencil_1_omp_exe
[ 92%] Built target throttle_component
[ 92%] Built target 1d_stencil_1_exe
[ 92%] Built target 1d_stencil_2_exe
[ 94%] Built target 1d_stencil_3_omp_exe
[ 94%] Built target 1d_stencil_3_exe
[ 94%] Built target 1d_stencil_4_exe
[ 94%] Built target 1d_stencil_5_exe
[ 94%] Built target 1d_stencil_6_exe
[ 94%] Built target 1d_stencil_4_parallel_exe
[ 96%] Built target 1d_stencil_7_exe
[ 96%] Built target simple_central_tuplespace_component
[ 96%] Built target transpose_exe
[ 96%] Built target 1d_stencil_8_exe
[ 98%] Built target transpose_serial_block_exe
[ 98%] [ 98%] Built target transpose_smp_block_exe
Built target transpose_serial_exe
[ 98%] Built target transpose_smp_exe
[ 98%] Built target hpx_runtime_exe
[ 98%] [ 98%] Built target managed_accumulator_client_exe
Built target 1d_hydro_upwind_exe
[ 98%] Built target simple_accumulator_client_exe
[ 98%] Built target template_function_accumulator_client_exe
�[31m�[1mLinking CXX executable ../../bin/cancelable_action_client
�[0m[ 98%] Built target ag_client_exe
[100%] Built target jacobi_exe
[100%] Built target nqueen_client_exe
�[35m�[1mScanning dependencies of target sine_client_exe
�[35m�[1mScanning dependencies of target random_mem_access_client_exe
�[35m�[1mScanning dependencies of target throttle_client_exe
�[0m�[0m�[0m[100%] �[32mBuilding CXX object examples/random_mem_access/CMakeFiles/random_mem_access_client_exe.dir/random_mem_access_client.cpp.o
�[0m[100%] �[32mBuilding CXX object examples/performance_counters/sine/CMakeFiles/sine_client_exe.dir/sine_client.cpp.o
�[0m[100%] �[32mBuilding CXX object examples/throttle/CMakeFiles/throttle_client_exe.dir/throttle_client.cpp.o
�[0m../../lib/libcancelable_action.a(cancelable_action.cpp.o): In function `examples::server::delay(int)':
cancelable_action.cpp:(.text+0x490): multiple definition of `examples::server::delay(int)'
CMakeFiles/cancelable_action_client_exe.dir/cancelable_action_client.cpp.o:cancelable_action_client.cpp:(.text+0x230): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [bin/cancelable_action_client] Error 1
make[1]: *** [examples/cancelable_action/CMakeFiles/cancelable_action_client_exe.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
In file included from /opt/boost/1-55-0/include/boost/atomic/detail/platform.hpp:22:0,
                 from /opt/boost/1-55-0/include/boost/atomic/atomic.hpp:17,
                 from /opt/boost/1-55-0/include/boost/atomic.hpp:12,
                 from /home/hadi/Downloads/hpx_0.9.9/hpx/util/get_and_reset_value.hpp:10,
                 from /home/hadi/Downloads/hpx_0.9.9/hpx/util/coroutine/detail/context_linux_x86.hpp:21,
                 from /home/hadi/Downloads/hpx_0.9.9/hpx/util/coroutine/detail/default_context_impl.hpp:121,
                 from /home/hadi/Downloads/hpx_0.9.9/hpx/hpx_fwd.hpp:48,
                 from /home/hadi/Downloads/hpx_0.9.9/hpx/hpx_init.hpp:13,
                 from /home/hadi/Downloads/hpx_0.9.9/examples/throttle/throttle_client.cpp:7:
/opt/boost/1-55-0/include/boost/atomic/detail/gcc-atomic.hpp: In member function ‘void boost::atomic_flag::clear(boost::memory_order) volatile’:
/opt/boost/1-55-0/include/boost/atomic/detail/gcc-atomic.hpp:64:32: warning: cast from type ‘volatile bool*’ to type ‘bool*’ casts away qualifiers [-Wcast-qual]
         __atomic_clear((bool*)&v_, atomics::detail::convert_memory_order_to_gcc(order));
                                ^
In file included from /opt/boost/1-55-0/include/boost/atomic/detail/platform.hpp:22:0,
                 from /opt/boost/1-55-0/include/boost/atomic/atomic.hpp:17,
                 from /opt/boost/1-55-0/include/boost/atomic.hpp:12,
                 from /home/hadi/Downloads/hpx_0.9.9/hpx/util/get_and_reset_value.hpp:10,
                 from /home/hadi/Downloads/hpx_0.9.9/hpx/util/coroutine/detail/context_linux_x86.hpp:21,
                 from /home/hadi/Downloads/hpx_0.9.9/hpx/util/coroutine/detail/default_context_impl.hpp:121,
                 from /home/hadi/Downloads/hpx_0.9.9/hpx/hpx_fwd.hpp:48,
                 from /home/hadi/Downloads/hpx_0.9.9/hpx/hpx.hpp:9,
                 from /home/hadi/Downloads/hpx_0.9.9/examples/random_mem_access/random_mem_access_client.cpp:8:
/opt/boost/1-55-0/include/boost/atomic/detail/gcc-atomic.hpp: In member function ‘void boost::atomic_flag::clear(boost::memory_order) volatile’:
/opt/boost/1-55-0/include/boost/atomic/detail/gcc-atomic.hpp:64:32: warning: cast from type ‘volatile bool*’ to type ‘bool*’ casts away qualifiers [-Wcast-qual]
         __atomic_clear((bool*)&v_, atomics::detail::convert_memory_order_to_gcc(order));
                                ^
In file included from /opt/boost/1-55-0/include/boost/atomic/detail/platform.hpp:22:0,
                 from /opt/boost/1-55-0/include/boost/atomic/atomic.hpp:17,
                 from /opt/boost/1-55-0/include/boost/atomic.hpp:12,
                 from /home/hadi/Downloads/hpx_0.9.9/hpx/util/get_and_reset_value.hpp:10,
                 from /home/hadi/Downloads/hpx_0.9.9/hpx/util/coroutine/detail/context_linux_x86.hpp:21,
                 from /home/hadi/Downloads/hpx_0.9.9/hpx/util/coroutine/detail/default_context_impl.hpp:121,
                 from /home/hadi/Downloads/hpx_0.9.9/hpx/hpx_fwd.hpp:48,
                 from /home/hadi/Downloads/hpx_0.9.9/hpx/hpx.hpp:9,
                 from /home/hadi/Downloads/hpx_0.9.9/examples/performance_counters/sine/sine_client.cpp:6:
/opt/boost/1-55-0/include/boost/atomic/detail/gcc-atomic.hpp: In member function ‘void boost::atomic_flag::clear(boost::memory_order) volatile’:
/opt/boost/1-55-0/include/boost/atomic/detail/gcc-atomic.hpp:64:32: warning: cast from type ‘volatile bool*’ to type ‘bool*’ casts away qualifiers [-Wcast-qual]
         __atomic_clear((bool*)&v_, atomics::detail::convert_memory_order_to_gcc(order));
                                ^
�[31m�[1mLinking CXX executable ../../../bin/sine_client
�[0m�[31m�[1mLinking CXX executable ../../bin/throttle_client
�[0m[100%] Built target sine_client_exe
[100%] Built target throttle_client_exe
�[31m�[1mLinking CXX executable ../../bin/random_mem_access_client
�[0m[100%] Built target random_mem_access_client_exe
make: *** [all] Error 2
�7�]2;hadi@ray:...0.9.9/my_hpx_build��]1;ray��8hadi@ray:~/Downloads/hpx_0.9.9/my_hpx_build> exit
exit

Script done on Tue 16 Dec 2014 11:08:30 AM CST
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants