2008/8/18 Thomas Anders <[EMAIL PROTECTED]>: >> can you please check whether this compilation: >> >> a) includes the object 'agent/kernel.o' >> b) defines HAVE_KVM_H >> ? > > solaris% ls -l agent/kernel.o > -rw-r--r-- 1 anders anders 1772 Aug 18 08:10 agent/kernel.o > solaris% grep HAVE_KVM_H include/net-snmp/net-snmp-config.h > #define HAVE_KVM_H 1
OK - I think I've tracked down the problem. Although Solaris defines HAVE_KVM_H, it doesn't seem to define NETSNMP_CAN_USE_NLIST. Which means that the whole of agent/kernel.c is effectively omitted, and hence there's no 'kd' file descriptor. I suspect that this might be broken in the previous code too, but simply never got triggered, with the SLASH_PROC_METHOD code being used instead. Unfortunately, the config_require processing is currently done *before* these definitions are available, so the new code wasn't following the same path. I've got something in hand to address this, but for the time being, I've hardcoded the agent to use the /proc/%d/psinfo interface for Solaris. Let me know if you still see problems on tonight's build. Dave ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
