vim 6.3 pthread errors?

Andreas Ntaflos daff at dword.org
Sun Aug 8 09:03:18 PDT 2004


On Sun, Aug 08, 2004 at 03:21:23PM +0200, Herbert J. Skuhra wrote:
> Uwe Laverenz <uwe at 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


More information about the freebsd-questions mailing list