Buid backports-20130528 on ArchLinux: /usr/bin/ld: cannot find -ltinfo
Hello,
I'm building the backports-20130528 on ArchLinux (kernel = 3.2.46). I see the error as in http://pastie.org/7996763 .
I don't have any problem when building the new Linux kernel. When I remove the tinfo support from the file kconf/Makefile I can run make menuconfig perfectly.
Is the tinfo library really needed to run make menuconfig when building backports drivers?
Thank you for your helps,
--
I am ... 5 dog years old.
Quoted 11 lines · Anh K. Huynh
Hello,
I'm building the
backports-20130528on ArchLinux (kernel = 3.2.46). I see the error as in http://pastie.org/7996763 .I don't have any problem when building the new Linux kernel. When I remove the
tinfosupport from the filekconf/MakefileI can runmake menuconfigperfectly.Is the
tinfolibrary really needed to runmake menuconfigwhen building backports drivers?
It was needed on some distros, and not on others. This is probably the best option?
backport/kconf/Makefile +1 -1
@@ -3,7 +3,7 @@ CFLAGS=-Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer LXDIALOG := lxdialog/checklist.o lxdialog/inputbox.o lxdialog/menubox.o lxdialog/textbox.o lxdialog/util.o lxdialog/yesno.o conf: conf.o zconf.tab.o -mconf: LDFLAGS = -Wl,--no-as-needed -lncurses -ltinfo +mconf: LDFLAGS = -Wl,--no-as-needed $(shell ./lxdialog/check-lxdialog.sh -ldflags $(CC)) mconf: CFLAGS += -DCURSES_LOC="<ncurses.h>" -DLOCALE mconf: mconf.o zconf.tab.o $(LXDIALOG)
johannes
backport/kconf/Makefile
Quoted 9 lines · On Sun, 02 Jun 2013 19:41:39 +0200 Johannes Berg <[email protected]>…
...
Quoted 2 lines
Is the
tinfolibrary really needed to runmake menuconfigwhen building backports drivers?It was needed on some distros, and not on others. This is probably the best option?
backport/kconf/Makefile +0
-0
Thank you for the explanation. The patch is a very good option.
--
I am ... 5 dog years old.