Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Aug 2004 15:21:23 +0200
From:      "Herbert J. Skuhra" <herbert.skuhra@gmx.at>
To:        freebsd-questions@freebsd.org
Subject:   Re: vim 6.3 pthread errors?
Message-ID:  <20040808132123.GA18996@oslo.ath.cx>
In-Reply-To: <20040808123908.GF79491@ensign.laverenz.de>
References:  <20040808105834.GA44592@Pelargir.arda> <20040808123908.GF79491@ensign.laverenz.de>

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

The build works fine here if I run:
portinstall -m 'WITH_GTK2=yes WITH_PYTHON=yes' vim

This adds the missing "-pthread".

- Herbert



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