Link error in Tiny and Small affter applying patches 8.1.1391 to 1396

17 views
Skip to first unread message

Tony Mechelynck

unread,
May 25, 2019, 5:31:30 PM5/25/19
to Bram Moolenaar, vim_dev
See below the error (at src/Makefile line 2009) as displayed in the
Tiny build without GUI but with +xterm_save. Small with Motif GUI
gives the same error. No error in Normal, Big and Huge with GTK2 GUI.

link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
gcc -L/usr/local/lib -Wl,--as-needed -o vi objects/arabic.o
objects/autocmd.o objects/beval.o objects/buffer.o objects/change.o
objects/blob.o objects/blowfish.o objects/crypt.o objects/crypt_zip.o
objects/debugger.o objects/dict.o objects/diff.o objects/digraph.o
objects/edit.o objects/eval.o objects/evalfunc.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/findfile.o objects/fold.o
objects/getchar.o objects/hardcopy.o objects/hashtab.o
objects/if_cscope.o objects/if_xcmdsrv.o objects/indent.o
objects/insexpand.o objects/list.o objects/mark.o objects/memline.o
objects/menu.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/popupmnu.o
objects/popupwin.o objects/pty.o objects/quickfix.o objects/regexp.o
objects/screen.o objects/search.o objects/sha256.o objects/sign.o
objects/spell.o objects/spellfile.o objects/syntax.o objects/tag.o
objects/term.o objects/terminal.o objects/textprop.o objects/ui.o
objects/undo.o objects/usercmd.o objects/userfunc.o objects/version.o
objects/window.o objects/xdiffi.o objects/xemit.o
objects/xprepare.o objects/xutils.o objects/xhistogram.o
objects/xpatience.o objects/charset.o objects/json.o objects/main.o
objects/memfile.o objects/message.o -lSM -lICE -lXpm -lXt -lX11
-lXdmcp -lSM -lICE -lm -ltinfo -lelf -lgpm -ldl
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld:
objects/screen.o: in function `win_draw_end.constprop.20':
screen.c:(.text+0x3712): undefined reference to `hl_combine_attr'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld:
screen.c:(.text+0x3732): undefined reference to `hl_combine_attr'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld:
objects/screen.o: in function `win_line.isra.14':
screen.c:(.text+0x45f4): undefined reference to `hl_combine_attr'
collect2: error: ld returned 1 exit status
link.sh: Linking failed
make: *** [Makefile:2009: vi] Error 1
exit status 2


Best regards,
Tony.

Bram Moolenaar

unread,
May 26, 2019, 7:14:29 AM5/26/19
to vim...@googlegroups.com, Tony Mechelynck, Bram Moolenaar
Should be fixed by patch 8.1.1397.

--
If you put 7 of the most talented OSS developers in a room for a week
and asked them to fix a bug in a spreadsheet program, in 1 week
you'd have 2 new mail readers and a text-based web browser.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

Tony Mechelynck

unread,
May 26, 2019, 12:32:49 PM5/26/19
to Bram Moolenaar, vim_dev
On Sun, May 26, 2019 at 1:14 PM Bram Moolenaar <Br...@moolenaar.net> wrote:
>
>
> Tony wrote:
>
> > See below the error (at src/Makefile line 2009) as displayed in the
> > Tiny build without GUI but with +xterm_save. Small with Motif GUI
> > gives the same error. No error in Normal, Big and Huge with GTK2 GUI.
> >
[...]
> > /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld:
> > objects/screen.o: in function `win_draw_end.constprop.20':
> > screen.c:(.text+0x3712): undefined reference to `hl_combine_attr'
> > /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld:
> > screen.c:(.text+0x3732): undefined reference to `hl_combine_attr'
> > /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld:
> > objects/screen.o: in function `win_line.isra.14':
> > screen.c:(.text+0x45f4): undefined reference to `hl_combine_attr'
> > collect2: error: ld returned 1 exit status
> > link.sh: Linking failed
> > make: *** [Makefile:2009: vi] Error 1
> > exit status 2
>
> Should be fixed by patch 8.1.1397.
>
Yes, it was. Thanks Bram!

Best regards,
Tony.
Reply all
Reply to author
Forward
0 new messages