Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Aug 2004 18:02:13 +0200
From:      Andreas Ntaflos <daff@dword.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: vim 6.3 pthread errors?
Message-ID:  <20040808160213.GA23791@Pelargir.arda>
In-Reply-To: <20040808132123.GA18996@oslo.ath.cx>
References:  <20040808105834.GA44592@Pelargir.arda> <20040808123908.GF79491@ensign.laverenz.de> <20040808132123.GA18996@oslo.ath.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Aug 08, 2004 at 03:21:23PM +0200, Herbert J. Skuhra wrote:
> Uwe Laverenz <uwe@laverenz.de> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040808160213.GA23791>