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

Steffen Sledz sledz at dresearch.de
Fri Mar 11 15:53:10 UTC 2011


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.

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




More information about the Openembedded-devel mailing list