Public bug reported:
System: Ubuntu 11.10
Package: libgtest-dev
Version: 1.6.1-0
Problem:
The file /usr/share/doc/libgtest-dev/examples/make/Makefile (when
installed) supplies an argument of -lpthread to g++ for linking
sample1_unittest, which does not link on Ubuntu 11.10.
The documentation for pthreads suggests it should be -pthread and this
does indeed link and run.
Solution:
Change -lpthread to -pthread
** Affects: gtest (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/985837
Title:
libgtest-dev error in make file
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtest/+bug/985837/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs