From owner-freebsd-threads@FreeBSD.ORG Sat Sep 20 07:53:06 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F84316A4B3; Sat, 20 Sep 2003 07:53:06 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54D1243FBF; Sat, 20 Sep 2003 07:53:05 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.10/8.12.1) with ESMTP id h8KEr4gG016008; Sat, 20 Sep 2003 10:53:04 -0400 (EDT) Date: Sat, 20 Sep 2003 10:53:04 -0400 (EDT) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Arjan van Leeuwen In-Reply-To: <200309201354.18392.avleeuwen@piwebs.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: threads@freebsd.org cc: kde@freebsd.org Subject: Re: [kde-freebsd] Compiling arts in -CURRENT without -pthread X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2003 14:53:06 -0000 On Sat, 20 Sep 2003, Arjan van Leeuwen wrote: > On Saturday 20 September 2003 12:56, Arjan van Leeuwen wrote: > > Hi, > > > > I'm trying to compile arts (audio/arts) in -CURRENT. I replaced -lpthread > > with ${PTHREAD_LIBS} in the ports' configure script. This makes it > > recognize -lc_r correctly, and it also uses that when building the port. > > > > However, after some time, the port will fail with these error messages: > > > (...) > > > > How can all these pthread_* functions be undefined when it is linking > > against -lc_r? > > I just discovered that it works without any errors when using -lkse instead of > -lc_r. Aren't these two libraries supposed to be compatible? Yes, that's really strange. Are you sure that you have a correct libc_r in /usr/lib? You seem to be building arts in the correct manner, and -lc_r _should_ work. -- Dan Eischen