Skip to content
This repository has been archived by the owner on Mar 22, 2021. It is now read-only.

-pthread flag missing #1

Closed
vanyasem opened this issue Jun 22, 2018 · 3 comments
Closed

-pthread flag missing #1

vanyasem opened this issue Jun 22, 2018 · 3 comments
Assignees

Comments

@vanyasem
Copy link
Contributor

Building bionic branch on Arch GNU/Linux

/usr/bin/ld: ../../libGMock.a(gmock-all.cc.o): undefined reference to symbol 'pthread_key_delete@@GLIBC_2.2.5'
/usr/lib/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [tests/unit/libusermetricsoutput/CMakeFiles/usermetricsoutput-unit-tests.dir/build.make:202: tests/unit/libusermetricsoutput/usermetricsoutput-unit-tests] Error 1

-pthread is missing in target_link_libraries in CMakeLists.txt

Same as ubports/url-dispatcher#4

@vanyasem vanyasem self-assigned this Jun 22, 2018
@NeoTheThird
Copy link
Member

So, was this fixed in #2?

@vanyasem
Copy link
Contributor Author

vanyasem commented Jul 3, 2018

you've missed the party, we decided to keep issues open until we backport the patch or merge the branches into master and unstable

@NeoTheThird
Copy link
Member

Ah, ok. Sry

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants