From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sukadev Bhattiprolu Subject: Re: [PATCH][user-cr]: Fix typo in -lpthread Date: Wed, 22 Jul 2009 18:17:10 -0700 Message-ID: <20090723011710.GA27764@us.ibm.com> References: <20090722202837.GA18639@us.ibm.com> <4A67B5BA.2010609@librato.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <4A67B5BA.2010609-RdfvBDnrOixBDgjK7y7TUQ@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Oren Laadan Cc: Containers List-Id: containers.vger.kernel.org Oren Laadan [orenl-RdfvBDnrOixBDgjK7y7TUQ@public.gmane.org] 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.