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

Compiling Net-SNMP with TLS and DTLS Support

2021-02-23 Thread Simon Chamlian
Hi, Compiling Net-SNMP with TLS and DTLS Support Just ensure you have a recent version of OpenSSL <http://net-snmp.sourceforge.net/wiki/index.php/OpenSSL> installed as well as run configure with the following two options in addition to your normal options: # ./configure *--with-security-m

Re: Cross Compiling Windows --> ARM Linux

2018-01-15 Thread Bart Van Assche
On 01/15/18 01:20, Matteo wrote: Hi, actually I'm trying to run the simple demon app, cross compiling for ARM (embedded) Linux. I would compile on Windows, and run all the code on linux for arm. There is any guide to how to install or copy libraries on windows? There is any specific mak

Cross Compiling Windows --> ARM Linux

2018-01-15 Thread Matteo
Hi, actually I'm trying to run the simple demon app, cross compiling for ARM (embedded) Linux. I would compile on Windows, and run all the code on linux for arm. There is any guide to how to install or copy libraries on windows? There is any specific makefile? I'm using arm-none-lin

Re: Problem with compiling mib objects with subagent

2012-05-15 Thread Robert Story
On Tue, 15 May 2012 11:33:13 +0530 Jasti wrote: JD> Whenever I restart or shutdown my system all my configurations like JD> compiling mib objects with subagent are erased...am not getting where the JD> problem occurred pls can anyone help regarding this? This doesn't seem to make se

Problem with compiling mib objects with subagent

2012-05-14 Thread Jasti Durgashree
Whenever I restart or shutdown my system all my configurations like compiling mib objects with subagent are erased...am not getting where the problem occurred pls can anyone help regarding this? -- Live Security Virtual

Re: Error when compiling mib2c generated code.

2012-01-11 Thread Dave Shield
On 11 January 2012 10:38, wrote: >>make -f dot1qVlanStaticTable_Makefile >>Have you tried this approach? > > Yes, I have already tried this approach also. > They give another set of errors. > [root@localhost vlan]# make -f dot1qVlanStaticTable_Makefile > gcc -I. `net-snmp-config --base-cflags` -

RE: Error when compiling mib2c generated code.

2012-01-11 Thread basil.joseph
Hi, Dave, thanks for the reply. > mib2c -c mib2c.mfd.conf dot1qVlanStaticTable > mib2c -c mfd-makefile.m2m dot1qVlanStaticTable > mib2c -c subagent-m2c dot1qVlanStaticTable >and then compiles the subagent using >make -f dot1qVlanStaticTable_Makefile >Have you tried th

Re: Error when compiling mib2c generated code.

2012-01-11 Thread Dave Shield
ib2c -c mib2c.mfd.conf dot1qVlanStaticTable > [root@localhost vlan]# net-snmp-config --compile-subagent vlan --norm > dot1qVlanStaticTable.c But that is only compiling *one* of the code files generated by mib2c. I'm no expert on the MfD framework, but checking the tutorial, it uses three i

Error when compiling mib2c generated code.

2012-01-06 Thread basil.joseph
t later. Can you tell me what went wrong? ===== There is one more thing I want to ask. Entirely different scenario. When compiling net-snmp it creates so many libraries. If I want only some specific libraries, say libnetsnmp.la and libnetsnmp.a; how will I suppress

Re: Problem with cross-compiling net-snmp package 5.6.1.1

2011-12-13 Thread Bill Fenner
droot, just that I've seen various references to it when looking for other info on cross-compiling.) -- Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and impro

Re: Problem with cross-compiling net-snmp package 5.6.1.1

2011-12-09 Thread Bill Fenner
droot, just that I've seen various references to it when looking for other info on cross-compiling.) -- Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, che

Re: Require guide lines for cross-compiling net-snmp package

2011-12-09 Thread Garrett Cooper
t;> Now i require your support for  cross compiling net-snmp package with >> version: 5.6.1.1 to our target device. >> >> Target Device Platform Details >> >> Embedded H/W with Linux OS (AT91SAM9260-EK board) >> >> Kernel Version : 2.6.27 >>

