Bug #16310
Bug #16251: problems encountered when building on minsky.fnal.gov
lareventdisplay build fails on minsky
Status:
Accepted
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
04/25/2017
Due date:
% Done:
40%
Estimated time:
Scope:
Internal
Experiment:
-
SSI Package:
Co-Assignees:
Description
This might be a missing header problem.
[ 94%] Linking CXX shared library ../../lib/liblareventdisplay_Landed_LandedSocket_service.so CMakeFiles/lareventdisplay_Landed_LandedSocket_service.dir/LandedSocket_service.cc.o: In function `boost::asio::detail::posix_tss_ptr<boost::asio::detail::call_stack<boost::asio::detail::task_io_service, boost::asio::detail::task_io_service_thread_info>::context>::~posix_tss_ptr()': /home/garren/products/boost/v1_63_0a/Linuxppc64le64bit+3.10-2.17-e14-prof/include/boost/asio/detail/posix_tss_ptr.hpp:48: undefined reference to `pthread_key_delete' CMakeFiles/lareventdisplay_Landed_LandedSocket_service.dir/LandedSocket_service.cc.o: In function `boost::asio::detail::posix_tss_ptr<boost::asio::detail::call_stack<boost::asio::detail::task_io_service, boost::asio::detail::task_io_service_thread_info>::context>::operator boost::asio::detail::call_stack<boost::asio::detail::task_io_service, boost::asio::detail::task_io_service_thread_info>::context*() const': /home/garren/products/boost/v1_63_0a/Linuxppc64le64bit+3.10-2.17-e14-prof/include/boost/asio/detail/posix_tss_ptr.hpp:54: undefined reference to `pthread_getspecific' /home/garren/products/boost/v1_63_0a/Linuxppc64le64bit+3.10-2.17-e14-prof/include/boost/asio/detail/posix_tss_ptr.hpp:54: undefined reference to `pthread_getspecific' CMakeFiles/lareventdisplay_Landed_LandedSocket_service.dir/LandedSocket_service.cc.o: In function `boost::asio::detail::posix_tss_ptr_create(unsigned int&)': /home/garren/products/boost/v1_63_0a/Linuxppc64le64bit+3.10-2.17-e14-prof/include/boost/asio/detail/impl/posix_tss_ptr.ipp:34: undefined reference to `pthread_key_create' collect2: error: ld returned 1 exit status make[2]: *** [lib/liblareventdisplay_Landed_LandedSocket_service.so] Error 1 make[1]: *** [lareventdisplay/Landed/CMakeFiles/lareventdisplay_Landed_LandedSocket_service.dir/all] Error 2
History
#1 Updated by Lynn Garren almost 4 years ago
- % Done changed from 0 to 40
The problem is temporarily solved by adding -lpthread to the service link list in ../src/lareventdisplay/Landed/CMakeLists.txt. A proper solution will use the correct cmake variable for the pthread library.
#2 Updated by Lynn Garren almost 4 years ago
- Status changed from New to Accepted