Re: Implementing tables with fewer source files

2008-09-02 Thread Joshua Tolley
On Tue, Sep 2, 2008 at 5:39 PM, Wes Hardaker <[EMAIL PROTECTED]> wrote: >> On Fri, 29 Aug 2008 13:47:25 -0600, eggyknap <[EMAIL PROTECTED]> said: > > e> I'm writing an agent, and found that mib2c using the mib for dummies > e> config makes about 12 source files for each table I implement. I > e

Re: Implementing tables with fewer source files

2008-09-02 Thread Wes Hardaker
> On Fri, 29 Aug 2008 13:47:25 -0600, eggyknap <[EMAIL PROTECTED]> said: e> I'm writing an agent, and found that mib2c using the mib for dummies e> config makes about 12 source files for each table I implement. I e> modify a few lines of the autogenerated code, and add it to my e> makefile. I'

Re: how to explicitly specify a snnp port number other than 161?

2008-09-02 Thread Wes Hardaker
> On Sat, 30 Aug 2008 22:05:59 +0800, "xiao ren" <[EMAIL PROTECTED]> said: xr> May I use it as: xr> netsnmp_session session; xr> session.peername = strdup("192.168.1.2:1161"); Yep! xr> I check snmp_api.h and found that there is a "remote_port" member in xr> snmp_session struct, but it was o

Re: Diffie-Hellman Kickstart

2008-09-02 Thread Wes Hardaker
> On Mon, 01 Sep 2008 09:27:35 +0200, Thomas Anders <[EMAIL PROTECTED]> > said: TA> usmDHKickstartTable. Patches highly appreciated. :-) You should read RFC2786 well before using that particular table, as it makes some assumptions about the network architecture it's deployed in. In parti

Re: found a compiling optimization problem

2008-09-02 Thread Wes Hardaker
> On Tue, 2 Sep 2008 23:35:51 +0800, "xiao ren" <[EMAIL PROTECTED]> said: xr> Could anybody tell me why this is happend? If true, it certainly sounds like a bug in g++. What version are you using? -O2 is supposed to be the "safe" level of optimization to turn on, but it sounds like you've h

Re: mib2c without perl

2008-09-02 Thread Wes Hardaker
> On Tue, 02 Sep 2008 23:27:25 +0200, Thomas Anders <[EMAIL PROTECTED]> > said: >> Is it possible to run mib2c without perl modules installed? I get an >> error and haven't found a workaround. TA> No. mib2c is a Perl program that requires our Perl modules (see the FAQ). It should be pos

Re: mib2c without perl

2008-09-02 Thread Thomas Anders
dan anderson wrote: > Is it possible to run mib2c without perl modules installed? I get an > error and haven't found a workaround. No. mib2c is a Perl program that requires our Perl modules (see the FAQ). > Either way, is it possible to use the resulting .c and .h files > without the perl modules

mib2c without perl

2008-09-02 Thread dan anderson
Two questions: Is it possible to run mib2c without perl modules installed? I get an error and haven't found a workaround. Either way, is it possible to use the resulting .c and .h files without the perl modules? I expect so, since they're obviously C or C++ files, but I figure it's best to check

found a compiling optimization problem

2008-09-02 Thread xiao ren
Hi, there Today I rewrote my program's makefile, which was previously managed by eclipse cdt. This time I used the autoconf and automake tools to generate the new makefile, and by using it I can build my application without error. But when I run the newly generated exec file, an error reported