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 followin

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 syste

Net-SNMP compilation error on AIX 5.3.8.3

2010-08-03 Thread Dana Kaempen
Good day. In compiling Net-SNMP for AIX 5.3.8.3, I came upon these errors at the end of the attached make.out file: ld: 0711-317 ERROR: Undefined symbol: .shutdown_snmpMPDStats_5_5 ld: 0711-317 ERROR: Undefined symbol: .init_snmpMPDStats_5_5 ld: 0711-345 Use the -bloadmap or -bnoquiet option to

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 -

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 -

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: ##

Re: Compilation error

2010-02-05 Thread Dave Shield
On 4 February 2010 20:24, Sylvain Dery 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/.

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_hrs

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: default_module

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:

Re: compilation error: libnetsnmpagent.la

2009-04-15 Thread Gabriele Giorelli
ost/hr_swinst.lo] Error 1 thank you in advance --- On Thu, 4/9/09, Gabriele Giorelli wrote: > From: Gabriele Giorelli > Subject: Re: compilation error: libnetsnmpagent.la > To: "Dave Shield" > Cc: net-snmp-users@lists.sourceforge.net > Date: Thursday, April 9, 2009

Re: compilation error: libnetsnmpagent.la

2009-04-09 Thread Gabriele Giorelli
hello, simply by doing ./configure regards --- On Tue, 4/7/09, Dave Shield wrote: > From: Dave Shield > Subject: Re: compilation error: libnetsnmpagent.la > To: "Gabriele Giorelli" > Cc: net-snmp-users@lists.sourceforge.net > Date: Tuesday, April 7, 2009, 11:

Re: compilation error: libnetsnmpagent.la

2009-04-07 Thread Dave Shield
2009/4/2 Gabriele Giorelli : > 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: `/net-

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: `/net-snmp-5.4.1/agent/libnetsnmpagent.la

RE: Compilation error (MIB)

2009-01-27 Thread Mitul Sen (misen)
.net > Subject: Re: Compilation error (MIB) > > 2009/1/27 Mitul Sen (misen) : > > 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

Re: Compilation error (MIB)

2009-01-27 Thread Dave Shield
2009/1/27 Mitul Sen (misen) : > 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 snmp_set_var_typed_value(..)

Re: Compilation error (MIB)

2009-01-27 Thread Pranesh Kulkarni
> issue a command and I am trying to get 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 standa

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

Re: compilation error.

2008-12-15 Thread Wes Hardaker
> On Mon, 15 Dec 2008 12:27:02 -, "Hindley Nick" > 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> disman/expression/expValueTable.c:66: erro

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 diff

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/a

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 विशाल नंदनवार
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 CF

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]> w

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 mibII/var_route

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

Windows Compilation Error

2007-01-30 Thread Nuñez Correas , Fernando
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 Source, I get this error:

Re: compilation error on IRIX 6.5 version 5.3.rc2

2006-01-02 Thread Thomas Anders
Kai-Thorsten Hambrecht wrote: i also got this error on my IRIX systems. Concerning this issue, i posted a message last year with a trace file attached. Maybe this helps for further investigations (i have attached this file again). Please add this information to the corresponding bug report:

Re: compilation error on IRIX 6.5 version 5.3.rc2

2006-01-02 Thread Kai-Thorsten Hambrecht
Hi, > Just to get things straight: there's no net-snmp code that is directly > looking for an "uxsyserr" file. Instead, the agent is likely triggering > some IRIX system call that tries to locate that file. i also got this error on my IRIX systems. Concerning this issue, i posted a message last y

Re: compilation error on IRIX 6.5 version 5.3.rc2

2006-01-02 Thread Kai-Thorsten Hambrecht
Hi, > Just to get things straight: there's no net-snmp code that is directly > looking for an "uxsyserr" file. Instead, the agent is likely triggering > some IRIX system call that tries to locate that file. i also got this error on my IRIX systems. Concerning this issue, i posted a message last y

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 "u

Re: compilation error on IRIX 6.5 version 5.3.rc2

2006-01-01 Thread Ganesh Wagh
hi, I checked with other irix users. They also got the same error message. 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. I checked IRIX version 6.5.6.3.and 6

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 repro

Re: compilation error on IRIX 6.5 version 5.3.rc2

2005-12-30 Thread Ganesh Wagh
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 I think there is no updation from 5.2.2 to 5.3.rc2 in view of irix OS. It is giving same error for both ver

Re: compilation error on IRIX 6.5 version 5.3.rc2

2005-12-29 Thread Thomas Anders
Ganesh Wagh wrote: i configured like this: ./configure --with-cc=CC That should work. Does ./agent/mibgroup/snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable_constants.h exist for you? If not, please try to unpack the tarball again. If it still doesn't work. please post the

Re: compilation error on IRIX 6.5 version 5.3.rc2

2005-12-28 Thread Ganesh Wagh
ion 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

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 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 "snmpNotifyFilterTa

RE: compilation error in 5.2.2

2005-12-01 Thread Jim Su
om: Jim Su [mailto:[EMAIL 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 re

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 > #include > #include > > #include > > int > main() > { > exit(0); > } > >

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 #include #include #include int main() { exit(0); } with the following arguments: g++34 `~/

RE: weired compilation error

2005-04-02 Thread Jim Su
-Original Message- From: Robert Story [mailto:[EMAIL PROTECTED] Sent: Saturday, April 02, 2005 2:45 AM To: Jim Su Cc: Net-Snmp-Users Subject: Re: weired compilation error On Wed, 23 Mar 2005 14:56:37 +0800 Jim wrote: JS> I have encountered some weired compilin

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
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 libnetsn