vim 6.3 pthread errors?

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


Hello, 

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

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

 cc  -lXt -L/usr/X11R6/lib -L/usr/local/lib  -o vim objects/buffer.o  objects/charset.o  objects/diff.o  objects/digraph.o  objects/edit.o  objects/eval.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/getchar.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/message.o  objects/misc1.o  objects/misc2.o  objects/move.o  objects/mbyte.o  objects/normal.o  objects/ops.o  objects/option.o  objects/os_unix.o  objects/pathdef.o  objects/quickfix.o  objects/regexp.o  objects/screen.o  objects/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/usr/local/lib -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXi -lXinerama -lXcursor -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lXft -lfreetype -lz -lXrender -lXext -lfontconfig -lpangox-1.0 -lX11 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -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_getstacksize'
objects/os_unix.o(.text+0x40f): undefined reference to `pthread_attr_destroy'
*** Error code 1

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

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

TIA
-- 
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