Re: Compiling Net-SNMP with TLS and DTLS Support

2021-02-28 Thread Craig Small
On Wed, 24 Feb 2021 at 01:59, Simon Chamlian wrote: > When these flags (--with-security-modules and --with-transports) are not > specified, what does snmpv3 uses by default? > The default set of security modules is defined in configure.d/config_modules_security_modules and is just usm. USM is th

Re: compiling net-snmp based sub-agent using C++ compiler(CC)

2011-01-24 Thread sujata patra
Thanks /MF . I hope , I have to provide extern 'c' linkage for the net-snmp header file inclusion. From: Magnus Fromreide To: sujata patra Cc: [email protected] Sent: Mon, January 24, 2011 1:45:37 PM Subject: Re: compiling net-

Re: compiling net-snmp based sub-agent using C++ compiler(CC)

2011-01-24 Thread Magnus Fromreide
On Sun, 2011-01-23 at 22:47 -0800, sujata patra wrote: > Hi, > > Is it possible to develop the sub-agent code using C++(CC) compiler? > mib2c generated code is a .c extention. I like to rename it to cpp and > likes to build using cpp compiler. Yes. /MF (who have such a sub-agent as well)

Re: Compiling NetSNMP 5.5 on HPUX 11.23/Itanium

2010-02-12 Thread Wes Hardaker
> On Wed, 27 Jan 2010 13:15:55 -0700, [email protected] said: n> system.c: In function 'get_myaddr': n> system.c:653: error: storage size of 'ifc' isn't known Hm.. You might need to grep in /usr/include files for 'ifconf' and see if you can locate where the structure is held. It *should* b

Re: Compiling NetSNMP on HPUX 11.0/RISC

2010-01-19 Thread Magnus Fromreide
On Tue, 2010-01-19 at 13:10 -0700, [email protected] wrote: > Hi Coders: > > I am running into a compile error I do not recognize (further below). > Any comments appreciated. My compile environment is: > > #uname -a > HP-UX cphpqa38 B.11.00 U 9000/800 136029688 unlimited-user license > > gc

Re: Compiling net-snmp

2009-03-23 Thread Anirudh Srinivasan
I downloaded the net-snmp tar file then , untared it and did ./configure . Next i did make and make install. Is that all i need to do ? But i dont see snmpd.conf file in /etc and also no snmp daemon. Please help me how to move futher . Thanks in adv On Mon, Mar 23, 2009 at 12:00 AM, Anirudh Srini

RE: Compiling net-snmp

2009-03-22 Thread sazid.mahammad
Hi Anirudh, For rpm installation if you are getting lots of dependency, you can go for yum installation, it'll download and install all the dependencies Yum install <> If you want to compile yourself, go through readme Thanks and regards, sazid From: Anirudh Srinivasan [mailto:

Re: compiling net-snmp-5.4.1.2 for HP-UX 11.11

2008-07-10 Thread Thomas Anders
Thompson, Nathan wrote: > I am having trouble compiling the code on HP-UX. > Can someone guide me on how to compile this on HP-UX so I can create a > new snmptrapd executable with the above change? Would you mind sharing the details of your build problems with us to enable us to actually help

Re: compiling pgsnmpd-1.0

2007-11-23 Thread Dave Shield
On 23/11/2007, riadh ben romdhane <[EMAIL PROTECTED]> wrote: > I want to use the pgsnmpd for postgresql server to monitor it, i download it > from http://pgfoundry.org/projects/pgsnmpd > > but I can't install this package, can you help me It would probably be more sensible to ask the pgsnmpd devel

Re: Compiling MFD subagent produces "row_merge" and "lmSensors" errors

2007-07-16 Thread Need Help
Executing " /export/home/rosent1/snmp/usr/local/bin/net-snmp-config --agent-libs" does show me the correct library path now. Executing "which net-snmp-config" did return the incorrect net-snmp-config. I believe due to me playing around with NetSNMP and having it installed it in a few differe

