Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jan 2001 15:14:26 +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.0101061513340.46831-100000@sobek.openirc.co.uk>
In-Reply-To: <00c101c077f1$51902a00$0600a8c0@camelia>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0101061513340.46831-100000>