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

Khem Raj raj.khem at gmail.com
Sat Mar 12 00:05:24 UTC 2011


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.
> 
> Regards,
> 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
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-- 
-Khem




More information about the Openembedded-devel mailing list