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
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
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
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
/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 -
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
-
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:
##
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/.
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
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
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:
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
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:
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-
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
.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
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(..)
> 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
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
> 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
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
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
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
> 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':
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
> 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)
---
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
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
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
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:
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:
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
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
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
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
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
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
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
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
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
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
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
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
> 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);
> }
>
>
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 `~/
-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
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
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
48 matches
Mail list logo