From: Vitaliy Gusev <vgusev@openvz.org>
To: Stephen Hemminger <shemminger@linux-foundation.org>
Cc: Patrick McHardy <kaber@trash.net>, netdev@vger.kernel.org
Subject: [PATCH] Fix lost export-dynamic
Date: Mon, 17 Dec 2007 16:06:38 +0300 [thread overview]
Message-ID: <200712171606.38546.vgusev@openvz.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 193 bytes --]
get_link_kind() fails for statically linked modules (vlan, veth, etc.) if "ip"
was linked without "export-dynamic".
Signed-off-by: Vitaliy Gusev <vgusev@openvz.org>
--
Thank,
Vitaliy Gusev
[-- Attachment #2: diff-add-export-dynamic.patch --]
[-- Type: text/plain, Size: 211 bytes --]
diff --git a/ip/Makefile b/ip/Makefile
index 448efb9..b427d58 100644
--- a/ip/Makefile
+++ b/ip/Makefile
@@ -24,3 +24,5 @@ clean:
rm -f $(ALLOBJ) $(TARGETS)
LDLIBS += -ldl
+
+LDFLAGS += -Wl,-export-dynamic
next reply other threads:[~2007-12-17 13:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-17 13:06 Vitaliy Gusev [this message]
2007-12-21 17:17 ` [PATCH] Fix lost export-dynamic Stephen Hemminger
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=200712171606.38546.vgusev@openvz.org \
--to=vgusev@openvz.org \
--cc=kaber@trash.net \
--cc=netdev@vger.kernel.org \
--cc=shemminger@linux-foundation.org \
/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.