I was trying to set up GTest environment on my Ubuntu machine. but while making the GTest to get the library, i get the following error...
som@som-VPCEH25EN:
I had the same problem and I changed -lpthread in the Makefile to -pthread. (I dropped out the small 'L'.) After that a 'make' compiled without errors.
-lpthread
-pthread