2009/3/16 Rodolfo Leffa <rodolfole...@gmail.com>:
> About the init routine, I have it on my module source file(the same I've
> done to Windows).
>
> I've runned configure --with-mib-modules=KhompData (name of my module), and
> after I use grep to see what files contains this string in the whole
> net-snmp directory. Except for the win32 directory and for the files
> themselfs(KhompData.cpp and KhompData.h) , it only appears in this files:
>
> agent/mibgroup/mib_module_includes.h
> include/net-snmp/net-snmp-config.h
> include/net-snmp/agent/mib_module_config.h

It should also appear in agent/mibgroup/mib_module_inits.h



> Looking at the files, I started to think my configure isn't working as it
> should:
>
> mib_modules_includes.h: the only place it appears is this commented line.
>
> /* This file is automatically generated by configure.  Do not modify by
> hand. */
> /*#include "mibgroup/KhompData.h"*/
> /*#include "mibgroup/default_modules.h"*/
> /*#include "mibgroup/snmpv3mibs.h"*/

I'm a little surprised those are commented out,
but checking my setup, there are indeed a number of
header files that are listed in this way.

Most of them appear to be "conglomeration" header files, rather
than leaf-module headers.

What is the contents of the file mibgroup/KhompData.h ?
What does the init routine look like?

Dave

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to