From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtprelay04.ispgateway.de ([80.67.29.8]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WcrPY-0002ht-On for ptxdist@pengutronix.de; Wed, 23 Apr 2014 09:16:05 +0200 Received: from [87.169.245.110] (helo=euler.fritz.box) by smtprelay04.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1WcrPZ-0008OR-C3 for ptxdist@pengutronix.de; Wed, 23 Apr 2014 09:16:05 +0200 Message-ID: <535768BD.7050609@bwalle.de> Date: Wed, 23 Apr 2014 09:16:13 +0200 From: Bernhard Walle MIME-Version: 1.0 References: <1398200023-10099-1-git-send-email-bernhard@bwalle.de> <20140423070406.GD3804@pengutronix.de> In-Reply-To: <20140423070406.GD3804@pengutronix.de> Subject: Re: [ptxdist] [PATCH] perl: Make it possible to enable thread support Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Am 23.04.14 09:04, schrieb Michael Olbrich: >> --- a/rules/perl.make >> > +++ b/rules/perl.make >> > @@ -65,7 +65,9 @@ PERL_CONF_OPT := \ >> > --prefix=/usr \ >> > --host=$(PTXCONF_GNU_TARGET) \ >> > --target=$(PTXCONF_GNU_TARGET) \ >> > - -Dld=$(CROSS_CC) >> > + -Dld=$(CROSS_CC) \ >> > + $(call ptx/ifdef, PTXCONF_PERL_THREADS, -Dusethreads, ) \ >> > + $(call ptx/ifdef, PTXCONF_PERL_THREADS, -A ldflags=-pthread, ) > You got a link error here because -lpthread is missing, right? Correct. Regards, Bernhard -- ptxdist mailing list ptxdist@pengutronix.de