I have followed the instructions for threebuild strategies: batch file, manual, and workspace.In each case, I get the same bunch of compile errors in every (or perhaps almost every) module, apparently due to SOCKET not being defined.Sure looks like an include file issue. I didn't find how to
some error like this:
.libs/snmp_perl.o
snmp_perl.c:1:20: error: EXTERN.h: No such file or directory
snmp_perl.c:2:18: error: perl.h: No such file or directory
snmp_perl.c:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘*’ token
snmp_perl.c:10: error: expected ‘)’ before
@lists.sourceforge.net
Sent: Friday, April 23, 2010 6:04 PM
Subject: Re: net snmp, Compile error.
2010/4/22 wangdaobang wan...@toyou.com.cn
I'm new here, would you like to help me about the net snmp compile with
vc6.0? the output is followed:
Compiling...
snmptest.c
C
:* net-snmp-users@lists.sourceforge.net
*Sent:* Friday, April 23, 2010 6:04 PM
*Subject:* Re: net snmp, Compile error.
2010/4/22 wangdaobang wan...@toyou.com.cn
I'm new here, would you like to help me about the net snmp compile
with vc6.0? the output is followed:
Compiling
2010/4/22 wangdaobang wan...@toyou.com.cn
I'm new here, would you like to help me about the net snmp compile with
vc6.0? the output is followed:
Compiling...
snmptest.c
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(49) : error
C2011: 'fd_set' : 'struct' type
Hi All,
I'm new here, would you like to help me about the net snmp compile with
vc6.0? the output is followed:
Compiling...
snmptest.c
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(49) : error
C2011: 'fd_set' : 'struct' type redefinition
C:\Program Files\Microsoft Visual
PoWah Wong wrote:
The file oamp_shm.h is not missing, that is why net-snmp-5.1.4.2 compile.
If I use the compile instructions generated by 5.1.4.2 to compile 5.2.5.1,
5.3.2.3 or 5.4.2.1, then they all compile ok.
The question is, in 5.4.2.1, how to generate the same compile instructions
From: Thomas Anders [mailto:thomas.and...@blue-cable.de]
Sent: Tuesday, January 20, 2009 6:49 AM
PoWah Wong wrote:
The file oamp_shm.h is not missing, that is why
net-snmp-5.1.4.2 compile.
If I use the compile instructions generated by 5.1.4.2 to
compile 5.2.5.1, 5.3.2.3 or 5.4.2.1,
Mike Ayers wrote:
Isn't there a file or command that prints out the original configure
command and args used to build? I believe this is what the OP is looking
for, in order to build 5.4.2.1 with the same args that worked so well for
5.1.4.2.
net-snmp-config --configure-options
--- On Tue, 1/20/09, Thomas Anders thomas.and...@blue-cable.de wrote:
From: Thomas Anders thomas.and...@blue-cable.de
Subject: Re: compile error when upgrading from 5.1.4.2 to 5.4.2.1 with gcc
2.96
To: net-snmp-users@lists.sourceforge.net
Received: Tuesday, January 20, 2009, 12:46 PM
Mike
7.1 2.96-98)
I have to use this old gcc compiler because I still need to support the old
RedHat OS.
I do not understand why
How to fix the compile error?
My 5.1.4.2 makefile is:
all:clean
tar -xzf net-snmp-5.1.4.2.tar.gz
mkdir net-snmp-5.1.4.2/agent/mibgroup/mymibs
cp
Sent: Tuesday, January 20, 2009 12:14 AM
Subject: compile error when upgrading from 5.1.4.2 to 5.4.2.1 with gcc 2.96
My snmp program can compile ok with net-snmp-5.1.4.2.
I want to use the newer (upgrade to) net-snmp 5.2.5.1, 5.3.2.3 or 5.4.2.1
and all three versions have the same compile
From: Nikos Balkanas [mailto:nbalka...@gmail.com]
Sent: Monday, January 19, 2009 3:35 PM
This problem is not from compiling net-snmp, but from your
own code. If you
are depending on net-snmp for the missing include file
oamp_shm.h it
doesn't exist in 5.4.2.1.
Aw, won't you
, January 20, 2009 1:44 AM
Subject: RE: compile error when upgrading from 5.1.4.2 to 5.4.2.1 with gcc
2.96
From: Nikos Balkanas [mailto:nbalka...@gmail.com]
Sent: Monday, January 19, 2009 3:35 PM
This problem is not from compiling net-snmp, but from your
own code. If you
are depending on net
-Original Message-
From: Nikos Balkanas [mailto:nbalka...@gmail.com]
Sent: Monday, January 19, 2009 4:29 PM
To: Mike Ayers; wong_po...@yahoo.ca;
net-snmp-users@lists.sourceforge.net
Subject: Re: compile error when upgrading from 5.1.4.2 to
5.4.2.1 with gcc 2.96
I choose to avoid
--- On Mon, 1/19/09, Nikos Balkanas nbalka...@gmail.com wrote:
From: Nikos Balkanas nbalka...@gmail.com
Subject: Re: compile error when upgrading from 5.1.4.2 to 5.4.2.1 with gcc
2.96
To: wong_po...@yahoo.ca, net-snmp-users@lists.sourceforge.net
Received: Monday, January 19, 2009, 6:35 PM
compatible as possible, there is no guarantee
that the sources will be the same between versions.
BR,
Nikos
- Original Message -
From: PoWah Wong wong_po...@yahoo.ca
To: net-snmp-users@lists.sourceforge.net
Sent: Tuesday, January 20, 2009 5:13 AM
Subject: Re: compile error when upgrading
From: Jon Dufresne [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 27, 2008 12:49 PM
I am trying to cross compile net-snmp-5.4.2.1. Both my build and host
system are Linux. This is how I am building net-snmp:
$ ./configure \
--build=${HOST} \
--host=${TARGET} \
Mike Ayers wrote:
It appears that the system is building perl modules, which have their
own set of flags. I would suggest using the --disable-embedded-perl flag
to hopefully eliminate perl connections altogether. If you will have perl on
the target system, you can try the
Hi,
I am trying to cross compile net-snmp-5.4.2.1. Both my build and host
system are Linux. This is how I am building net-snmp:
$ ./configure \
--build=${HOST} \
--host=${TARGET} \
--with-endianness=little \
--prefix=/usr \
--sysconfdir=/etc \
From: Wes Hardaker [EMAIL PROTECTED]
Organization: Sparta
Date: Fri, 03 Oct 2008 13:36:24 -0700
To: Paul Orvin [EMAIL PROTECTED]
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: Compile error: libnetsnmpmibs.so: undefined reference
On Sun, 28 Sep 2008 13:42:09 -0400, Paul Orvin
On Sun, 28 Sep 2008 13:42:09 -0400, Paul Orvin [EMAIL PROTECTED] said:
PO Trying to compile net-snmp 5.4.2 with lm-sensors support I get this
PO error during 'make':
Looks like you need to link in -lsensors. Try running with
--with-libs=-lsensors
--
Wes Hardaker
Sparta, Inc.
Hi,
Trying to compile net-snmp 5.4.2 with lm-sensors support I get this
error during 'make':
./.libs/libnetsnmpmibs.so: undefined reference to
`sensors_get_detected_chips'
./.libs/libnetsnmpmibs.so: undefined reference to `sensors_init'
./.libs/libnetsnmpmibs.so: undefined reference to
BTW, I'm using 5.4.2.pre1. Any suggestion?
Ren
2008-08-21
发件人: xiao ren
发送时间: 2008-08-20 16:53:22
收件人: [EMAIL PROTECTED]
抄送:
主题: MFD style agent compile error
Hi!
I'm trying to compile and test the agent coding example according to the
tutorial step by
step(http://net
Hi!
I'm trying to compile and test the agent coding example according to the
tutorial step by
step(http://net-snmp.sourceforge.net/tutorial/tutorial-5/toolkit/mfd/if-mib/ifTable/index.html),
but ran into errors while compiling. I recorded what I did as below, would you
please help me find
hi guy's i've download the example of scalar variable in
herehttp://www.net-snmp.org/dev/agent/delayed__instance_8c-example.html
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Tuesday, February 12, 2008 6:32 AM
On 12/02/2008, Mariusz Iwański [EMAIL PROTECTED] wrote:
try deleting the block of code from
sedscript: sedscript.in
through to
11-02-08, Dave Shield [EMAIL PROTECTED] napisał(a):
On 11/02/2008, Mariusz Iwański [EMAIL PROTECTED] wrote:
Makefile:218: *** commands commence before first target. Stop.
What does your Makefile look like?
Here is fragment of this file (I have attached file) :
[snip]
Just as a
On 12/02/2008, Mariusz Iwański [EMAIL PROTECTED] wrote:
try deleting the block of code from
sedscript: sedscript.in
through to
EXAMPLE.conf: sedscript EXAMPLE.conf.def
$(SED) -f sedscript $(srcdir)/EXAMPLE.conf.def EXAMPLE.conf
Nothing works I still
On 11/02/2008, Mariusz Iwański [EMAIL PROTECTED] wrote:
Makefile:218: *** commands commence before first target. Stop.
What does your Makefile look like?
Here is fragment of this file (I have attached file) :
[snip]
Just as a temporary workaround, what happens if you edit the
11-02-08, Dave Shield [EMAIL PROTECTED] napisał(a):
On 11/02/2008, Mariusz Iwański [EMAIL PROTECTED] wrote:
I get this error while trying to compile net-snmp.5.4.1 :
Makefile:218: *** commands commence before first target. Stop.
What does your Makefile look like?
Dave
Here is fragment
Hi,
I get this error while trying to compile net-snmp.5.4.1 :
Makefile:218: *** commands commence before first target. Stop.
My OS : Slackware 10
I have try to manipulate Makefile with no good results.
Regards,
Mariusz
On 11/02/2008, Mariusz Iwański [EMAIL PROTECTED] wrote:
I get this error while trying to compile net-snmp.5.4.1 :
Makefile:218: *** commands commence before first target. Stop.
What does your Makefile look like?
Dave
-
James Mathis wrote:
/usr/lib/libpopt.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
Rebuild from scratch with
LDFLAGS=-L/usr/lib64 ./configure ... make
+Thomas
--
Thomas Anders (thomas.anders at blue-cable.de)
Try a make clean or make distclean or a fresh install.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of James
Mathis
Sent: Monday, October 22, 2007 5:09 PM
To: net-snmp-users@lists.sourceforge.net
Subject: Compile error using SNMP 5.3.1
Hi,
I
Hi,
I received the following compile error during 'make'. Additional info as
follows:
OS: RH ES 4.0
64-bit kernel
gcc -g -O2 -Dlinux -I/usr/include/rpm -o .libs/snmpd snmpd.o
./.libs/libnetsnmpmibs.so ./.libs/libnet snmpagent.so
helpers/.libs/libnetsnmphelpers.so ../snmplib/.libs
build system: linux redhat9.0
cross compiler: arm-linux-gcc 2.95.3 system
configure method:
./configure --prefix=/root/usr --build=i686-linux --host=arm-linux
--target=arm-linux --with-perl-modules --with-endianness=little 21 |
tee b
error related produced result:
checking for rtentry.rt_dst...
build system: linux redhat9.0
cross compiler: arm-linux-gcc 2.95.3 system
configure method:
./configure --prefix=/root/usr --build=i686-linux --host=arm-linux
--target=arm-linux --with-perl-modules --with-endianness=little 21 |
tee b
error related produced result:
checking for rtentry.rt_dst...
I had the same problem, until I did
this. Im running gcc 3.3.2. This is available on the
sunfreeware.com site.
Note that this version of gcc was created on build 60 of
Solaris 10. If you are using a higher version, you will need to redo some of
the header files. This is done by doing the
Hi.
taner memet ali wrote:
hi,
i'm a complete newbie to net-snmp. i try to compile it since yesterday
but there is always the same error:
make: *** No rule to make target 'winservicerc.lo', needed by
'libnetsnmp.la' . Stop.
make[1]: Leavingdirectory '/cygdrive/d/net-snmp/snmplib'
make: ***
hi,
i'm a complete newbie to net-snmp. i try to compile it since yesterday but
there is always the same error:
make: *** No rule to make target 'winservicerc.lo', needed by
'libnetsnmp.la' . Stop.
make[1]: Leavingdirectory '/cygdrive/d/net-snmp/snmplib'
make: *** [subdirs] Error 1
I use win
On Tue, 26 Jul 2005 16:48:58 -0500 Lan, ALABS wrote:
WLA I tried to install net-snmp 5.2.1 version in a new machine SunFire V240
WLA has OS Solaris 10, when I make, I got the following error:
WLA
WLA gcc -I../include -I. -I../snmplib -g -O2 -Dsolaris2 -c snmp_alarm.c
WLA -fPIC -DPIC -o
Hi All,
I am getting this error message while running the configure script.
And compilation also fails with the error messages copied below.
Please let me know what is going wrong? I am trying to include lot
many mib modules (4 files per mib module) and totally 13 mib modules.
Could you please
It's a problem with sed.
This is documented in README.solaris.
Make sure your path is:
/usr/local/bin:/usr/ccs/bin:/usr/sbin:/usr/bin
or something like that.
I am getting this error message while running the configure script.
Output line too long.
This communication is intended for the
You're welcome. Glad to be of service.
Thanks Bruce. It worked fine after replacing GNU sed in-place of solaris
sed. Again thanks for your help.
It's a problem with sed.
This is documented in README.solaris.
Make sure your path is:
/usr/local/bin:/usr/ccs/bin:/usr/sbin:/usr/bin
or
45 matches
Mail list logo