Re: MinGW patches, release candidates and schedules

2004-11-05 Thread Dave Shield
Wes>a) lack of compilation on a major architecture is something I'd Wes> like to fix if we can Check. Wes>b) if (a) then we MUST slip a week. Check. Wes> 2) the current vote, given my thinking that it should be done, Wes> is 4 in favor and 1 against. Make that 5 in favor. Sorry

Loading startup rows

2004-11-05 Thread rui . reis
HI all, i'm extendeding an Linux RH (release 2.4.21-4.EL) NET-SNMP(5.1.2) agent with a MIB that has two tables. I used mib2c with mib2c.array-user.conf to generate the associated code. I also have some rows to load during the init. One of the tables has a key of type INTEGER, and the other one D

MinGW and Cygwin Patch

2004-11-05 Thread Andy Smith
The original patch has been modified to include Cygwin. The patch has been tested on MinGW, Cygwin, and Linux. If there are no objections I will commit this to CVS for the release candidate. Andy --- net-snmp/agent/mibgroup/mibII/interfaces.h 2004-10-16 20:53:43.0 -0500 +++ net-snmp-ming

Re: MinGW patches, release candidates and schedules

2004-11-05 Thread Wes Hardaker
> On Thu, 4 Nov 2004 14:08:33 -0700, Bruce Shaw <[EMAIL PROTECTED]> said: Bruce> Because it's documentation, I can probably squeeze that in to Bruce> 5.2 - right? Yes. Bruce> We're close to a resolution on making packages for Solaris. Bruce> That's a little too drastic for 5.2 documentation

RE: MinGW patches, release candidates and schedules

2004-11-05 Thread Bruce Shaw
Bruce> We're close to a resolution on making packages for Solaris. Bruce> That's a little too drastic for 5.2 documentation - right? Wes>Um, I don't understand that statement... Right now I'm tweaking README.solaris because of a bad patch number and a problem I found with crle on Solaris 2.6. It

compiling demo app

2004-11-05 Thread Andres C
Hello, I've been trying to compile the snmpdemoapp.c in MVC++ 6.0 in windows, but I keep getting this error: Compiling... snmpdemoapp.c C:\Documents and Settings\user\Desktop\source\apps\snmpdemoapp.c(1) : fatal error C1083: Cannot open include file: 'net-snmp/net-snmp-config.h': No such file o

RE: why does snmpwalk display a blank line after anything with a Hex- STRING?

2004-11-05 Thread Bruce Shaw
Found it. It's a one-liner in mib.c. It effects everybody. *(*buf + (*out_len)++) = '\n'; Comment that line out and everything appears to be fine (at least on Solaris). When did this get added and why? What should we do about 5.2? Wes>snmplib/*.c This communication is intended for the

Re: Memory leak

2004-11-05 Thread Tony Lee
Thank you very much, Robert, I will give them a try. On Thu, 4 Nov 2004 14:24:24 -0500, Coders Robert Story <[EMAIL PROTECTED]> wrote: > On Thu, 4 Nov 2004 10:24:38 -0800 Tony wrote: > TL> I also see memory leak issue with netsnmp (5.1.1) + loadable agent.so code. > TL> I do not use any malloc/f

Re: MinGW and Cygwin Patch

2004-11-05 Thread Wes Hardaker
> On Fri, 05 Nov 2004 09:07:35 -0500, Andy Smith <[EMAIL PROTECTED]> said: Andy> The original patch has been modified to include Cygwin. The Andy> patch has been tested on MinGW, Cygwin, and Linux. If there are Andy> no objections I will commit this to CVS for the release Andy> candidate. Go

Re: why does snmpwalk display a blank line after anything with a Hex- STRING?

2004-11-05 Thread Wes Hardaker
> On Fri, 5 Nov 2004 09:54:33 -0700, Bruce Shaw <[EMAIL PROTECTED]> said: Bruce> It's a one-liner in mib.c. It effects everybody. Bruce> *(*buf + (*out_len)++) = '\n'; Bruce> Comment that line out and everything appears to be fine (at least on Bruce> Solaris). Bruce> When did this get adde

Solaris packages

2004-11-05 Thread Jason Frank
After further testing, I've found some improvements to the script. Here's what's changed: 1. Change the make install command to use INSTALL_PREFIX instead of prefix and exec-prefix. My research shows that the intention of INSTALL_PREFIX is to allow package maintainers to install packages, and

RE: why does snmpwalk display a blank line after anything with a Hex- STRING?

2004-11-05 Thread Bruce Shaw
Bruce> It's a one-liner in mib.c. It effects everybody. Bruce> *(*buf + (*out_len)++) = '\n'; Bruce> Comment that line out and everything appears to be fine (at least on Bruce> Solaris). Bruce> When did this get added and why? Wes>revision 5.77 Wes>date: 2004/10/13 00:04:27; author: rstory;

writing agent

2004-11-05 Thread Andres C
Hello, I'm trying to write a simple master agent, based on the file example-demon.c. I'm using MVC++ 6 to compile the file in windows. I'm using it with an MIB file I created as a test. It only has an integer object. So in the code I called init_test(). I changed the agentx_subagent=0 to run it

Re: MinGW and Cygwin Patch

2004-11-05 Thread Andy Smith
Done, let 'er rip. Wes Hardaker wrote: On Fri, 05 Nov 2004 09:07:35 -0500, Andy Smith <[EMAIL PROTECTED]> said: Andy> The original patch has been modified to include Cygwin. The Andy> patch has been tested on MinGW, Cygwin, and Linux. If there are Andy> no objections I will commit this to CVS for

Re: why does snmpwalk display a blank line after anything with a Hex- STRING?

2004-11-05 Thread Wes Hardaker
> On Thu, 4 Nov 2004 11:39:23 -0700, Bruce Shaw <[EMAIL PROTECTED]> said: Bruce> Is this intentional? Wes> Um, no? It shouldn't be doing that. Bug. Bruce> Where should I start looking? snmplib/*.c Heh. That's not a helpful answer, but I'm in a rush... -- Wes Hardaker Sparta -