Skip to content

Instantly share code, notes, and snippets.

@doug65536
Created July 31, 2013 06:24
Show Gist options
  • Save doug65536/6119771 to your computer and use it in GitHub Desktop.
Save doug65536/6119771 to your computer and use it in GitHub Desktop.
producer consumer link errors
Linking CXX executable test_pc_std
/usr/bin/cmake -E cmake_link_script CMakeFiles/test_pc_std.dir/link.txt --verbose=1
/usr/bin/c++ -std=c++11 -pthread CMakeFiles/test_pc_std.dir/main.cpp.o CMakeFiles/test_pc_std.dir/dummy.cpp.o -o test_pc_std -rdynamic
CMakeFiles/test_pc_std.dir/main.cpp.o: In function `main':
main.cpp:(.text+0xe7): undefined reference to `boost::thread::join()'
main.cpp:(.text+0xf6): undefined reference to `boost::thread::join()'
main.cpp:(.text+0x10a): undefined reference to `boost::thread::~thread()'
main.cpp:(.text+0x119): undefined reference to `boost::thread::~thread()'
main.cpp:(.text+0x157): undefined reference to `boost::thread::~thread()'
main.cpp:(.text+0x16b): undefined reference to `boost::thread::~thread()'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment