[Devel] Re: [PATCH][user-cr]: Fix typo in -lpthread

Sukadev Bhattiprolu sukadev at linux.vnet.ibm.com
Wed Jul 22 18:17:10 PDT 2009


Oren Laadan [orenl at librato.com] wrote:
| > -mktree:	CFLAGS += -D__REENTRANT -pthreads
| > +mktree:	CFLAGS += -D__REENTRANT -lpthread
| 
| Hmmm .. I actually meant '-pthread' which is a gcc option.

Ok. I get "unrecognized option '-pthreads'" on x86 for following gcc versions 

	- gcc (Ubuntu 4.3.3-5ubuntu4)
	- gcc (GCC) 4.1.2 20071124 (Red Hat 4.1.2-42)

But '-pthread' works.
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list