From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 16:03:18 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D3D516A4CE for ; Sun, 8 Aug 2004 16:03:18 +0000 (GMT) Received: from viefep20-int.chello.at (viefep12-int.chello.at [213.46.255.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A94E43D1F for ; Sun, 8 Aug 2004 16:03:15 +0000 (GMT) (envelope-from daff@dword.org) Received: from Tirith.arda ([62.178.18.156]) by viefep20-int.chello.at (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP id <20040808160313.QFWB24662.viefep20-int.chello.at@Tirith.arda> for ; Sun, 8 Aug 2004 18:03:13 +0200 Received: from localhost (localhost.arda [127.0.0.1]) by Tirith.arda (Postfix) with ESMTP id DBDF62B8 for ; Sun, 8 Aug 2004 18:02:53 +0200 (CEST) Received: from Tirith.arda ([127.0.0.1]) by localhost (Tirith.arda [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29205-04 for ; Sun, 8 Aug 2004 18:02:23 +0200 (CEST) Received: from Pelargir.arda (pelargir.arda [192.168.0.2]) by Tirith.arda (Postfix) with ESMTP id 46E1E29E for ; Sun, 8 Aug 2004 18:02:22 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by Pelargir.arda (Postfix) with ESMTP id 49B199585A for ; Sun, 8 Aug 2004 18:02:24 +0200 (CEST) Received: from Pelargir.arda ([127.0.0.1]) by localhost (pelargir.arda [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00583-06 for ; Sun, 8 Aug 2004 18:02:13 +0200 (CEST) Received: by Pelargir.arda (Postfix, from userid 1001) id C7FB495857; Sun, 8 Aug 2004 18:02:13 +0200 (CEST) Date: Sun, 8 Aug 2004 18:02:13 +0200 From: Andreas Ntaflos To: freebsd-questions@freebsd.org Message-ID: <20040808160213.GA23791@Pelargir.arda> Mail-Followup-To: freebsd-questions@freebsd.org References: <20040808105834.GA44592@Pelargir.arda> <20040808123908.GF79491@ensign.laverenz.de> <20040808132123.GA18996@oslo.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040808132123.GA18996@oslo.ath.cx> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.2.1-RELEASE-p9 Subject: Re: vim 6.3 pthread errors? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2004 16:03:18 -0000 On Sun, Aug 08, 2004 at 03:21:23PM +0200, Herbert J. Skuhra wrote: > Uwe Laverenz wrote: > > On Sun, Aug 08, 2004 at 12:58:34PM +0200, Andreas Ntaflos wrote: > > > >> objects/os_unix.o: In function `get_stack_limit': > >> objects/os_unix.o(.text+0x3d2): undefined reference to `pthread_attr_init' > >> objects/os_unix.o(.text+0x3e6): undefined reference to `pthread_attr_get_np' > >> objects/os_unix.o(.text+0x3fc): undefined reference to `pthread_attr_getstacksize' > >> objects/os_unix.o(.text+0x40f): undefined reference to `pthread_attr_destroy' > >> *** Error code 1 > > > > Yes, same error here on several 5.2.1p9-machines. The build works fine > > without GTK2. It does indeed, but I don't like gvim+GTK1 very much (looks ugly if you ask me). > The build works fine here if I run: > portinstall -m 'WITH_GTK2=yes WITH_PYTHON=yes' vim > > This adds the missing "-pthread". Great, WITH_PYTHON did the trick, now it built fine and uses GTK2. Very nice, thanks! -- Andreas "daff" Ntaflos | "A cynic is a man who knows the price of daff AT dword DOT org | everything, and the value of nothing." Vienna, AUSTRIA | Oscar Wilde