[oe] [PATCH] net-snmp: disable libnl use
Koen Kooi
k.kooi at student.utwente.nl
Fri Mar 11 13:05:14 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11-03-11 12:04, Steffen Sledz wrote:
> 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).
What features do we loose when disabling netlink support? I'd rather get
the libnl recipe fixed (e.g. static lib only) instead of hacking the
dependants.
regards,
Koen
>
> 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 = ""
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFNeh4JMkyGM64RGpERAoHZAJ9qMCGgy94d0SRjWn8BYytVOgRTxwCgj+GR
tioY8TZybHS74EH8FMVubQ0=
=euaE
-----END PGP SIGNATURE-----
More information about the Openembedded-devel
mailing list