I installed net-snmp-5.2.1 in windows with VC ++.
I didnt install PSDK.

The agent configuration went well. Now I would like to extend the agent.
I placed my compiled mibs ie., my.c and my.h in the agent/mibgroup

Then I edited the 'win32\mib_module_includes.h' file to add an include
to my.h file.

        #include "mibgroup/my.h"

   - Next edited the 'win32\mib_module_inits.h' file to add
     code to call your initialize function.

        if (should_init("my")) init_my();


..\mib_module_inits.h(117) : warning C4013: 'init_my' undefined; assu
ming extern returning int

Could anyone pls help me on this?

Thanks


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to