RE: --with-mib-module doubt

<[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi Dave,
    Normally what is observed is by giving all the module names in the configure command the module names are added in the make file. In the below mentioned case only one file we will be using how my other modules will be compiled. Will configure_require take of that and does this require myModules.c file also.

Rgards,
Sasikumar.



-----Original Message-----
From: Dave Shield [mailto:[email protected]]
Sent: Fri 1/27/2006 2:55 PM
To: Sasikumar Bodathula (WT01 - Broadband Networks)
Cc: [email protected]
Subject: Re: --with-mib-module doubt
 
On Fri, 2006-01-27 at 14:24 +0530, [email protected] wrote:
> Hi All,
>     I am having one doubt, I am trying to register 35 mib handler
> functions using --with-mib-modules option but only few are getting
> registered i.e first 30 in the list are getting registered the last
> few are not getting registered. Is there any limitation in number of
> mib modules registeration.

There shouldn't be, but I've never actually tried specifying so
many individual modules directly on the command line.

Try the following:
Instead of running the command as

    ./configure --with-mib-modules="module1,module2,module3/mod3a,etc"

create a file "agent/mibgroup/myModules.h", containing the following:

    config_require(module1)
    config_require(module2)
    config_require(module3/mod3a)
    etc

and then run

    ./configure --with-mib-modules=myModules


That should have the same effect, but without such a long command
line (or being so hard on the fingers!).

   Does that pick up all 35 modules, or does it choke after 30?

Dave
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.