[oe] [PATCH] net-snmp: disable libnl use

Steffen Sledz sledz at dresearch.de
Fri Mar 11 11:04:37 UTC 2011


Fixes compile error

| ./.libs/libnetsnmpmibs.so: undefined reference to `nl_handle_destroy'
| ./.libs/libnetsnmpmibs.so: undefined reference to `nl_handle_alloc'

which occurred sometimes depending on build order (not in clean package
only builds).

Signed-off-by: Steffen Sledz <sledz at dresearch.de>
---
 recipes/net-snmp/net-snmp_svn.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes/net-snmp/net-snmp_svn.bb b/recipes/net-snmp/net-snmp_svn.bb
index 2a75722..c53c91f 100644
--- a/recipes/net-snmp/net-snmp_svn.bb
+++ b/recipes/net-snmp/net-snmp_svn.bb
@@ -1,7 +1,7 @@
 require net-snmp.inc
 DEPENDS += "libtool libtool-native libtool-cross"
 SRCREV = "20069"
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 S = "${WORKDIR}/net-snmp"
 
@@ -10,7 +10,7 @@ SRC_URI = "svn://net-snmp.svn.sourceforge.net/svnroot/net-snmp/trunk;module=net-
         file://snmpd.conf \
         file://snmptrapd.conf"
 
-EXTRA_OECONF += "--disable-embedded-perl --with-perl-modules=no GREP=/bin/grep SED=/bin/sed"
+EXTRA_OECONF += "--disable-embedded-perl --with-perl-modules=no --without-nl GREP=/bin/grep SED=/bin/sed"
 EXTRA_OEMAKE = "INSTALL_PREFIX=${D}"
 
 CCACHE = ""
-- 
1.7.1





More information about the Openembedded-devel mailing list