Re: Require guide lines for cross-compiling net-snmp package

2011-12-09 Thread Garrett Cooper
On Fri, Dec 9, 2011 at 1:26 AM, prashant n wrote: > Hi Dave, >              Thanks for your valuable feedback, due to your great support i > am able to send the traps as per our application requirements. > > Now i require your support for  cross compiling net-snmp package with >

Require guide lines for cross-compiling net-snmp package

2011-12-09 Thread prashant n
Hi Dave, *Thanks for your valuable feedback, due to your great support i am able to send the traps as per our application requirements.* * * Now i require your support for cross compiling net-snmp package with version: 5.6.1.1 to our target device. * Target Device Platform Details

Re: setting configure options such as --host, --build and --target while cross-compiling

2011-12-08 Thread Magnus Fromreide
ystem, run it and then adds the option --host= to the configure line. Do not add any of --build and --target as the first one is automatically determined and the second one is irrelevant. > 2) Configure options such as --host, --build and --target are used for > cross compiling. Wheth

setting configure options such as --host, --build and --target while cross-compiling

2011-12-08 Thread prashant n
lease suggest me on following things* * * 1) What is the actual difference between configure options such as --host and --build ? 2) Configure options such as --host, --build and --target are used for cross compiling. Whether we need to specify processor/controller type for each of these options?

Re: Error while cross compiling net-snmp package

2011-12-07 Thread Michael Steiger
s="SNMPv2-MIB:IF-__MIB:IP-MIB:TCP-MIB:UDP-MIB" > --with-mib-modules="agentx agentx/master" > > > **1) What are all parameters i need to pass to ./configure in order to > cross compile ? At least host, target and build >2) Can you tell me the loca

Re: Error while cross compiling net-snmp package

2011-12-07 Thread Michael Steiger
On 07.12.2011 11:38 prashant n said the following: > Hi, > I wanted to cross compile net-snmp package 5.6.1.1 into our target > device. > > Target Device Platform Details > Embedded H/W withLinux OS (AT91SAM9260-EK board) > > 1. > Kernel Version : 2.6.27 > > 2. > Busy Box Versio

Error while cross compiling net-snmp package

2011-12-07 Thread prashant n
Hi, I wanted to cross compile net-snmp package 5.6.1.1 into our target device. Target Device Platform Details Embedded H/W with Linux OS (AT91SAM9260-EK board) 1. Kernel Version : 2.6.27 2. Busy Box Version: v1.12.0 3. Pre-built Linux OS with file system, ARM9 CPU 4.

Re: Problem with Compiling SNMP agent with MIB module

2011-11-08 Thread devendra.aaru
On Tue, Nov 8, 2011 at 9:55 AM, prashant nirni wrote: > Hi, > I already installed net-snmp package with version:5.6.1.1 > And i started compiling snmp agent with nstAgentModuleObject MIB > module , referring net-snmp tutorial section. > > Steps I followed: > Run

Problem with Compiling SNMP agent with MIB module

2011-11-08 Thread prashant nirni
Hi, I already installed net-snmp package with version:5.6.1.1 And i started compiling snmp agent with nstAgentModuleObject MIB module , referring net-snmp tutorial section. Steps I followed: Run following commnds on unix prompt 1) ./configure --with-mib-modules="nstAgentModuleO

Problem with Compiling SNMP agent with scalar MIB module

2011-11-07 Thread prashant n
Hi, I already installed net-snmp package with version:5.6.1.1 And i started compiling snmp agent with nstAgentModuleObject MIB module ,referring net-snmp tutorial section. Steps I followed: Run following commnds on unix prompt 1) ./configure --with-mib-modules="nstAgentModuleObjec

Re: Issue compiling with cache handler