Re: Compiling MFD subagent produces "row_merge" and "lmSensors" errors

2007-07-16 Thread Dave Shield
On 16/07/07, Need Help <[EMAIL PROTECTED]> wrote: > Here is the output of the "net-snmp-config --base-cflags" command: > > -g -O2 -Ulinux -Dlinux=linux -I/usr/include/rpm -I/usr/local/include > > > Here is the output of the "net-snmp-config --agent-libs" command: > > -L/usr/local/lib -lnetsnmpmibs

Re: Compiling MFD subagent produces "row_merge" and "lmSensors" errors

2007-07-16 Thread Need Help
I am compiling the subagent by issuing the "make -f ocStbHostMib_subagent_Makefile" command. Here is the "ocStbHostMib_subagent_Makefile" file contents: CC=gcc TABLE_01_PREFIX=ocStbHostAVInterfaceTable/ocStbHostAVInterfaceTable TABLE_02_PREFIX=ocStbHostAnalogVideoTable/ocStbHostAnalogVideoTable

RE: Compiling MFD subagent produces "row_merge" and "lmSensors" errors

2007-07-16 Thread ramani.ganth
Electronics City, Hosur Main Rd, Bangalore - 560 100. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Monday, July 16, 2007 3:02 PM To: Need Help Cc: [email protected] Subject: Re: Compiling MFD subagent produces

Re: Compiling MFD subagent produces "row_merge" and "lmSensors" errors

2007-07-16 Thread Dave Shield
On 12/07/07, Need Help <[EMAIL PROTECTED]> wrote: > Does this mean that the subagent only looks for library files in the > "/usr/local/lib" directory or is there a way to inform the subagent code to > compile using the library files located in the > "/export/home/rosent1/snmp/usr/local/lib/" direct

Re: Compiling MFD subagent produces "row_merge" and "lmSensors" errors

2007-07-12 Thread Need Help
I noticed the following: a) when the subagent is being compiled, it will look for the library files in the "/usr/local/lib" directory instead of the "/export/home/rosent1/snmp/usr/local/lib" directory where the library files were created. Basically, I must copy the library files into the "/u

Re: Compiling MFD subagent produces "row_merge" and "lmSensors" errors

2007-07-12 Thread Need Help
As for (2) below, I realized I recently deleted all the library files from the "/usr/local/lib/" directory from existing since I thought they were not being used since the library files which should be used by the subagent were the files located in the "/export/home/rosent1/snmp/usr/local/lib/"

Re: Compiling MFD subagent produces "row_merge" and "lmSensors" errors

2007-07-12 Thread Need Help
1) What do you mean by "You can copy the prototypes from the appropriate headers, if you want to eliminate the warning". What do I copy from where? Do you mean to simply add the #include files to the subagent.c file? 2) The following library files are located in the "/export/home/rosent1/snm

Re: Compiling MFD subagent produces "row_merge" and "lmSensors" errors

2007-07-12 Thread Robert Story
On Thu, 12 Jul 2007 08:28:25 -0700 (PDT) Need wrote: NH> gcc -I. `net-snmp-config --base-cflags` -Wall -Wstrict-prototypes -c -o ocStbHostMib_subagent.o ocStbHostMib_subagent.c NH> ocStbHostMib_subagent.c: In function `main': NH> ocStbHostMib_subagent.c:76: warning: implicit declaration of funct

FIGURED IT OUT: (Re: Compiling a subagent and two tables causing me problems)

2007-06-19 Thread Need Help
Figure it out finally, it seems I needed to add an "include path" -I option to the makefile. Need Help <[EMAIL PROTECTED]> wrote: Perhaps the problem is with the Makefile I am using? Here it is in case someone can find something wrong with it: CC=gcc TABLE_01_PREFIX=ocStbHostAVInterfa

Re: Compiling a subagent and two tables causing me problems

2007-06-18 Thread Need Help
Correction in BOLD below The following files exist (there are more files, but these are the important ones): mibgroup/OC-STB-HOST-MIB/ocStbHostMib_subagent.c mibgroup/OC-STB-HOST-MIB/ocStbHostMib_subagent_Makefile mibgroup/OC-STB-HOST-MIB/ocStbHostAVInterfaceTable/ocStbHostAVInterfaceTable.c m

Re: Compiling a subagent and two tables causing me problems

2007-06-18 Thread Need Help
Perhaps the problem is with the Makefile I am using? Here it is in case someone can find something wrong with it: CC=gcc TABLE_01_PREFIX=ocStbHostAVInterfaceTable/ocStbHostAVInterfaceTable TABLE_02_PREFIX=ocStbHostAnalogVideoTable/ocStbHostAnalogVideoTable NETSNMPCONFIG=net-snmp-config

Re: Compiling Net-SNMP on Intel based Mac - OSX 10.4.7

2006-11-30 Thread Thomas Anders
Antonio L. Leding wrote: > I am wondering if anyone out there has compiled Net-SNMP for an Intel based > Mac running OSX 10.4.x? If not, could anyone point me in the right > direction for a How-To or a tutorial on how to generally compile and then I > can try to figure it out for this machine? Pl

RE: compiling Net-SNMP for powerpc_405 target machine

2005-08-03 Thread Giulianelli, Danilo (Danilo)
Sam,   The important thing is that you must set the --host option to "ppc-ibm-linux"  and precede the configure call with CC=ppc_405-gcc (note the capital letters). Anyway here's the makefile I'm using to cross compile net-snmp on my ppc_405 board:   # CFLAGS

Re: compiling module; conflicting function names

2005-06-14 Thread Robert Story
On Tue, 14 Jun 2005 09:38:43 +0100 Dave wrote: DS> On Mon, 2005-06-13 at 21:05, Magnus Fromreide wrote: DS> > On Mon, Jun 13, 2005 at 03:54:14PM +0100, Dave Shield wrote: DS> > > I've just committed a patch to the main development tree, DS> > > that renames the offending routine in the Net-SNMP sou

Re: compiling module; conflicting function names

2005-06-14 Thread Magnus Fromreide
On Tue, Jun 14, 2005 at 09:38:43AM +0100, Dave Shield wrote: > On Mon, 2005-06-13 at 21:05, Magnus Fromreide wrote: > > On Mon, Jun 13, 2005 at 03:54:14PM +0100, Dave Shield wrote: > > > I've just committed a patch to the main development tree, > > > that renames the offending routine in the Net-SN

Re: compiling module; conflicting function names

2005-06-14 Thread Dave Shield
On Mon, 2005-06-13 at 21:05, Magnus Fromreide wrote: > On Mon, Jun 13, 2005 at 03:54:14PM +0100, Dave Shield wrote: > > I've just committed a patch to the main development tree, > > that renames the offending routine in the Net-SNMP source, > > while leaving an (optional) compatability wrapper. >

Re: compiling module; conflicting function names

2005-06-13 Thread Magnus Fromreide
On Mon, Jun 13, 2005 at 03:54:14PM +0100, Dave Shield wrote: > On Tue, 2005-05-31 at 18:31, Matthew Boehm wrote: > > > Renaming asterisk's function is out of the question, as is renaming > > snmpd's. How does one overcome this? > > I've just committed a patch to the main development tree, > that

Re: compiling module; conflicting function names

2005-06-13 Thread Dave Shield
On Tue, 2005-05-31 at 18:31, Matthew Boehm wrote: > Hi all. I am one of many side programmers for Asterisk, the open source > PBX. (www.asterisk.org) > I'm trying to bring this [SNMP] module up to date with our current version. > Asterisk supports lodable/unloadable modules. > But is seems to m

Re: compiling problem in upgrading from ucd-snmp to net-snmp

2005-06-09 Thread Shufen Zhang
Hi  Wes,   Thanks so very much for your response and it works well!   The Makefile generated is to produce a file that can be run as a daemon, the snmpd. My question now is how to make modifications to the Makefile to produce an object library, like an *.o file so that it will be linked to the pr

Re: compiling problem in upgrading from ucd-snmp to net-snmp

2005-06-08 Thread Wes Hardaker
> On Mon, 6 Jun 2005 19:06:56 -0700 (PDT), Shufen Zhang <[EMAIL PROTECTED]> > said: Shufen> My question is that in the current ucd-snmp compiling, a Shufen> directory objdir was created under the root snmp directory and Shufen> all the object files went to here. How can I do the same thin

Re: compiling module; conflicting function names

2005-06-03 Thread Robert Story
On Fri, 3 Jun 2005 09:26:58 -0500 Matthew wrote: MB> Well, I'd like to be able to remove parse.h but one of these: MB> MB> #include MB> #include MB> #include MB> MB> I tried to remove each of these headers one by one to see if I didn't need MB> one of them but it seems I do. The last 2 are he

Re: compiling module; conflicting function names

2005-06-03 Thread Tom Flavel
On 03/06/2005 09:26:58, Matthew Boehm wrote: > Robert Story wrote: > > > You have two options: > > > > 1) trim down header files in files that hit the conflict (ie don't > > include the net-snmp parse.h) > > > > 2) patch net-snmp to rename the function. It's only used in one > > files, so it shoul

Re: compiling module; conflicting function names

2005-06-03 Thread Matthew Boehm
Robert Story wrote: > You have two options: > > 1) trim down header files in files that hit the conflict (ie don't > include the net-snmp parse.h) > > 2) patch net-snmp to rename the function. It's only used in one > files, so it should be a simple fix. Well, I'd like to be able to remove parse.h

Re: compiling module; conflicting function names

2005-06-01 Thread Robert Story
On Tue, 31 May 2005 12:31:52 -0500 Matthew wrote: MB> I'm trying to bring this module up to date with our current version. MB> Asterisk supports lodable/unloadable modules. This SNMP module can be MB> loaded/unloaded at the will of the PBX admin. MB> MB> That module is compiled against some NET-SN

Re: Compiling Error of shared lib

2005-05-24 Thread Wes Hardaker
> On Tue, 24 May 2005 17:49:20 +0800, "Paul Chen (QD/LJC)" <[EMAIL > PROTECTED]> said: Paul> The version of the ucd-snmp is 4.2.3, and gcc version Paul> egcs-2.91.66 19990314/Linux (egcs-1.1.2 release) . I'd bet if you used a new version of net-snmp you'd find that it's configure script

Re: Compiling Net-SNMP with Mingw based Bloodshed Dev-C++?

2005-05-18 Thread Alex Burger
Hi Ekkehard. Ekkehard Domning wrote: -MinGW with MSYS using configure I will check this. I would like to use Bloodshed, because is has an IDE etc. Meanwhile I solved the problem from my first post, but found new problems :-( To solve the problem > 1540 D:\Misc\net-snmp-5.2.1\win32\net-snmp\net-s

Re: Compiling Net-SNMP with Mingw based Bloodshed Dev-C++?

2005-05-17 Thread Ekkehard Domning
Hello Alex, sorry for thne late answer, but I was very busy in different task last weeks. Date: Tue, 03 May 2005 12:16:22 -0400 From: Alex Burger <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] CC: [email protected] Subject: Re: Compiling Net-SNMP with Mingw based Bloodshed

Re: compiling 5.2.1 for an older system

2005-05-04 Thread Bert Driehuis
On Tue, 3 May 2005, Ben Z wrote: I'm relatively new at this kind of development, but here's my question. I am compiling the daemon (5.2.1) on a FreeBSD 5.3 box, and the target is an embedded 4.9 system. I use all the "configure" options (supposedly) to make this work but I keep getting version

Re: Compiling Net-SNMP with Mingw based Bloodshed Dev-C++?

2005-05-03 Thread Alex Burger
Ekkehard Domning wrote: Hello, while I was able to compile net-snmp with M$C and cygwin, I had no success with compiling with Mingw based Bloodshed Dev-C++. The compiler stops in net-snmp-config.h (Line 1540) 1540 D:\Misc\net-snmp-5.2.1\win32\net-snmp\net-snmp-config.h syntax error before "uint32

RE: Compiling Net-SNMP with Mingw based Bloodshed Dev-C++?

2005-05-03 Thread Penz, Bernhard
Hi, The error message would have helped, but I guess that your compiler does not define the Win32 types. In your case, it is the line "typedef unsigned __int32 uint32_t" it complains about. My guess is that the microsoft type __int32 is not defined. Bernhard > -Original Message- > From:

Re: Compiling(mib2c) mib with scalars and table

2005-04-13 Thread Robert Story
On Tue, 12 Apr 2005 12:34:32 -0700 Toth, wrote: TGS> When we run mib2c it appears we need to specify a configuration file TGS> depending on our need. TGS> TGS> Running "mib2c -c mib2c.scalar.conf ourModule" generates ourModule.c, TGS> ourModule.h that supports the scalar values. TGS> TGS> Runnin

Re: Compiling(mib2c) mib with scalars and table

2005-04-13 Thread Dave Shield
On Tue, 2005-04-12 at 20:34, Toth, Gregory S wrote: > We have a mib that contains both scalars and table values. We wish > to implement a mib module for our agent to support this mib. Fair enough. If there are a large number of scalar variables, we've found it more maintainable to implement these

Re: Compiling with MinGW & Cygwin

2005-04-10 Thread Andy Smith
Alex Burger wrote: Hi Andy. Andy Smith wrote: Could you please make the change below to net-snmp-config.h.in? It might be best to wrap it in an #ifdef WIN32 or #ifdef mingw32. It's in. I checked for mingw32 as it is not needed for Cygwin, and MSVC doesn't use the file. Thanks Alex! I am working

Re: Compiling with MinGW & Cygwin

2005-04-08 Thread Alex Burger
Hi Andy. Andy Smith wrote: Could you please make the change below to net-snmp-config.h.in? It might be best to wrap it in an #ifdef WIN32 or #ifdef mingw32. It's in. I checked for mingw32 as it is not needed for Cygwin, and MSVC doesn't use the file. Alex Andy Alex Burger wrote: Hi Andy. When c

Re: Compiling with MinGW & Cygwin

2005-04-08 Thread Andy Smith
Could you please make the change below to net-snmp-config.h.in? It might be best to wrap it in an #ifdef WIN32 or #ifdef mingw32. Andy Alex Burger wrote: Hi Andy. When compiling main under MinGW, it stops with: table_dataset.c: In function `netsnmp_config_parse_table_set': table_dataset.c:832: ca

