From patchwork Thu Sep 5 18:28:46 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Weber X-Patchwork-Id: 272929 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 6669B2C00ED for ; Fri, 6 Sep 2013 04:28:51 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 791FA8C160; Thu, 5 Sep 2013 18:28:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 61avL56ajXnA; Thu, 5 Sep 2013 18:28:49 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 23D7D8C8B6; Thu, 5 Sep 2013 18:28:49 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id ABA231BF96B for ; Thu, 5 Sep 2013 18:28:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A71C58C045 for ; Thu, 5 Sep 2013 18:28:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F7ghQB8u9+82 for ; Thu, 5 Sep 2013 18:28:47 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from secvs01.rockwellcollins.com (secvs01.rockwellcollins.com [205.175.225.240]) by whitealder.osuosl.org (Postfix) with ESMTPS id D550B8BEA2 for ; Thu, 5 Sep 2013 18:28:46 +0000 (UTC) Received: from nosuchhost.198.131.in-addr.arpa (HELO collinscrsmtp02.rockwellcollins.com) ([131.198.63.133]) by mail-virt.rockwellcollins.com with ESMTP; 05 Sep 2013 13:28:47 -0500 In-Reply-To: <1378401982-23239-1-git-send-email-mlweber1@rockwellcollins.com> References: <1378401982-23239-1-git-send-email-mlweber1@rockwellcollins.com> X-Disclaimed: 45774 To: Matt Weber MIME-Version: 1.0 X-KeepSent: F1E3672B:8ADB58AD-86257BDD:00654C41; type=4; name=$KeepSent X-Mailer: Lotus Notes Release 8.5.2FP1 November 30, 2010 From: mlweber1@rockwellcollins.com Message-ID: Date: Thu, 5 Sep 2013 13:28:46 -0500 X-MIMETrack: Serialize by Router on CollinsCRSMTP02/CedarRapids/RockwellCollins(Release 8.5.2FP2 HF162|May 16, 2011) at 09/05/2013 01:28:45 PM, Serialize complete at 09/05/2013 01:28:45 PM Cc: buildroot@busybox.net Subject: Re: [Buildroot] [PATCH 1/1] netsnmp: bugfix for openssl dependency X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net 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@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 To: buildroot@busybox.net Cc: Matt Weber 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 --- 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