Dear All:
I try to modify some function to check how to make netSnmpTurialMIB.c can
work ,
the code I add is as following:
case MODE_GET:
snmp_set_var_typed_value(requests->requestvb, ASN_INTEGER, NULL,
100);
printf("This is testing, we will make sure what will happening");
and in fact , I hope when I using snmpget, It can shows "This is
tesing....."
and then , i execute the command: gcc -o netSnmpTutorialMIB
netSnmpTurialMIB.c
-L/usr/local/include -lcrypto -lm
then execute the command: gcc -g -fPIC -shared -o netSnmpTutorialMIB.so
netSnmpTurialMIB.o
and then add a line to snmpd.conf such like : dlmod netSnmpTutorialMIB
/usr/local/temp/netSnmpTutorialMIB.so
the result is the terminal shows no such object.
Can anyone instruct me what the main problem is, and how to fix it ?
thank you.
n
Best Regards,
Clement Hsu
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders