Maybe a look at how I register would shed some light on the seg fault. Unless it's a simple matter of finding where mutex.c is located. mutex.c looks to be a linux source file. And it's located in /usr/src/linux/fx/xfs_suport/. Does netsnmp use this? If so, do I need something set in my PATH or LD_LIBRARY_PATH or conf file to make sure it finds things correctly?
Anyway, here's the registration (oidToRegister & handler are passed in): { netsnmp_handler_registration * test; test = SNMP_MALLOC_TYPEDEF( netsnmp_handler_registration ); if ( !test ){ /* trace info here */ return false; } test = netsnmp_create_handler_registration( "test", handler, (oid*)oidToRegister.toOid(), oidToRegister.getSize(), HANDLER_CAN_RWRITE ); netsnmp_register_instance( test ); return true; } Thanks, Carlos ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users