Re: Compiling net-snmp 5.2.1 under AIX 5.3 ML1

2005-04-07 Thread Robert Story
On Thu, 7 Apr 2005 10:42:55 -0600 Philip wrote: PG> And with your further verbiage/research you did - I tend to agree, it is PG> almost certain that IF-MIBS is only supported/ported under Linux. Sorry for the late response.. Dave is right, it is Linux only. If you'd like to work on the AIX port, I

RE: Compiling net-snmp 5.2.1 under AIX 5.3 ML1

2005-04-07 Thread Philip Greer
inal Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Thursday, April 07, 2005 10:29 AM To: Philip Greer Cc: [email protected]; Tom Holton; [EMAIL PROTECTED] Subject: RE: Compiling net-snmp 5.2.1 under AIX 5.3 ML1 On Thu, 2005-04-07 at 17:17, Philip Greer wrote:

RE: Compiling net-snmp 5.2.1 under AIX 5.3 ML1

2005-04-07 Thread Dave Shield
On Thu, 2005-04-07 at 17:17, Philip Greer wrote: > H might be. But - what I am seeing is that those symbols > are present within the libraries (for the most part) that are > created during the compile. Doing a strings on the library > ./.libs/libnetsnmpmibs.a and grepping for the functions

RE: Compiling net-snmp 5.2.1 under AIX 5.3 ML1

