Date: Sat, 6 Jan 2001 14:43:10 +0000 (GMT) From: George Reid <greid@ukug.uk.freebsd.org> To: Vahid Bohlul <xypy@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: error linking pthread program. Message-ID: <Pine.BSF.4.21.0101061442250.44793-100000@sobek.openirc.co.uk> In-Reply-To: <008501c077ed$908a2160$0600a8c0@camelia>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 6 Jan 2001, Vahid Bohlul wrote:
> hi all.
> has anybody encountered with this situation?
> I have written a program using posix threads.
>
> now that i compile it:
>
> gcc -I... -o ... x1.cpp x2.cpp -pthread
You need to link with libc_r which includes the POSIX threads functions.
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0101061442250.44793-100000>
