On Sun, 2013-06-02 at 22:09 +0700, Anh K. Huynh wrote:
> 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?

It was needed on some distros, and not on others. This is probably the
best option?

diff --git a/backport/kconf/Makefile b/backport/kconf/Makefile
index ff5c270..dfd793a 100644
--- a/backport/kconf/Makefile
+++ b/backport/kconf/Makefile
@@ -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


--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to