Hello. Does net-snmp needs libelf on linux and if yes then for what? I found elfutils-libelf-devel in redhat .spec and other distributions have similar dependency. I did some research and seems that the only header used from elfutils is nslist.h. It is used in the following files: snmplib/system.c - here for uptime as I see it's used for uptime. Actually this is my best guess as I don't have man pages of nlist for that systems.
agent/mibgroup/mibII/route_headers.h <- do it is necessary here? It's impossible to go trough all code paths but seems that it's not... agent/mibgroup/ucd-snmp/proc.c agent/mibgroup/ucd-snmp/vmstat_darwin7.c agent/mibgroup/ucd-snmp/memory_darwin7.c agent/mibgroup/ucd-snmp/memory_freebsd2.c agent/mibgroup/ucd-snmp/vmstat_netbsd1.c agent/mibgroup/ucd-snmp/memory_netbsd1.c agent/mibgroup/ucd-snmp/vmstat_bsdi4.c agent/mibgroup/ucd-snmp/vmstat_freebsd2.c In above files nlist is definetly used not in linux. So do we actually need libelf dependency in linux? Why? Btw, could you help me to understand why auto_nlist function was created? Is it abstraction on nlist()? Does this nlist function allows to know more then just symbol table name list on other systems? Thank you in advance, -- Peter. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
