I'm building net-snmp agent. I've already compiled my private MIBs to C stub source code. Configure with --with-mib-modules="MYMIBS" I'll build in my private modules. I saw the following files are changed when after configure:
mib_module_includes.h: #include "mymibs.h" mib_module_inits.h: if (should_init("my-mibs")) init_mymibs(); agent/mibgroup/Makefile: OBJS = mymibs.o ... >From the result, I think the above three files are generated automatically when run configure, including the makefile. So, I think it's not wise to modify the file agent/mibgroup/Makefile by hand. In mymibs.c I want to call some APIs provided by another lib, say mylib.a. So, where can I include mylib.a into? Another similar question is: if I want put my implement functions in several C source file, rather than just one big C file mymibs.c, how can I do this? ------------------------------------------------------------------------------ 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