2009/3/23 Jeffrey Cao <jcao.li...@gmail.com>:
> In mymibs.c I want to call some APIs provided by another lib, say mylib.a.
> So, where can I include mylib.a into?

   $ ./configure --help | grep libs
     --with-libs=LIBS                use LIBS as link time arguments to ld.


> 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?


  $ configure --with-mib-modules=myMIB1,myMIB2,myMIB3,....

This is done widely within the standard agent.
Have a look at the code there for various approaches.
(Including how to have "--with-mib-modules=myMIB"
  automatically pull in the consituent parts)

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