2005-04-07 Thread Philip Greer
18 CELL: 303-668-3391 FAX: 303-841-4392 http://www.paragonsg.com IBM Certified Advanced Technical Expert -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Thursday, April 07, 2005 8:01 AM To: Philip Greer Cc: [email protected]; Tom Holton; [EMAIL PROTECTED] Su

RE: Compiling net-snmp 5.2.1 under AIX 5.3 ML1

2005-04-07 Thread Dave Shield
On Thu, 2005-04-07 at 14:39, Philip Greer wrote: > No go on the manual compile working with dual entries of the libs. Any other > thoughts? > ./.libs/libnetsnmpmibs.a(interface_common.o): In function > `netsnmp_access_interface_init': > if-mib/data_access/interface_common.c:80: undefined referen

RE: Compiling net-snmp 5.2.1 under AIX 5.3 ML1

2005-04-07 Thread Philip Greer
Technical Expert -Original Message- From: Wes Hardaker [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 05, 2005 11:42 AM To: Philip Greer Cc: [email protected]; Tom Holton; [EMAIL PROTECTED] Subject: Re: Compiling net-snmp 5.2.1 under AIX 5.3 ML1 >>>>

Re: Compiling with MinGW & Cygwin

2005-04-05 Thread Andy Smith
Alex Burger wrote: Hi Andy. When compiling main under MinGW, it stops with: table_dataset.c: In function `netsnmp_config_parse_table_set': table_dataset.c:832: called object is not a function make[2]: *** [table_dataset.lo] Error 1 make[2]: Leaving directory `/work/agent/helpers' I have a workaroun

