Using "--disable-shared" results in library files not being produced

2007-07-11 Thread Need Help
My progress has slowly taken a few backwards steps. Trying to compile the NetSNMPv5.4 package on my PC (to verify it works), I can issue the "./configure"(see below), "make" and "make install" command. As a result, the "/export/home/rosent1/snmp/usr/local" directory is populated with a bunch o

Re: NOTIFICATION-LOG-MIB status

2007-07-11 Thread Emi . Yanagi
Okay, I looked into notification_log.c code a little bit more and found nlmlogVariableTable is kind of implemented in 5.3.1, see the function log_notification(). But the problem is that it doesn't populate anything. The following is an example when nlmLogTable logged one notification, however, noth

RE: "Make clean" does not remove ".o" and ".lo" files from"../agent/mibgroup" locations

2007-07-11 Thread Bruce Shaw
>What does "rc2" mean? Release candidate #2. If nothing is found to be broken, it becomes the "official" net-snmp 5.4.1, otherwise we to go to rc3 and try again. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom t

Re: "Make clean" does not remove ".o" and ".lo" files from "../agent/mibgroup" locations

2007-07-11 Thread Thomas Anders
Need Help wrote: > What does "rc2" mean? Perhaps since the 5.4.1 is not a supported release > yet, then the "rc2" means that is will become a supported release (ex: v5.5) > soon? Release Candidate 2. See http://www.net-snmp.org/dev/schedule.html for the schedule towards the upcoming 5.4.1 relea

Re: "Make clean" does not remove ".o" and ".lo" files from "../agent/mibgroup" locations

2007-07-11 Thread Need Help
Excellent news. What does "rc2" mean? Perhaps since the 5.4.1 is not a supported release yet, then the "rc2" means that is will become a supported release (ex: v5.5) soon? Thomas Anders <[EMAIL PROTECTED]> wrote: Need Help wrote: > Based on David's response, it is clear why the ".o" and ".lo"

What data should I have present for "snmpd" to wok properly?

2007-07-11 Thread Need Help
After performing the required "./configure", "make", "make install" commands, a snmpd executable was created. I want our hardware box to execute this snmpd executable upon bringup so the snmpd master agent can start. I am planning on moving the snmpd executable into the box environment and

NOTIFICATION-LOG-MIB status

2007-07-11 Thread Emi . Yanagi
Dear net-snmp-coders, It seems NOTIFICATION-LOG-MIB in 5.3.1 is only partially implemented. That is, only nlmLogTime and nlmLogDateAndTime are supported. The rest of nlmLogTable objects as well as other tables: nlmConfigLogTable nlmStatsLogTable nlmLogVariableTable are not implemente

Re: Extend the agent with a c file using a shared library

2007-07-11 Thread Thomas Anders
Thomas Anders wrote: > If the library isn't in a standard location, add > --with-ldflags=/path/to/dir . Oops, rather: --with-ldflags=-L/path/to/dir +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) - This SF.net e

Re: Extend the agent with a c file using a shared library

2007-07-11 Thread Thomas Anders
BAUDRY Charles wrote: > I saw on this link > http://sourceforge.net/mailarchive/message.php?msg_id=sdk5vr6yud.fsf%40wes.hardakers.net > > that we can not use shared library... So I tried with a static library

Re: Extend the agent with a c file using a shared library

2007-07-11 Thread BAUDRY Charles
Hello Thomas, thanks for your answer. I saw on this link http://sourceforge.net/mailarchive/message.php?msg_id=sdk5vr6yud.fsf%40wes.hardakers.net that we can not use shared library... So I tried with a static library your option --with-libs="-llibrary" but it doesn't find the file and stop the con

Re: how to purify net-snmp code

2007-07-11 Thread Robert Story
On Thu, 12 Apr 2007 18:36:36 +0530 Devi wrote: DU> 1. while using send_v2trap() api - memory size increased by 40K for each trap sent till it reaches 47 or 48 MB and no increase after that. This is the agent keeping data for the notifiction log mib. -

Re: Callback to indicate up and running

2007-07-11 Thread Robert Story
On Thu, 12 Apr 2007 08:49:07 -0400 Passera wrote: PPA>Is there a callback function that is called to indicate that the PPA> agent is up and running? No, but you could sort of fake it by registering the send trap callback and watching for the cold start trap...

Re: "Make clean" does not remove ".o" and ".lo" files from "../agent/mibgroup" locations

2007-07-11 Thread Thomas Anders
Need Help wrote: > Based on David's response, it is clear why the ".o" and ".lo" files are > not being removed when a "make clean" is issued, however, the reason why > the "../agent/mibgroup/Makefile" file does not actually define OBJS, > LOBJS and SRCS has not been determined. > > I was hoping s

Re: about delegated request

2007-07-11 Thread Robert Story
On Tue, 10 Jul 2007 17:33:57 +0800 zhangyao wrote: Z> netsnmp_handle_request(netsnmp_agent_session *asp, int status) Z> /* Z> * if this isn't a delegated request trying to finish, Z> * processing of a set request should not start until all Z> * delegated requests have completed,

Re: Extend the agent with a c file using a shared library

2007-07-11 Thread Thomas Anders
BAUDRY Charles wrote: > I'm using Net-SNMP 5.1.9 on a PowerPC system. I would like to extend the > agent with a C file which uses some functions included in a shared > library. The thing is I don't know how to compile Net-SNMP including > this library. > I tried with --enable-shared="library.so" bu

"Make clean" does not remove ".o" and ".lo" files from "../agent/mibgroup" locations

2007-07-11 Thread Need Help
Based on David's response, it is clear why the ".o" and ".lo" files are not being removed when a "make clean" is issued, however, the reason why the "../agent/mibgroup/Makefile" file does not actually define OBJS, LOBJS and SRCS has not been determined. I was hoping someone might be able to s

Extend the agent with a c file using a shared library

2007-07-11 Thread BAUDRY Charles
Hello, I'm using Net-SNMP 5.1.9 on a PowerPC system. I would like to extend the agent with a C file which uses some functions included in a shared library. The thing is I don't know how to compile Net-SNMP including this library. I tried with --enable-shared="library.so" but it doesn't appear to