Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH 04/14] net-snmp: fix cross compilation
Date: Mon, 14 Dec 2015 17:26:56 +0100	[thread overview]
Message-ID: <20151214162656.GA2212@jama> (raw)
In-Reply-To: <c2c72c32cd47ebaaaac9cdbc769e0f4a8e5eac80.1450027640.git.akuster808@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2822 bytes --]

On Mon, Dec 14, 2015 at 07:33:57AM -0800, Armin Kuster wrote:
> From: Rafaël Carré <funman@videolan.org>
> 
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
> Signed-off-by: Armin Kuster <akuster808@gmail.com>
> ---
>  .../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.

> 
> 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?= <funman@videolan.org>
> +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

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

  reply	other threads:[~2015-12-14 16:24 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-14 15:33 [PATCH 00/14] mete-oe Jethro-next Armin Kuster
2015-12-14 15:33 ` [PATCH 01/14] netcat: add DESCRIPTION Armin Kuster
2015-12-14 15:33 ` [PATCH 02/14] netcat-openbsd: replace patch with quilt Armin Kuster
2015-12-14 15:33 ` [PATCH 03/14] net-snmp: Modify snmpd.service Armin Kuster
2015-12-14 15:33 ` [PATCH 04/14] net-snmp: fix cross compilation Armin Kuster
2015-12-14 16:26   ` Martin Jansa [this message]
2015-12-14 18:56     ` akuster808
2015-12-15  0:27     ` akuster808
2015-12-14 15:33 ` [PATCH 05/14] ypbind-mt: set path of ypdomainname in ypbind script Armin Kuster
2015-12-14 15:33 ` [PATCH 06/14] opensaf: remove unused service file Armin Kuster
2015-12-14 15:34 ` [PATCH 07/14] lldpd: configure the systemd unit file dir Armin Kuster
2015-12-14 15:34 ` [PATCH 08/14] ctdb: rdep on bash Armin Kuster
2015-12-14 15:34 ` [PATCH 09/14] netmap-modules: make deterministic builds for drivers Armin Kuster
2015-12-14 15:34 ` [PATCH 10/14] netmap-modules: Modules may not have the same arch as userspace Armin Kuster
2015-12-14 15:34 ` [PATCH 11/14] ufw: improve RRECOMMENDS Armin Kuster
2015-12-14 15:34 ` [PATCH 12/14] dovecot: add PACKAGECONFIG for lz4 Armin Kuster
2015-12-14 15:34 ` [PATCH 13/14] pure-ftpd: add PACKAGECONFIG for libsodium Armin Kuster
2015-12-14 15:34 ` [PATCH 14/14] tmux: Fix QA issue Armin Kuster

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=20151214162656.GA2212@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-devel@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox