* Buid backports-20130528 on ArchLinux: /usr/bin/ld: cannot find -ltinfo
@ 2013-06-02 15:09 Anh K. Huynh
2013-06-02 17:41 ` Johannes Berg
0 siblings, 1 reply; 3+ messages in thread
From: Anh K. Huynh @ 2013-06-02 15:09 UTC (permalink / raw)
To: backports
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Buid backports-20130528 on ArchLinux: /usr/bin/ld: cannot find -ltinfo
2013-06-02 15:09 Buid backports-20130528 on ArchLinux: /usr/bin/ld: cannot find -ltinfo Anh K. Huynh
@ 2013-06-02 17:41 ` Johannes Berg
2013-06-03 3:18 ` Anh K. Huynh
0 siblings, 1 reply; 3+ messages in thread
From: Johannes Berg @ 2013-06-02 17:41 UTC (permalink / raw)
To: Anh K. Huynh; +Cc: backports
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: Buid backports-20130528 on ArchLinux: /usr/bin/ld: cannot find -ltinfo
2013-06-02 17:41 ` Johannes Berg
@ 2013-06-03 3:18 ` Anh K. Huynh
0 siblings, 0 replies; 3+ messages in thread
From: Anh K. Huynh @ 2013-06-03 3:18 UTC (permalink / raw)
To: Johannes Berg, backports
On Sun, 02 Jun 2013 19:41:39 +0200
Johannes Berg <johannes@sipsolutions.net> wrote:
> ...
> > 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
> ...
Thank you for the explanation. The patch is a very good option.
--
I am ... 5 dog years old.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-06-03 3:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-02 15:09 Buid backports-20130528 on ArchLinux: /usr/bin/ld: cannot find -ltinfo Anh K. Huynh
2013-06-02 17:41 ` Johannes Berg
2013-06-03 3:18 ` Anh K. Huynh
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.