Re: Compiling net-snmp 5.2.1 under AIX 5.3 ML1

2005-04-05 Thread Wes Hardaker
> On Thu, 31 Mar 2005 15:40:53 -0700, "Philip Greer" <[EMAIL PROTECTED]> > said: Philip> gcc -g -O2 -Daix5 -o snmpd snmpd.o ./.libs/libnetsnmpmibs.a Philip> ./.libs/libnetsnmpa gent.a helpers/.libs/libnetsnmphelpers.a Philip> ../snmplib/.libs/libnetsnmp.a -ldl -lm -lperfstat Philip> ./.li

Re: compiling demo app

2004-11-11 Thread Robert Story
On Fri, 05 Nov 2004 12:00:43 -0500 Andres wrote: > 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 inclu

Re: Compiling

2004-10-12 Thread Alex Burger
Hi Mike. Alex Burger wrote: [EMAIL PROTECTED] wrote: Have you been able to compile the latest cvs on Windows? I need to review Robert's changes still. Hi, Alex. The MinGW method works "as is". For building with the Perl Configure or with the MSVC GUI, I've found good results when I overlay/add t

Re: Compiling

2004-10-12 Thread Alex Burger
[EMAIL PROTECTED] wrote: Have you been able to compile the latest cvs on Windows? I need to review Robert's changes still. Hi, Alex. The MinGW method works "as is". For building with the Perl Configure or with the MSVC GUI, I've found good results when I overlay/add these files to the net-snmp/wi

Re: Re: Compiling

2004-10-12 Thread slif
> > From: <[EMAIL PROTECTED]> > Date: 2004/10/12 Tue AM 01:46:34 EDT > > > From: Alex Burger > > Date: 2004/10/11 Mon PM 04:28:54 EDT > > To: <[EMAIL PROTECTED]> > > Subject: Compiling > > > > Hi Mike. > > > > Have you been able to compile the latest cvs on Windows? I need to review > > Rober

Re: Compiling

2004-10-11 Thread slif
> > From: Alex Burger > Date: 2004/10/11 Mon PM 04:28:54 EDT > To: <[EMAIL PROTECTED]> > Subject: Compiling > > Hi Mike. > > Have you been able to compile the latest cvs on Windows? I need to review Robert's > changes still. > Hi, Alex. The MinGW method works "as is". For building with the