(no subject)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Greets!
   I maintain a vi clone, xvi.sf.net, which fails to build on arch linux.
The issue follows:
https://github.com/martinwguy/xvi/blob/master/issues/open/arch-linux-build-failure

A user reports build failure on Arch Linux when the final link
fails to find symbols tgoto, BC and UP.

This recalls a similar issue on AIX, where one had to link with -lcurses
and see also the #ifdef AIX phrases in src/tcap_src.c
The AIX box that needed this doesn't have a libtermcap, while I see you
do have one. Do you know which termcap that is? GNU or BSD or something
else? I also see it's in local/ - does that mean it's been installed locally
and is a version different from the Arch repository? (Sorry, I'm not that
familiar with Arch linux to understand these things!)

http://github.com/martinwguy/xvi/issues/165

Package version:
local/termcap 1.3.1-4
multilib/gcc-multilib 7.1.1-4 (multilib-devel)
core/binutils 2.28.0-4 (base-devel)
core/make 4.2.1-2 (base-devel)
core/automake 1.15.1-1 (base-devel)

([0])$>> make
(cd src && make -f makefile.pos \
	OPTFLAG="-O2 -DHELPFILE=\\\"/usr/share/xvi/xvi.help\\\"" \
	xvi)
[...]
cc -DUNIX -DTERMIOS -DPOSIX  -O2
-DHELPFILE=\"/usr/share/xvi/xvi.help\"  -o xvi alloc.o altstack.o
ascii.o buffers.o cmdline.o cmdmode.o cmdtab.o cursor.o dispmode.o
edit.o ex_cmds1.o ex_cmds2.o events.o fileio.o find.o flexbuf.o map.o
mark.o misccmds.o mouse.o movement.o normal.o param.o pipe.o
preserve.o ptrfunc.o regexp.o screen.o search.o signal.o startup.o
status.o tag.o targets.o undo.o update.o version.o vi_cmds.o vi_ops.o
virtscr.o windows.o yankput.o unix.o tcapmain.o tcap_scr.o -ltermcap
tcap_scr.o: In function `set_scroll_region':
tcap_scr.c:(.text+0x148): undefined reference to `tgoto'
tcap_scr.o: In function `cm_absolute':
tcap_scr.c:(.text+0x4e8): undefined reference to `tgoto'
tcap_scr.c:(.text+0x524): undefined reference to `tgoto'
tcap_scr.o: In function `scroll_up.part.5':
tcap_scr.c:(.text+0x8b9): undefined reference to `tgoto'
tcap_scr.o: In function `tty_open':
tcap_scr.c:(.text+0xe80): undefined reference to `BC'
tcap_scr.c:(.text+0xea6): undefined reference to `UP'
tcap_scr.o: In function `scroll_down':
tcap_scr.c:(.text+0x1948): undefined reference to `tgoto'
collect2: error: ld returned 1 exit status
make[1]: *** [makefile.pos:65: xvi] Error 1

I don't run AL; can anyone confirm the status of this issue?

Many thanks

   Martin Guy



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux