From: Cong Ding <dinggnu@gmail.com>
To: Michal Marek <mmarek@suse.cz>
Cc: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>,
Peter Foley <pefoley2@verizon.net>, Adam Lee <adam8157@gmail.com>,
Steven Rostedt <rostedt@goodmis.org>,
linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org,
Cong Ding <dinggnu@gmail.com>
Subject: [PATCH 1/1] kbuild: solve the DSO link change issue
Date: Thu, 29 Nov 2012 17:21:28 +0000 [thread overview]
Message-ID: <1354209688-16247-1-git-send-email-dinggnu@gmail.com> (raw)
when make menuconfig, it reports this error:
/usr/bin/ld: scripts/kconfig/lxdialog/checklist.o: undefined reference to symbol 'acs_map'
/usr/bin/ld: note: 'acs_map' is defined in DSO /lib64/libtinfo.so.5 so try adding it to the linker command line
/lib64/libtinfo.so.5: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
due to the DSO link change, we must explicitly link against every library needed.
http://fedoraproject.org/wiki/UnderstandingDSOLinkChange
Signed-off-by: Cong Ding <dinggnu@gmail.com>
---
scripts/kconfig/Makefile | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index 3091794..ae339a1 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -215,6 +215,7 @@ HOSTCFLAGS_gconf.o = `pkg-config --cflags gtk+-2.0 gmodule-2.0 libglade-2.0` \
-Wno-missing-prototypes
HOSTLOADLIBES_mconf = $(shell $(CONFIG_SHELL) $(check-lxdialog) -ldflags $(HOSTCC))
+HOSTLOADLIBES_mconf += -ltinfo
HOSTLOADLIBES_nconf = -lmenu -lpanel -lncurses
$(obj)/qconf.o: $(obj)/.tmp_qtcheck
--
1.7.4.5
next reply other threads:[~2012-11-29 17:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-29 17:21 Cong Ding [this message]
2012-12-09 15:15 ` [PATCH 1/1] kbuild: solve the DSO link change issue Cong Ding
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1354209688-16247-1-git-send-email-dinggnu@gmail.com \
--to=dinggnu@gmail.com \
--cc=adam8157@gmail.com \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mmarek@suse.cz \
--cc=pefoley2@verizon.net \
--cc=rostedt@goodmis.org \
--cc=yselkowitz@users.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.