On Tuesday 22 November 2011 14:52:05 Marcus Meissner wrote:
Werner split libltinfo from libncurses and so we see a lot of build failures due to programs linking -lncurses and expecting functions there that are now in -lltinfo and as library dependencies are not longer taken into account, there is a huge fallout.
The right fix is to use ncurses-config --libs - note that Fedora and debian have the same split, so packages failing have a high chance of having a patch floating around in the internet :)
I faces exactly this problem with kvim but it seems with -ltinfo it fails as well. I tried different variants...
-ltinfo needs to be added after -lncurses(w)
Still fails: gcc -L/usr/lib/qt3/lib64 -L/opt/kde3/lib64 -L/usr/lib64 -lkdecore -lkdeui -lkio -lqt-mt -lkparts -lDCOP -ldl -lstdc++ -lncurses -ltinfo -L/usr/lib64 -Wl,-Bsymbolic-functions -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/pty.o objects/gui_kde.o objects/gui_kde_x11.o objects/gui_kde_widget.o objects/gui_kde_widget_moc.o objects/kvim_iface_skel.o objects/netbeans.o objects/version.o -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -lnsl -lncurses -lacl -lattr -ldl objects/os_unix.o: In function `mch_set_shellsize': /home/abuild/rpmbuild/BUILD/kvim-6.3/src/os_unix.c:3178: undefined reference to `term_set_winsize' collect2: ld returned 1 exit status -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org