]> sigrok.org Git - pulseview.git/commit
Usage of std::thread requires linking with appropriate system thread library.
authorAurelien Jacobs <redacted>
Wed, 17 Sep 2014 15:22:14 +0000 (17:22 +0200)
committerAurelien Jacobs <redacted>
Wed, 17 Sep 2014 15:24:52 +0000 (17:24 +0200)
commit2b76309a072d2493ee1b5293955b72abfd84b8be
tree36c0b51b112fab1f0c92120fcfd80094e2b7e21d
parentf27ee56d9c2b18158f2a9451b295123288134611
Usage of std::thread requires linking with appropriate system thread library.

This fixes the following link error (on debian sid, gcc 4.9):

Linking CXX executable pulseview
/usr/bin/ld: CMakeFiles/pulseview.dir/pv/sigsession.cpp.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
CMakeFiles/pulseview.dir/build.make:2844: recipe for target 'pulseview' failed
CMakeLists.txt