From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f175.google.com (mail-pf0-f175.google.com [209.85.192.175]) by mail.openembedded.org (Postfix) with ESMTP id C23256FFE8 for ; Tue, 15 Dec 2015 00:27:09 +0000 (UTC) Received: by pfbo64 with SMTP id o64so35484180pfb.1 for ; Mon, 14 Dec 2015 16:27:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=unpFmGYKrJasUZf6jYoE2uz4lwIYdzaPeP6wnwHe6uc=; b=OgXL3hiQ0BTv1oVTMdQFOsElB3qLFIs0t+b+D751eI+rbAYI/AfT1XEycjX+CZMwqx nQ6y1dPfPPWYnbMes9ArZ32uHTzL64kn0JmpPqjrsOye57O845Sa3gHZhuBcVbKyQOsL GvfTpTyGc+F5Qxa1CLT3QlYTJQdes2LgcqnIVJ3j4PpTLU+BkiwkV0dNNJwzPXBWOwV6 X5UxlnCsTWgiT6ucpRyGgw5yATDJHOUbnjEdGTeN6AC94mWBrjRxbng6ywn0jFsl73Z7 kQOnwRwPgg9CFLmEyHHabk8ejhXyF2Vj47lAbdRjSsu73XynD4WTFSasj4imWbTXWwI5 OrMA== X-Received: by 10.98.18.157 with SMTP id 29mr39824292pfs.43.1450139230231; Mon, 14 Dec 2015 16:27:10 -0800 (PST) Received: from ?IPv6:2601:202:4000:1239:ed26:217b:90d5:71ba? ([2601:202:4000:1239:ed26:217b:90d5:71ba]) by smtp.googlemail.com with ESMTPSA id 17sm30861223pfs.36.2015.12.14.16.27.08 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 14 Dec 2015 16:27:08 -0800 (PST) To: openembedded-devel@lists.openembedded.org References: <20151214162656.GA2212@jama> From: akuster808 X-Enigmail-Draft-Status: N1110 Message-ID: <566F5E58.7060209@gmail.com> Date: Mon, 14 Dec 2015 16:27:04 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20151214162656.GA2212@jama> Subject: Re: [PATCH 04/14] net-snmp: fix cross compilation X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Dec 2015 00:27:09 -0000 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Martin, On 12/14/2015 08:26 AM, Martin Jansa wrote: > On Mon, Dec 14, 2015 at 07:33:57AM -0800, Armin Kuster wrote: >> From: Rafaël Carré >> >> Signed-off-by: Martin Jansa >> Signed-off-by: Joe MacDonald >> Signed-off-by: Armin Kuster >> --- >> .../0002-config_os_headers-Error-Fix.patch | 31 ++++++++++++++++++++++ >> 1 file changed, 31 insertions(+) >> create mode 100644 meta-networking/recipes-protocols/net-snmp/net-snmp/0002-config_os_headers-Error-Fix.patch > > There is another patch for net-snmp in master next, which actually adds > this .patch file to SRC_URI, this change alone doesn't do anything and > shouldn't be backported imho. How long before the fix ( c5d821770a5c71c6a905ca889299f027874e9a98) is merged to master? I would rather append that commit to jethro than undo the above and forget to back port later. I an pull in more changes then too and do another pull-request. - armin > >> >> diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp/0002-config_os_headers-Error-Fix.patch b/meta-networking/recipes-protocols/net-snmp/net-snmp/0002-config_os_headers-Error-Fix.patch >> new file mode 100644 >> index 0000000..a90ce1f >> --- /dev/null >> +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp/0002-config_os_headers-Error-Fix.patch >> @@ -0,0 +1,31 @@ >> +From e24fcd140f3f6dd18fd836b197c6d4bb773e50e7 Mon Sep 17 00:00:00 2001 >> +From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= >> +Date: Wed, 4 Nov 2015 16:49:30 +0100 >> +Subject: [PATCH] config_os_headers: Error Fix >> + >> +ERROR: This autoconf log indicates errors, it looked at host include >> +and/or library paths while determining system capabilities. >> +--- >> + configure.d/config_os_libs2 | 4 ++-- >> + 1 file changed, 2 insertions(+), 2 deletions(-) >> + >> +diff --git a/configure.d/config_os_libs2 b/configure.d/config_os_libs2 >> +index 47491e2..e3647f9 100644 >> +--- a/configure.d/config_os_libs2 >> ++++ b/configure.d/config_os_libs2 >> +@@ -226,10 +226,10 @@ if test "x$with_nl" != "xno"; then >> + case $target_os in >> + linux*) # Check for libnl (linux) >> + netsnmp_save_CPPFLAGS="$CPPFLAGS" >> +- CPPFLAGS="-I/usr/include/libnl3 $CPPFLAGS" >> ++ CPPFLAGS="$CPPFLAGS" >> + NETSNMP_SEARCH_LIBS(nl_connect, nl-3, >> + [AC_CHECK_HEADERS(netlink/netlink.h) >> +- EXTERNAL_MIBGROUP_INCLUDES="$EXTERNAL_MIBGROUP_INCLUDES -I/usr/include/libnl3"], >> ++ EXTERNAL_MIBGROUP_INCLUDES="$EXTERNAL_MIBGROUP_INCLUDES"], >> + [CPPFLAGS="$netsnmp_save_CPPFLAGS"], [], [], [LMIBLIBS]) >> + if test "x$ac_cv_header_netlink_netlink_h" != xyes; then >> + NETSNMP_SEARCH_LIBS(nl_connect, nl, [ >> +-- >> +2.5.0 >> + >> -- >> 1.9.1 >> >> -- >> _______________________________________________ >> Openembedded-devel mailing list >> Openembedded-devel@lists.openembedded.org >> http://lists.openembedded.org/mailman/listinfo/openembedded-devel > > >