Compilation error - missing libs

2013-03-20 Thread Romgo
Hello, I am currently trying to compile net-snmp-5.7.2 on rhel 6 64bit system. ./configure step is fine, but when I do the make step I got the following error : gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic

snmptrapd compilation error

2011-03-25 Thread Vamsi Krishnam Raju D
Hi... Iam using net-snmp c-api to receive traps. Iam using the sample snmptrapd.c file. When I compiled the file using gcc `net-snmp-config --cflags --agent-libs --libs` -lnetsnmptrapd snmptrapd.c it is compiled and working fine. When I use g++ instead of gcc then it is throwing the following

Re: Net-SNMP compilation error on AIX 5.3.8.3

2010-08-03 Thread Thomas Anders
Dana Kaempen wrote: In compiling Net-SNMP for AIX 5.3.8.3, I came upon these errors at the end of the attached make.out file: I take it that you're trying to build Net-SNMP 5.5. What configure options are you using? Do you also have other (earlier) versions of net-snmp installed on your

Compilation error

2010-07-08 Thread tomy
Hi, While compiling net-snmp-5.5 for xscale architecture with the following commands ./configure --target=xscale-linux --host=xscale --build=i686 --with-cc=mxscaleb-gcc --with-ar=mxscaleb-ar --with-endianness=big --disable-embedded-perl --disable-perl-cc-checks --without-perl-modules

subagent Compilation error

2010-07-08 Thread Alexander King
/bin/sh ../libtool --mode=link gcc -g -O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -DDEBUGGING -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/CORE -o snmpd snmpd.lo -L../snmplib/.libs

Net-snmp perl module compilation error

2010-02-15 Thread Rahul Kumar
Hi, I was trying to install perl module of net-snmp 5.5 but was getting very strange error. Please find the details System: Linux RHEL46 2.6.9-5.EL #1 Wed Jan 5 19:22:18 EST 2005 i686 i686 i386 GNU/Linux net-snmp Version: 5.5 Error:

Compilation error

2010-02-05 Thread Sylvain Dery
Hello, I'm having the following compilation error: gcc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -g -O2 -Ulinux -Dlinux=linux -I/usr/include/rpm -c host/hr_swinst.c -fPIC -DPIC -o host/.libs/hr_swinst.o host/hr_swinst.c: In function ‘var_hrswinst

Re: Compilation error

2010-02-05 Thread Dave Shield
On 4 February 2010 20:24, Sylvain Dery sylvain-d...@hotmail.com wrote: I'm having the following compilation error: gcc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -g -O2 -Ulinux -Dlinux=linux -I/usr/include/rpm -c host/hr_swinst.c  -fPIC -DPIC -o host/.libs

compilation error

2009-05-08 Thread Gabriele Giorelli
Hi I am using fedora 10 and I want to install net-snmp: SNMP Versions Supported:1 2c 3 Net-SNMP Version: 5.4.1 Building for: linux Network transport support: Callback Unix TCP UDP SNMPv3 Security Modules: usm Agent MIB code:

Re: compilation error: libnetsnmpagent.la

2009-04-20 Thread Thomas Anders
Gabriele Giorelli wrote: I installed libtool on the machine. now I have this: host/hr_swinst.c: In function 'init_hr_swinst': host/hr_swinst.c:210: warning: assignment makes pointer from integer without a cast host/hr_swinst.c: In function 'var_hrswinst': host/hr_swinst.c:464: error:

Re: compilation error: libnetsnmpagent.la

2009-04-15 Thread Gabriele Giorelli
in advance --- On Thu, 4/9/09, Gabriele Giorelli gabriele.giore...@yahoo.com wrote: From: Gabriele Giorelli gabriele.giore...@yahoo.com Subject: Re: compilation error: libnetsnmpagent.la To: Dave Shield d.t.shi...@liverpool.ac.uk Cc: net-snmp-users@lists.sourceforge.net Date: Thursday, April 9

Re: compilation error: libnetsnmpagent.la

2009-04-09 Thread Gabriele Giorelli
hello, simply by doing ./configure regards --- On Tue, 4/7/09, Dave Shield d.t.shi...@liverpool.ac.uk wrote: From: Dave Shield d.t.shi...@liverpool.ac.uk Subject: Re: compilation error: libnetsnmpagent.la To: Gabriele Giorelli gabriele.giore...@yahoo.com Cc: net-snmp-users

Re: compilation error: libnetsnmpagent.la

2009-04-07 Thread Dave Shield
2009/4/2 Gabriele Giorelli gabriele.giore...@yahoo.com: I am using fedora10 and I am getting this error in the compilation step: grep: /net-snmp-5.4.1/agent/libnetsnmpagent.la: No such file or directory /bin/sed: can't read /net-snmp-5.4.1/agent/libnetsnmpagent.la: No such file or directory