2011-10-03 Thread Rodrigo Hjort
It seems the code automagically generated by *mib2c* was considering those inexistent functions *netsnmp_cache_free()* and * netsnmp_table_registration_info_free()*. I created another file using an updated mib2c conf (see http://gist.github.com/1259707) and those functions were not present. Howev

Re: Issue compiling with cache handler

2011-10-01 Thread Magnus Fromreide
On Fri, 2011-09-30 at 08:33 -0400, Rodrigo Hjort wrote: > Hello Magnus, > > Actually I'm using the Debian package libsnmp-dev (v5.4.2.1), and > here's the requested instruction: If that is the case then it isn't that but then I am quite confused as it builds for me using libsnmp-dev 5.4.3~dfsg-2.

Re: Issue compiling with cache handler

2011-09-30 Thread Rodrigo Hjort
Hello Magnus, Actually I'm using the Debian package *libsnmp-dev* (v5.4.2.1), and here's the requested instruction: *$ net-snmp-config --configure-options* '--build=i486-linux-gnu' '--includedir=/usr/include' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--localstatedir=/var' '--libexec

Re: Issue compiling with cache handler

2011-09-30 Thread Magnus Fromreide
On Thu, 2011-09-29 at 23:52 -0400, Rodrigo Hjort wrote: > Hello coders, > > I'm trying to compile a custom SNMP subagent with caching > capabilities, but I'm facing this issue: > > rodrigo@zangaro:~/cache$ make > gcc -I. `net-snmp-config --cflags` -c -o example-demon.o > example-demon.c > gcc -I.

Issue compiling with cache handler

2011-09-29 Thread Rodrigo Hjort
Hello coders, I'm trying to compile a custom SNMP subagent with caching capabilities, but I'm facing this issue: rodrigo@zangaro:~/cache$ *make* gcc -I. `net-snmp-config --cflags` -c -o example-demon.o example-demon.c gcc -I. `net-snmp-config --cflags` -c -o pgstatDatabaseTable.o pgstatDatabaseTa

Compiling NetSNMP for x64 Windows

2011-04-11 Thread Markus Gaugusch
y have done the effort of compiling it for x64. I just couldn't find any info in the README.win32 file or in the Makefiles. (I'm not yet 100% familiar with the build system, I've used build.pl up to now). Th

RE: Compilation/Link error while compiling net-snmp5.6.1 on Solaris

2011-04-04 Thread Singh, Vinay
/Link error while compiling net-snmp5.6.1 on Solaris On Mon, Apr 04, 2011 at 11:35:08AM -0700, Singh, Vinay wrote: > I am trying to compile net-snmp 5.6.1 source code on Solaris 10 by > following instruction in README.solaris There are many instructions in there :-( What exactly did you do?

Re: Compilation/Link error while compiling net-snmp5.6.1 on Solaris

2011-04-04 Thread Niels Baggesen
On Mon, Apr 04, 2011 at 11:35:08AM -0700, Singh, Vinay wrote: > I am trying to compile net-snmp 5.6.1 source code on Solaris 10 by > following instruction in README.solaris There are many instructions in there :-( What exactly did you do? > I am getting following error: > > libtool: link: (cd ".

Compilation/Link error while compiling net-snmp5.6.1 on Solaris

2011-04-04 Thread Singh, Vinay
I am trying to compile net-snmp 5.6.1 source code on Solaris 10 by following instruction in README.solaris I am getting following error: libtool: link: (cd ".libs" && rm -f "libnetsnmp.so.25" && ln -s "libnetsnmp.so.25.0.1" "libnetsnmp.so.25") libtool: link: (cd ".libs" && rm -f "libnetsnmp.s

Re: Cross compiling for PPC: 5.4.3 OK but 5.5, 5.6.1 segfault in ld.so

2011-01-31 Thread Wes Hardaker
> On Thu, 27 Jan 2011 01:31:24 +0200, Eran Duchan said: ED> What can cause ld.so to segfault loading 5.5 and 5.6.1? All snmpd binaries ED> (5.4.3, 5.5 and 5.6.1) compile to roughly the same size +/- 50K, their ELF ED> headers seem the same as do their dependencies. If I was to guess I'd poin

Cross compiling for PPC: 5.4.3 OK but 5.5, 5.6.1 segfault in ld.so

2011-01-26 Thread Eran Duchan
Hi I am using the ELDK for a PowerPC 875 board. The ELDK has a net-snmp RPM (5.4ish) which I successfully recompiled and deployed (with authPriv). I then tried to compile 5.6.1 from source (using the ELDK and 'static') but the generated snmpd segfaults even before reaching main (gdb shows it dies

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: net-snmp-coders@lists.sourceforge.net 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)

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

2011-01-23 Thread sujata patra
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. I need to do that as there are many files which are alredy in CPP and will be the part of sub-agent code. Pleas

Re: Problem with compiling simple application on FreeBSD 7.2

2010-05-12 Thread Tomas Macek
May 2010, Alexander Shikoff wrote: > Hello, > I started to learn C API of net-snmp package, and I have a problem with > compiling simple application on FreeBSD 7.2 with net-snmp 5.4.2: > > # cc -O2 -fno-strict-aliasing -pipe -march=athlon-mp -g -I/usr/local/include > -I. -L /usr/loc

Problem with compiling simple application on FreeBSD 7.2

2010-05-12 Thread Alexander Shikoff
Hello, I started to learn C API of net-snmp package, and I have a problem with compiling simple application on FreeBSD 7.2 with net-snmp 5.4.2: # cc -O2 -fno-strict-aliasing -pipe -march=athlon-mp -g -I/usr/local/include -I. -L /usr/local/lib -o mib.o -lnetsnmp mib.c /usr/lib/crt1.o(.text+0x7b

net-snmp cross compiling ....

2010-04-07 Thread 생각하기
l library So I need many helpful advice I wish all of you have a good day... Thank you... :) ------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-

Re: cross compiling using net-snmp-config

2010-04-05 Thread Magnus Fromreide
run ./bin/net-snmp-config ... instead of net-snmp-config? /MF -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parall

Re: cross compiling using net-snmp-config

2010-04-02 Thread Wes Hardaker
Hardaker Please mail all replies to net-snmp-coders@lists.sourceforge.net -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for

cross compiling using net-snmp-config

2010-04-01 Thread 생각하기
--- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu

cross compiling using net-snmp-config

2010-03-31 Thread 생각하기
is error message show   I think "net-snmp-config" is not matched cross compiler ppc_82xx_gcc... How should i do if i want to make subagent with "net-snmp-config" in cross compiling enviroment... I just want to

Re: Re: [SPAM] cross compiling net-snmp-5.3.2

2010-03-31 Thread Dave Shield
ss "export MIBS=+ALL"... echo "mibs +ALL" >> /usr/share/snmp/snmp.conf Dave ------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proacti

RE: Re: [SPAM] cross compiling net-snmp-5.3.2

2010-03-30 Thread 생각하기
in HOME... then i should configure some configuration... It is not a proper way. Is there any method for everyone can use "snmp"... it is useless "export MIBS=+ALL"... i know only this way... Is there something another please helpme... -[

Re: [SPAM] cross compiling net-snmp-5.3.2

2010-03-30 Thread Robert Story
lease see the FAQs on the wiki for details on loading MIBs for the tools. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications f

sub agent error while cross compiling

2010-03-29 Thread 생각하기
 Ii was cross compiling agentx... agentx involves two files... one : fan.c the other : exam.c The compile error arise in exam.c This is agent make file # # Warning: you may need more

FW: RE: Re: [SPAM] cross compiling net-snmp-5.3.2

2010-03-29 Thread 생각하기
;p1' to 'p2' [r...@localhost net-snmp-5.3.2]# == this result shows "snmptranslate active" on "/home/proj/msap/apps/sychoi/net-snmp-5.3.2 sorry for poor english... thanks for

Re: [SPAM] cross compiling net-snmp-5.3.2

2010-03-29 Thread Robert Story
Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev

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, nets...@mysnmp.org 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

Compiling NetSNMP 5.5 on HPUX 11.23/Itanium

2010-01-20 Thread netsnmp
Hi Coders, I am attempting to compile netsnmp 5.5 on: HP-UX cphpad3c B.11.23 U ia64 3469871600 unlimited-user license I am using the default configure (no options passed), gnu make, and gcc version 4.2.3 I started with a clean source tree and encounter the following error from gmake: Any t

Re: Compiling NetSNMP on HPUX 11.0/RISC

2010-01-19 Thread Magnus Fromreide
On Tue, 2010-01-19 at 13:10 -0700, nets...@mysnmp.org 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

Compiling NetSNMP on HPUX 11.0/RISC

2010-01-19 Thread netsnmp
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 gcc version 4.2.3 GNU make (gmake) Using CFLAGS="-munix=95 (unix98.o does not exi

Re: Fatal Error compiling net-snmp 5.5 on Sparc Solaris 9

2010-01-07 Thread Wes Hardaker
> On Wed, 30 Dec 2009 11:42:03 -0800 (PST), Kenneth Wong > said: KW> Here is a portion of log file when executing command "make". Any KW> help is greatly appreciated. Thanks. Shoot that sounds familiar KW> making all in /usr/local/src/net-snmp/agent KW> make: Fatal error in reader:

Fatal Error compiling net-snmp 5.5 on Sparc Solaris 9

2009-12-31 Thread Kenneth Wong
Here is a portion of log file when executing command "make". Any help is greatly appreciated. Thanks. - Net-SNMP configuration summary: - SNMP Versions Supported:1 2c

Compiling net-snmp 5.5 in AIX5.3

2009-10-19 Thread Carlos (casep) Sepulveda
Hi: In ./configure i got this checking pthread.h presence... yes configure: WARNING: pthread.h: present but cannot be compiled configure: WARNING: pthread.h: check for missing prerequisite headers? configure: WARNING: pthread.h: see the Autoconf documentation configure: WARNING: pthread.h:

RE: Need help regarding compiling the net-snmp 5.4.2.1

2009-04-01 Thread Pameely Rashid
-snmp-coders@lists.sourceforge.net Subject: RE: Need help regarding compiling the net-snmp 5.4.2.1 If you are compiling on a Linux system, you will need to install the following RPMs: - beecrypt-devel - libbeecrypt (upgrade may be needed if beecrypt-devel version installed is newer than existing

RE: Need help regarding compiling the net-snmp 5.4.2.1

2009-04-01 Thread James Hardin
If you are compiling on a Linux system, you will need to install the following RPMs: - beecrypt-devel - libbeecrypt (upgrade may be needed if beecrypt-devel version installed is newer than existing libbeecrypt) Jim - Jim Hardin

RE: Need help regarding compiling the net-snmp 5.4.2.1

2009-03-31 Thread sazid.mahammad
, March 31, 2009 10:50 PM To: net-snmp-coders@lists.sourceforge.net Subject: Need help regarding compiling the net-snmp 5.4.2.1 Hi, I need some help regarding how to compile the net-snmp 5.4.2.1 I downloaded net-snmp 5.4.2.1 and unpacked it. I ran the configure . now when I do a make in

Re: Need help regarding compiling the net-snmp 5.4.2.1

2009-03-31 Thread Dave Shield
2009/3/31 Pameely Rashid : > grep: /usr/lib/libbeecrypt.la: No such file or directory You probably need to install a missing RPM. (Assuming this is a Linux system - you don't say) There's an entry about this in the FAQ, which lists some of the common missing libraries. Dave

Need help regarding compiling the net-snmp 5.4.2.1

2009-03-31 Thread Pameely Rashid
Hi, I need some help regarding how to compile the net-snmp 5.4.2.1 I downloaded net-snmp 5.4.2.1 and unpacked it. I ran the configure . now when I do a make in the directory. It gives me the following error grep: /usr/lib/libbeecrypt.la: No such file or directory /bin/sed: can't read /us

Re: Compiling net-snmp

2009-03-23 Thread Anirudh Srinivasan
Srinivasan wrote: > Hey Folks, > I am new to this mailing list. I tried net-snmp rpm but ended up getting a > lot of dependencies for it. So though i will compilie it. Can you guys help > me compiling net-snmp on redhat enterprise linux 5. > > Thanks in adv > > -- > Anirudh S

RE: Compiling net-snmp

2009-03-22 Thread sazid.mahammad
Srinivasan [mailto:srianir...@gmail.com] Sent: Monday, March 23, 2009 9:31 AM To: net-snmp-coders@lists.sourceforge.net Subject: Compiling net-snmp Hey Folks, I am new to this mailing list. I tried net-snmp rpm but ended up getting a lot of dependencies for it. So though i will compilie it. Can yo

Compiling net-snmp

2009-03-22 Thread Anirudh Srinivasan
Hey Folks, I am new to this mailing list. I tried net-snmp rpm but ended up getting a lot of dependencies for it. So though i will compilie it. Can you guys help me compiling net-snmp on redhat enterprise linux 5. Thanks in adv -- Anirudh Srinivasan

Re: Cross Compiling for MIPS - Error in perl/default_store

2008-08-17 Thread Thomas Anders
"Lacey James-CJL023" wrote: > I'm trying to cross-compile net-snmp-5.4.12 for MIPS-Linux on an > x86-Linux host using and RMI cross-compiler. > > Everything goes fine until I get to the net-snmp/perl/default_store > module when for reasons unknown to me, the make system switches from > using the

Compiling C/net-snmp with MinGW in Windows

2008-08-12 Thread Jarod
Hi, I am not getting to use net-snmp in the windows, it would like to use API C, to record in a MIB that I created. All followed the steps contained in http://www.net-snmp.org/docs/README.win32.html Did anybody already use? tks. Jarod. [EMAIL PROTECTED] --

Cross Compiling for MIPS - Error in perl/default_store

2008-08-02 Thread Lacey James-CJL023
Hello, I'm trying to cross-compile net-snmp-5.4.12 for MIPS-Linux on an x86-Linux host using and RMI cross-compiler. Everything goes fine until I get to the net-snmp/perl/default_store module when for reasons unknown to me, the make system switches from using the RMI cross compiler, to the loca

Re: Problem with compiling Net-SNMP

2008-07-29 Thread Matjaz Vrecko
Thank you, Dave! Best regards, Matjaz Dave Shield wrote: > 2008/7/28 Matjaz Vrecko <[EMAIL PROTECTED]>: >> I am compiling Net-SNMP package without v1 and v2c support > >> Afterwards, when running make, compiler fails in >> apps/snmptrapd_log.c >>

Re: Problem with compiling Net-SNMP

2008-07-28 Thread Matjaz Vrecko
Hello Thomas, >> apps/snmptrapd_log.c >> >> in line 1091, on undefined constants: >> >> SNMP_VERSION_1 and SNMP_VERSION_2c > > What net-snmp version are you using? I can't find this problem in current SVN. > Can you please retest with 5.4.2.pre2? I am using NET-SNMP version: 5.4.1.2 The same p

Re: Problem with compiling Net-SNMP

2008-07-28 Thread Dave Shield
2008/7/28 Matjaz Vrecko <[EMAIL PROTECTED]>: > I am compiling Net-SNMP package without v1 and v2c support > > Afterwards, when running make, compiler fails in > apps/snmptrapd_log.c > in line 1091, on undefined constants: > > SNMP_VERSION_1 and SNMP_VERSION_2c

Re: Problem with compiling Net-SNMP

2008-07-28 Thread Thomas Anders
Matjaz Vrecko wrote: > apps/snmptrapd_log.c > > in line 1091, on undefined constants: > > SNMP_VERSION_1 and SNMP_VERSION_2c What net-snmp version are you using? I can't find this problem in current SVN. Can you please retest with 5.4.2.pre2? +Thomas -- Thomas Anders (thomas.anders at blue

Problem with compiling Net-SNMP

2008-07-28 Thread Matjaz Vrecko
Hello Wes et all, For quite some time I am bumping into a problem with compiling Net-SNMP, now I finally decided to report it, so that you may try to fixed it in your sources,... The problem is as follows: I am compiling Net-SNMP package without v1 and v2c support, disabling DES and AES, more

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 actu

compiling net-snmp-5.4.1.2 for HP-UX 11.11

2008-07-10 Thread Thompson, Nathan
I am trying to compile net-snmp-5.4.1.2 for HP-UX 11.11 to include a modification I made in snmp_logging.c (II changed this: #define LOGLENGTH 8192). I was able to build a Windows version using the .dsp files included however I am having trouble compiling the code on HP-UX. Can someone guide

Re: Errors while compiling net-snmp 5.4.2 for mipsel target

2008-06-10 Thread Magnus Fromreide
order to get the correct target triplet you could copy the file config.guess to your target platform and run it. B. Remove the "-x c" flag as the compiler is well aware of when it is compiling C code and when it is linking object files so there

Re: Errors while compiling net-snmp 5.4.2 for mipsel target

2008-06-09 Thread Thomas Anders
Srikanth Eswaran wrote: > I am trying to get net-snmp 5.4.2 to be compiled on a broadcom 7400 > platform. This is a cross compilation for a mipsel-uclibc target from a > x86 linux host (runnin fedora linux) > [...] > .libs/snmpd.o:1: error: stray '\127' in program' > [...] > The error file is about

Errors while compiling net-snmp 5.4.2 for mipsel target

2008-06-09 Thread Srikanth Eswaran
Hello All, This is a problem that has been reported sometime last year on this group. however on searching the archives completely i am not able to get a possible solution and hence I am forced to request more here. I am trying to get net-snmp 5.4.2 to be compiled on a broadcom 7400 platform. Thi

Re: cross compiling subagent

2008-06-01 Thread Pali
ittle endian, as written here http://www.linuxselfhelp.com/HOWTO/MIPS-HOWTO-9.html). Now little description what am I doing: I wrote SNMP subagents. They are intended to run on mipsel router (Asus Wl-500Gp). So I need to do cross-compiling of subagents. Cross compiler toolchain for mipsel router

Re: cross compiling subagent

2008-06-01 Thread Magnus Fromreide
On sön, 2008-06-01 at 11:38 +0200, Pali wrote: > Hi, have somebody experiences with cross compiling net-snmp package? > I got in a trouble and don't know what to do now. > > I described my problem here: > http://forum.openwrt.org/viewtopic.php?id=15855 I think this woul

cross compiling subagent

2008-06-01 Thread Pali
Hi, have somebody experiences with cross compiling net-snmp package? I got in a trouble and don't know what to do now. I described my problem here: http://forum.openwrt.org/viewtopic.php?id=15855 - This SF.net ema

[Fwd: Re: mips cross-compiling]

2008-01-21 Thread Βαρδάκας Παναγιώτης
--- Αρχικό Μήνυμα Θέμα: Re: mips cross-compiling Από: Βαρδάκας Παναγιώτης <[EMAIL PROTECTED]> Ημερομηνία: Πεμ, Ιανουάριος 17, 2008 10:31 am Προς: "Robert Story" &

Re: mips cross-compiling

2008-01-16 Thread Robert Story
On Mon, 7 Jan 2008 10:59:19 +0200 (EET) Βαρδάκας wrote: > The installation is done successfull, but when I run snmpd the following > messages are appeared: > [...] > and the snmpd proccess doesn't appear as a runing process via ps. Try running snmpd with '-f -Lo' to run in the foreground and look

mips cross-compiling

2008-01-07 Thread Βαρδάκας Παναγιώτης
hello! I'm trying to install net-snmp-5.2.1 for a mips processor, so I try to cross-compile with the mips_4KC-gcc compiler. First I execute the command ./configure cross_compiling=yes --with-endianness=little --without-rpm --with-openssl=/opt/eldk/mips_4KC/lib --prefix=/root/nfs --exec-prefix=/roo

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

compiling pgsnmpd-1.0

2007-11-23 Thread riadh ben romdhane
Hello 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 thanks in advance -- - This SF.net email is

Re: Has anybody tried compiling with sensors using lm-sensors 3.0.0?

2007-11-14 Thread Dave Shield
On 13/11/2007, Dave Shield <[EMAIL PROTECTED]> wrote: > Just to report that I have recently submitted my preliminary reworking > of the LM-SENSORS-MIB implementation, to the main development trunk, > - This currently duplicates the existing list of sensor APIs > (v2 lmsensors, P

Re: Has anybody tried compiling with sensors using lm-sensors 3.0.0?

2007-11-13 Thread Dave Shield
Just to report that I have recently submitted my preliminary reworking of the LM-SENSORS-MIB implementation, to the main development trunk, Things to note: - Activate this code by compiling using configure --with-mib-modules=lmsensorsMib - The code to interface with the

Re: Has anybody tried compiling with sensors using lm-sensors 3.0.0?

2007-11-12 Thread Jan Safranek
Dave Shield wrote: > On 12/11/2007, Jan Safranek <[EMAIL PROTECTED]> wrote: >> The library has slightly different interface. Current net-snmp as it is >> in SVN does not compile with lm-sensors 3.0.0-rc3. I am trying to fix >> ucd-snmp/lmSensors.c to reflect the changes, as lm-sensors 3.0.0-rc3 >>

Re: Has anybody tried compiling with sensors using lm-sensors 3.0.0?

2007-11-12 Thread Dave Shield
On 12/11/2007, Jan Safranek <[EMAIL PROTECTED]> wrote: > The library has slightly different interface. Current net-snmp as it is > in SVN does not compile with lm-sensors 3.0.0-rc3. I am trying to fix > ucd-snmp/lmSensors.c to reflect the changes, as lm-sensors 3.0.0-rc3 > will land soon into Fedor

Re: Has anybody tried compiling with sensors using lm-sensors 3.0.0?

2007-11-12 Thread Jan Safranek
Bruce Shaw wrote: > lm-sensors 3.0.0-rc1 has been released! > > http://lists.lm-sensors.org/pipermail/lm-sensors/2007-September/021277.h > tml > > The release notes: > > * Pretty much all functions of the old API are gone or work > differently. > ... > > Can anybody figure out what they've c

Has anybody tried compiling with sensors using lm-sensors 3.0.0?

2007-10-09 Thread Bruce Shaw
lm-sensors 3.0.0-rc1 has been released! http://lists.lm-sensors.org/pipermail/lm-sensors/2007-September/021277.h tml The release notes: * Pretty much all functions of the old API are gone or work differently. ... * There's no porting guide available. The new API is so different from the o

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

2007-07-16 Thread Need Help
ommand: > > -L/usr/local/lib -lnetsnmpmibs -lnetsnmpagent -lnetsnmphelpers -lnetsnmp > -ldl -lrpm -lrpmio -lpopt -lz -lcrypto -lm > > > ** Ok, I see that the library path is set to be "/usr/local/lib", so is this > why compiling the subagent is looking in the "/usr

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

2007-07-16 Thread Dave Shield
ent-libs" command: > > -L/usr/local/lib -lnetsnmpmibs -lnetsnmpagent -lnetsnmphelpers -lnetsnmp > -ldl -lrpm -lrpmio -lpopt -lz -lcrypto -lm > > > ** Ok, I see that the library path is set to be "/usr/local/lib", so is this > why compiling the subagent is looking in the &qu

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=ocStb

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: net-snmp-coders@lists.sourceforge.net Subject: Re: Compiling MFD subagent produces

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

2007-07-16 Thread Dave Shield
t/home/rosent1/snmp/usr/local/lib/" directory > instead? How are you compiling the subagent? What is the exact compilation command that is used? > Perhaps I need to update the "/etc/ld.so.conf" file and type "ldconfig" to > do this? If you've got librari

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

  1   2   3   >