Title: 0.12.0 undefined reference pthreads · Issue #625 · cpp-netlib/cpp-netlib · GitHub
Open Graph Title: 0.12.0 undefined reference pthreads · Issue #625 · cpp-netlib/cpp-netlib
X Title: 0.12.0 undefined reference pthreads · Issue #625 · cpp-netlib/cpp-netlib
Description: When compiling 0.12.0 for openSUSE tumbleweed I get this error (see bottom). My fast fix for this is applying this patch: http://pastie.org/10789411 CMakeFiles/cppnetlib-client-connections.dir/client.cpp.o: In function asio::detail::posi...
Open Graph Description: When compiling 0.12.0 for openSUSE tumbleweed I get this error (see bottom). My fast fix for this is applying this patch: http://pastie.org/10789411 CMakeFiles/cppnetlib-client-connections.dir/clie...
X Description: When compiling 0.12.0 for openSUSE tumbleweed I get this error (see bottom). My fast fix for this is applying this patch: http://pastie.org/10789411 CMakeFiles/cppnetlib-client-connections.dir/clie...
Opengraph URL: https://github.com/cpp-netlib/cpp-netlib/issues/625
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"0.12.0 undefined reference pthreads","articleBody":"When compiling 0.12.0 for openSUSE tumbleweed I get this error (see bottom).\n\nMy fast fix for this is applying this patch: http://pastie.org/10789411\n\n\u003e CMakeFiles/cppnetlib-client-connections.dir/client.cpp.o: In function `asio::detail::posix_global_impl\u003casio::system_executor::context_impl\u003e::~posix_global_impl()':\n\u003e [ 43s] client.cpp:(.text._ZN4asio6detail17posix_global_implINS_15system_executor12context_implEED2Ev[_ZN4asio6detail17posix_global_implINS_15system_executor12context_implEED5Ev]+0xdb): undefined reference to`pthread_join'\n\u003e [ 43s] client.cpp:(.text._ZN4asio6detail17posix_global_implINS_15system_executor12context_implEED2Ev[_ZN4asio6detail17posix_global_implINS_15system_executor12context_implEED5Ev]+0xf9): undefined reference to `pthread_detach'\n\u003e [ 43s] collect2: error: ld returned 1 exit status\n\u003e [ 43s] libs/network/src/CMakeFiles/cppnetlib-client-connections.dir/build.make:99: recipe for target 'libs/network/src/libcppnetlib-client-connections.so.0.12.0' failed\n\u003e [ 43s] make[2]: **\\* [libs/network/src/libcppnetlib-client-connections.so.0.12.0] Error 1\n\u003e [ 43s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/cpp-netlib-0.12.0-final/build'\n\u003e [ 43s] CMakeFiles/Makefile2:129: recipe for target 'libs/network/src/CMakeFiles/cppnetlib-client-connections.dir/all' failed\n\u003e [ 43s] make[1]: **\\* [libs/network/src/CMakeFiles/cppnetlib-client-connections.dir/all] Error 2\n\u003e [ 43s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/cpp-netlib-0.12.0-final/build'\n\u003e [ 43s] Makefile:141: recipe for target 'all' failed\n\u003e [ 43s] make: **\\* [all] Error 2\n\nCmake config output:\n\n\u003e [ 19s] -- The C compiler identification is GNU 5.3.1\n\u003e [ 19s] -- The CXX compiler identification is GNU 5.3.1\n\u003e [ 19s] -- Check for working C compiler: /usr/bin/cc\n\u003e [ 19s] -- Check for working C compiler: /usr/bin/cc -- works\n\u003e [ 19s] -- Detecting C compiler ABI info\n\u003e [ 19s] -- Detecting C compiler ABI info - done\n\u003e [ 19s] -- Detecting C compile features\n\u003e [ 19s] -- Detecting C compile features - done\n\u003e [ 19s] -- Check for working CXX compiler: /usr/bin/c++\n\u003e [ 19s] -- Check for working CXX compiler: /usr/bin/c++ -- works\n\u003e [ 19s] -- Detecting CXX compiler ABI info\n\u003e [ 20s] -- Detecting CXX compiler ABI info - done\n\u003e [ 20s] -- Detecting CXX compile features\n\u003e [ 20s] -- Detecting CXX compile features - done\n\u003e [ 20s] -- Linking boost testing libs dynamically...\n\u003e [ 20s] -- Boost version: 1.60.0\n\u003e [ 20s] -- Found OpenSSL: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so (found version \"1.0.2g\") \n\u003e [ 20s] -- Looking for pthread.h\n\u003e [ 20s] -- Looking for pthread.h - found\n\u003e [ 20s] -- Looking for pthread_create\n\u003e [ 20s] -- Looking for pthread_create - not found\n\u003e [ 20s] -- Looking for pthread_create in pthreads\n\u003e [ 20s] -- Looking for pthread_create in pthreads - not found\n\u003e [ 20s] -- Looking for pthread_create in pthread\n\u003e [ 20s] -- Looking for pthread_create in pthread - found\n\u003e [ 20s] -- Found Threads: TRUE \n\u003e [ 20s] -- Found PythonInterp: /usr/bin/python (found version \"2.7.10\") \n\u003e [ 20s] -- Configuring done\n\u003e [ 20s] -- Generating done\n","author":{"url":"https://github.com/susnux","@type":"Person","name":"susnux"},"datePublished":"2016-04-07T22:02:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/625/cpp-netlib/issues/625"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1925550e-3b43-b766-af88-a373a7639de3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8716:3E54B8:BF3732:100D631:696EADB7 |
| html-safe-nonce | b18275660842e6007b772fdb6f3bb39c643df0adf477049a4f7f877b0c7db647 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzE2OjNFNTRCODpCRjM3MzI6MTAwRDYzMTo2OTZFQURCNyIsInZpc2l0b3JfaWQiOiI4NTUzODk3ODk0MDEwMDcyNTAzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 16b58d160f87694cacdc99d6a5b0b427612e33e2ba7649efdc64fcec058c49c3 |
| hovercard-subject-tag | issue:146755192 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cpp-netlib/cpp-netlib/625/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6542493462ad4f4cfde1085669b121b3fabc943ed2039259e49c8f5283c49080/cpp-netlib/cpp-netlib/issues/625 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6542493462ad4f4cfde1085669b121b3fabc943ed2039259e49c8f5283c49080/cpp-netlib/cpp-netlib/issues/625 |
| og:image:alt | When compiling 0.12.0 for openSUSE tumbleweed I get this error (see bottom). My fast fix for this is applying this patch: http://pastie.org/10789411 CMakeFiles/cppnetlib-client-connections.dir/clie... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | susnux |
| hostname | github.com |
| expected-hostname | github.com |
| None | b278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee |
| turbo-cache-control | no-preview |
| go-import | github.com/cpp-netlib/cpp-netlib git https://github.com/cpp-netlib/cpp-netlib.git |
| octolytics-dimension-user_id | 192422 |
| octolytics-dimension-user_login | cpp-netlib |
| octolytics-dimension-repository_id | 494068 |
| octolytics-dimension-repository_nwo | cpp-netlib/cpp-netlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 469399 |
| octolytics-dimension-repository_parent_nwo | glynos/cpp-netlib |
| octolytics-dimension-repository_network_root_id | 469399 |
| octolytics-dimension-repository_network_root_nwo | glynos/cpp-netlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 39aed5006635ab6f45e6b77d23e73b08a00272a3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width