[Buildroot] [PATCH 1/1] netsnmp: bugfix for openssl dependency
mlweber1 at rockwellcollins.com
mlweber1 at rockwellcollins.com
Thu Sep 5 18:28:46 UTC 2013
FYI, I think this was actually a bug caused by the linaro 2013.06
toolchain (GCC 4.8). After fixing the netsnmp bug, I ran into another
issue with quagga linking and a clock_gettime call. At that point I
reverted back to 2013.04 and things are functional.
Matthew L Weber / Sr Software Engineer / Platform SW
MS 137-157, 855 35th Street NE, Cedar Rapids, IA, 52498, USA
Phone: 319-295-7349 / VPN: 295-7349
mlweber1 at rockwellcollins.com
www.rockwellcollins.com
CONFIDENTIALITY NOTICE: This email message is intended only for the
person or entity to which it is addressed and may contain confidential
and/or privileged material. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient,
please contact the sender by email and destroy all copies of the original
message.
From: Matt Weber <mlweber1 at rockwellcollins.com>
To: buildroot at busybox.net
Cc: Matt Weber <mlweber1 at rockwellcollins.com>
Date: 09/05/2013 12:26 PM
Subject: [PATCH 1/1] netsnmp: bugfix for openssl dependency
In the configure check of netsnmp (if using with openssl enabled)
it checks for openssl and gets a undefined reference to dl* error.
Adding an additional references to the libld.a lib resolves this bug.
Signed-off-by: Matt Weber <mlweber1 at rockwellcollins.com>
---
package/netsnmp/netsnmp.mk | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk
index 806f7a6..7d31b9f 100644
--- a/package/netsnmp/netsnmp.mk
+++ b/package/netsnmp/netsnmp.mk
@@ -38,7 +38,8 @@ endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
NETSNMP_DEPENDENCIES += openssl
NETSNMP_CONF_OPT += \
- --with-openssl=$(STAGING_DIR)/usr/include/openssl
+ --with-openssl=$(STAGING_DIR)/usr/include/openssl \
+ --with-libs=-ldl
else
NETSNMP_CONF_OPT += --without-openssl
endif
--
1.7.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130905/15457002/attachment-0002.html>
More information about the buildroot
mailing list