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

Khem Raj raj.khem at gmail.com
Mon Mar 14 16:39:50 UTC 2011


On (14/03/11 08:06), Steffen Sledz wrote:
> Am 12.03.2011 01:05, schrieb Khem Raj:
> > On (11/03/11 16:53), Steffen Sledz wrote:
> >> On 03/11/2011 02:05 PM, Koen Kooi wrote:
> >>> 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.
> >>
> >> I'm not sure.
> >>
> >> But there is no dependency to libnl. If *libnl was not built before net-snmp* the autotools/configure does not find it. So in that case libnl wasn't used anyway.
> >>
> >> Just in case *it was built before* net-snmp tries to use it and hits the mentioned error.
> > 
> > So assuming that successful builds before did not link in libnl this
> > seems ok to me.
> 
> Can i take that as an ACK?

Acked-by: Khem Raj <raj.khem at gmail.com>
> 
> Steffen
> 
> -- 
> DResearch Fahrzeugelektronik GmbH
> Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
> Tel: +49 30 515932-237 mailto:sledz at DResearch.de
> Fax: +49 30 515932-299
> Geschäftsführer: Dr. Michael Weber, Werner Mögle;
> Amtsgericht Berlin Charlottenburg; HRB 130120 B;
> Ust.-IDNr. DE273952058
> 

-- 
-Khem




More information about the Openembedded-devel mailing list