compilation error: libnetsnmpagent.la

2009-04-02 Thread Gabriele Giorelli
Hi I am using fedora10 and I am getting this error in the compilation step: grep: /net-snmp-5.4.1/agent/libnetsnmpagent.la: No such file or directory /bin/sed: can't read /net-snmp-5.4.1/agent/libnetsnmpagent.la: No such file or directory libtool: link:

Re: Compilation error (MIB)

2009-01-27 Thread Pranesh Kulkarni
the output of this command and pass it to the snmp_set_var_typed_value(..) function). However, my code doesn't seem to compile. I can however compile the same code (the lines that give the compilation error) on my linux machine as a standalone program (without net-snmp) I have attached the code

Re: Compilation error (MIB)

2009-01-27 Thread Dave Shield
2009/1/27 Mitul Sen (misen) mi...@cisco.com: I have defined a MIB and the generated the C code for the managed object using mib2c. Once I added the implementation (I am simply using popen() to issue a command and I am trying to get the output of this command and pass it to the

RE: Compilation error (MIB)

2009-01-27 Thread Mitul Sen (misen)
: Compilation error (MIB) 2009/1/27 Mitul Sen (misen) mi...@cisco.com: I have defined a MIB and the generated the C code for the managed object using mib2c. Once I added the implementation (I am simply using popen() to issue a command and I am trying to get the output of this command

Compilation error (MIB)

2009-01-26 Thread Mitul Sen (misen)
code doesn't seem to compile. I can however compile the same code (the lines that give the compilation error) on my linux machine as a standalone program (without net-snmp) I have attached the code I am using. The compilation error is as follows make[2]: Entering directory `/home/misen/work

compilation error.

2008-12-15 Thread Hindley Nick
Has anyone seen this? running on solaris 10, net-snmp 5.4.2.1 disman/expression/expValueTable.c:66: error: 'link' redeclared as different kind of symbol /usr/include/unistd.h:387: error: previous declaration of 'link' was here disman/expression/expValueTable.c:66: error: 'link' redeclared as

Re: compilation error.

2008-12-15 Thread Wes Hardaker
On Mon, 15 Dec 2008 12:27:02 -, Hindley Nick nick.hind...@hfbp.co.uk said: HN disman/expression/expValueTable.c:66: error: 'link' redeclared as HN different kind of symbol HN /usr/include/unistd.h:387: error: previous declaration of 'link' was HN here HN

compilation error at HP-UX: storage size of 'ifc' isn't known

2008-10-15 Thread Daniel Bristot de Oliveira
Hi! I'm trying to compile the net-snmp-5.4.2 source in a: 'HP-UX rx4640 B.11.23 U ia64 0712996316 unlimited-user license' With: gcc (GCC) 4.2.3 gmake 3.81 It's because the Net-SNMP Package provided by HP-UX IExpress, doesn't provide the hrSWRun mibs. When I run gmake, I get the following

Re: Compilation error

2008-06-02 Thread Dave Shield
2008/5/30 Mike Ayers [EMAIL PROTECTED]: On Behalf Of Rabindra Paikaray I am new to this group and started using net-snmp recently . I am configuring it for a cross-compiler , but while running make I am getting an error like : mibII/at.c: In function `ARP_Scan_Next': mibII/at.c:729: error:

RE: Compilation error

2008-05-30 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rabindra Paikaray I am new to this group and started using net-snmp recently . I am configuring it for a cross-compiler , but while running make I am getting an error like : mibII/at.c: In function `ARP_Scan_Next':

Re: Compilation error in Net-SNMP for arm linux

2008-02-12 Thread Thomas Anders
Yes I tried with that, problem exists. Can you please let us know the exact configure options and the exact error message when trying to build net-snmp 5.4.1? +Thomas -- Thomas Anders (thomas.anders at blue-cable.de)

Re: Compilation error in Net-SNMP for arm linux

2008-02-12 Thread Dave Shield
Oops - I forgot to Cc: the mailing list. Bad dog, Dave! Copying to the list for context, and to allow others the chance to respond. On 12/02/2008, विशाल नंदनवार [EMAIL PROTECTED] wrote: Yes I tried with that, problem exists. On Feb 12, 2008 3:50 PM, Dave Shield [EMAIL PROTECTED] wrote:

Re: Compilation error in Net-SNMP for arm linux

2008-02-12 Thread विशाल नंदनवार
Hi, I am using snapgear-3.0.5 and arm-linux-tools for compiling Net-SNMP. I have done following env settings export PATH=$PATH:/usr/local/arm-linux/bin export CC=/usr/src/snapgear/tools/ucfront/ucfront arm-linux-gcc export CXX=/usr/src/snapgear/tools/ucfront/ucfront arm-linux-g++ export

Compilation error in Net-SNMP for arm linux

2008-02-11 Thread विशाल नंदनवार
Hi, I want to compile Net-SNMP-5.1.4 for arm linux, but it is giving me following error, mibII/var_route.c: In function `var_ipRouteEntry': mibII/var_route.c:506: error: dereferencing pointer to incomplete type mibII/var_route.c:550: error: dereferencing pointer to incomplete type

Re: Windows Compilation Error

2007-01-30 Thread Thomas Anders
Nuñez Correas wrote: Hello. Im evaluating NET-SNMP v5.4 in Windows XP with Eclipse IDEv3.2.1 and MinGWv5.1.3. Now I'm getting some errors with binaries files of net-snmp and I want compile the net-snmp sources. I've got installed MSYS and all works ok, but when I want compile NET-SNMP

Re: compilation error on IRIX 6.5 version 5.3.rc2

2006-01-02 Thread Thomas Anders
Ganesh Wagh wrote: Actually uxsyserr file is not present on irix machine. snmpd daemon is looking for this file and file is not present on irix machine. so it give no such file or directory error and exit. Just to get things straight: there's no net-snmp code that is directly looking for an

Re: compilation error on IRIX 6.5 version 5.3.rc2

2005-12-30 Thread Thomas Anders
Ganesh Wagh wrote: I downloaded net-snmp 5.3.rc2 version for irix machine. I compiled and installed successfully package. While running snmpd daemon as root i am getting error nlist:no such file and directory Are there any other IRIX users out there? We'd like to hear whether others can

Re: compilation error on IRIX 6.5 version 5.3.rc2

2005-12-28 Thread Thomas Anders
Ganesh Wagh wrote: I have downloaded net-snmp version 5.3.rc2 for IRIX6.5 for testing. I got the compilation error as below: ./agent/mibgroup/snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable.h, line 32: error(1005): could not open source file

Re: compilation error on IRIX 6.5 version 5.3.rc2

2005-12-28 Thread Ganesh Wagh
for testing. I got the compilation error as below: ./agent/mibgroup/snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable.h, line 32: error(1005): could not open source file snmpNotifyFilterTable_constants.h #include snmpNotifyFilterTable_constants.h What's

compilation error on IRIX 6.5 version 5.3.rc2

2005-12-27 Thread Ganesh Wagh
Hi, I have downloaded net-snmp version 5.3.rc2 for IRIX6.5 for testing. I got the compilation error as below: ./agent/mibgroup/snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable.h, line 32: error(1005): could not open source file snmpNotifyFilterTable_constants.h

RE: compilation error in 5.2.2

2005-12-01 Thread Jim Su
PROTECTED] Sent: Thursday, December 01, 2005 11:54 AM To: Net-Snmp-Users Subject: compilation error in 5.2.2 Hi Greeting: In compiling the latest net-snmp release 5.2.2 I got the following errors. I compared the configure options and the Makefile.in I used in release 5.1.2. There is no difference

compilation error in 5.2.2

2005-11-30 Thread Jim Su
Hi Greeting: In compiling the latest net-snmp release 5.2.2 I got the following errors. I compared the configure options and the Makefile.in I used in release 5.1.2. There is no difference. And there is no such compilation error in 5.1.2. I am not sure what had caused the compiling error

Re: Compilation error with net-snmp header files

2005-08-19 Thread Pavlin Radoslavov
OS: FreeBSD-4.10-RELEASE (with /usr/local/include/getopt.h header file added by some packages) Net-SNMP: 5.2.1.2 Compiler: gcc-3.4.2 If I try to compile the following sample program: #include net-snmp/net-snmp-config.h #include net-snmp/net-snmp-includes.h #include

Compilation error with net-snmp header files

2005-08-18 Thread Pavlin Radoslavov
OS: FreeBSD-4.10-RELEASE (with /usr/local/include/getopt.h header file added by some packages) Net-SNMP: 5.2.1.2 Compiler: gcc-3.4.2 If I try to compile the following sample program: #include net-snmp/net-snmp-config.h #include net-snmp/net-snmp-includes.h #include

Re: weired compilation error

2005-04-02 Thread Robert Story
On Wed, 23 Mar 2005 14:56:37 +0800 Jim wrote: JS I have encountered some weired compiling problem in building net-snmp. JS I checked out the code of my agent (5.0.6) under a brand new path. The JS build is successful on one machine but failed on another machine. Both JS have the

weired compilation error

2005-03-22 Thread Jim Su
in the tar ball from another machine. The attempt didn't help the compilation error. The source code had been built many times without any problem. However I encountered the above problem with no clue. One notice is the .libs directory under net_snmp/snmplib is all empty. And there is no libnetsnmp.la