From owner-freebsd-questions Sat Jan 6 7: 9:37 2001 From owner-freebsd-questions@FreeBSD.ORG Sat Jan 6 07:09:35 2001 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com [62.253.162.43]) by hub.freebsd.org (Postfix) with ESMTP id 51F6C37B400 for ; Sat, 6 Jan 2001 07:09:34 -0800 (PST) Received: from sobek.openirc.co.uk ([62.252.9.150]) by mta03-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20010106150931.TZMF10171.mta03-svc.ntlworld.com@sobek.openirc.co.uk>; Sat, 6 Jan 2001 15:09:31 +0000 Date: Sat, 6 Jan 2001 15:14:26 +0000 (GMT) From: George Reid X-Sender: geeorgy@sobek.openirc.co.uk To: Vahid Bohlul Cc: freebsd-questions@freebsd.org Subject: Re: error linking pthread program. In-Reply-To: <00c101c077f1$51902a00$0600a8c0@camelia> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 6 Jan 2001, Vahid Bohlul wrote: > but, in man page of gcc it is explicitly > expressed that developer should use -pthread > instead of -lc_r. Yes, that is correct. My mistake. -pthread should link against libc_r instead of libc. > by the way, I have done it and the errors > are still there. additionaly some warnings > appears too. Without having access to the source there is little I can do but point you at the manpage. G "And then it comes to be that the soothing light at the end of your tunnel was just a freight train, comin' your way." George Reid * greid@ukug.uk.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message