Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Aug 2004 12:58:34 +0200
From:      Andreas Ntaflos <daff@dword.org>
To:        freebsd-questions@freebsd.org
Subject:   vim 6.3 pthread errors?
Message-ID:  <20040808105834.GA44592@Pelargir.arda>

next in thread | raw e-mail | index | archive | help
Hello,=20

quick question: trying to install vim 6.3.15 from the ports with=20
support for GTK2 on a FreeBSD 5.2.1-p9 machine by doing a=20
portinstall -m WITH_GTK2=3DYES vim.

Somewhere in the compilation process it borks with these error=20
messages (last few lines of output):

 cc  -lXt -L/usr/X11R6/lib -L/usr/local/lib  -o vim objects/buffer.o  objec=
ts/charset.o  objects/diff.o  objects/digraph.o  objects/edit.o  objects/ev=
al.o  objects/ex_cmds.o  objects/ex_cmds2.o  objects/ex_docmd.o  objects/ex=
_eval.o  objects/ex_getln.o  objects/fileio.o  objects/fold.o  objects/getc=
har.o    objects/if_cscope.o  objects/if_xcmdsrv.o  objects/main.o  objects=
/mark.o  objects/memfile.o  objects/memline.o  objects/menu.o  objects/mess=
age.o  objects/misc1.o  objects/misc2.o  objects/move.o  objects/mbyte.o  o=
bjects/normal.o  objects/ops.o  objects/option.o  objects/os_unix.o  object=
s/pathdef.o  objects/quickfix.o  objects/regexp.o  objects/screen.o  object=
s/search.o  objects/syntax.o    objects/tag.o  objects/term.o  objects/ui.o=
  objects/undo.o  objects/window.o  objects/gui.o objects/gui_gtk.o objects=
/gui_gtk_x11.o  objects/pty.o objects/gui_gtk_f.o  objects/gui_beval.o     =
         objects/netbeans.o   objects/version.o   -Wl,--export-dynamic -L/u=
sr/local/lib -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXi -lX=
inerama -lXcursor -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lXft -lfre=
etype -lz -lXrender -lXext -lfontconfig -lpangox-1.0 -lX11 -lpango-1.0 -lgo=
bject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv -lSM -lICE -lXpm -lXt -lX11 -lXd=
mcp -lSM -lICE -ltermlib -liconv
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_getsta=
cksize'
objects/os_unix.o(.text+0x40f): undefined reference to `pthread_attr_destro=
y'
*** Error code 1

What's that? What's missing? Why with all the pthread_ problems?=20
What should I do? :-)

I know it worked under 4.10-STABLE with GTK2, why would it break under 5.2?

TIA
--=20
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?20040808105834.GA44592>