Win32 Compile Error w/ MS Visual C++ 6.0

2012-01-26 Thread Mark A. Harlos
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

snmp compile error about snmp_perl.c

2010-07-08 Thread Alexander King
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

Re: net snmp, Compile error.

2010-04-26 Thread wdb
@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

Re: net snmp, Compile error.

2010-04-26 Thread Bart Van Assche
:* 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

Re: net snmp, Compile error.

2010-04-23 Thread Bart Van Assche
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

net snmp, Compile error.

2010-04-22 Thread wangdaobang
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

Re: compile error when upgrading from 5.1.4.2 to 5.4.2.1 with gcc 2.96

2009-01-20 Thread Thomas Anders
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

RE: compile error when upgrading from 5.1.4.2 to 5.4.2.1 with gcc 2.96

2009-01-20 Thread Mike Ayers
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,

Re: compile error when upgrading from 5.1.4.2 to 5.4.2.1 with gcc 2.96

2009-01-20 Thread Thomas Anders
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

Re: compile error when upgrading from 5.1.4.2 to 5.4.2.1 with gcc 2.96

2009-01-20 Thread PoWah Wong
--- 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

compile error when upgrading from 5.1.4.2 to 5.4.2.1 with gcc 2.96

2009-01-19 Thread PoWah Wong
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

Re: compile error when upgrading from 5.1.4.2 to 5.4.2.1 with gcc 2.96

2009-01-19 Thread Nikos Balkanas
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

RE: compile error when upgrading from 5.1.4.2 to 5.4.2.1 with gcc 2.96

2009-01-19 Thread Mike Ayers
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

Re: compile error when upgrading from 5.1.4.2 to 5.4.2.1 with gcc 2.96

2009-01-19 Thread Nikos Balkanas
, 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

RE: compile error when upgrading from 5.1.4.2 to 5.4.2.1 with gcc 2.96

2009-01-19 Thread Mike Ayers
-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

Re: compile error when upgrading from 5.1.4.2 to 5.4.2.1 with gcc 2.96

2009-01-19 Thread PoWah Wong
--- 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

Re: compile error when upgrading from 5.1.4.2 to 5.4.2.1 with gcc 2.96

2009-01-19 Thread Nikos Balkanas
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

RE: Compile error when cross compiling net-snmp

2008-12-01 Thread Mike Ayers
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} \

Re: Compile error when cross compiling net-snmp

2008-12-01 Thread Thomas Anders
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

Compile error when cross compiling net-snmp

2008-11-27 Thread Jon Dufresne
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 \

Re: Compile error: libnetsnmpmibs.so: undefined reference

2008-10-06 Thread Paul Orvin
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

Re: Compile error: libnetsnmpmibs.so: undefined reference

2008-10-03 Thread Wes Hardaker
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.

Compile error: libnetsnmpmibs.so: undefined reference

2008-09-28 Thread Paul Orvin
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

Re: MFD style agent compile error

2008-08-21 Thread xiao ren
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

MFD style agent compile error

2008-08-20 Thread xiao ren
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

compile error

2008-07-09 Thread deka aditia
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

RE: compile error

2008-02-12 Thread Mike Ayers
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

Re: compile error

2008-02-12 Thread Mariusz Iwański
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

Re: compile error

2008-02-12 Thread Dave Shield
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

Re: compile error

2008-02-11 Thread Dave Shield
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

Re: compile error

2008-02-11 Thread Mariusz Iwański
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

compile error

2008-02-11 Thread Mariusz Iwański
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

Re: compile error

2008-02-11 Thread Dave Shield
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 -

Re: Compile error using SNMP 5.3.1

2007-10-23 Thread Thomas Anders
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)

RE: Compile error using SNMP 5.3.1

2007-10-23 Thread Bruce Shaw
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

Compile error using SNMP 5.3.1

2007-10-22 Thread James Mathis
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

cross-compile error: dereferencing pointer to incomplete type

2005-11-24 Thread Rick.Lee
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...

cross-compile error: dereferencing pointer to incomplete type

2005-11-23 Thread Rick.Lee
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...

Re: Solaris 10, net-snmp 5.2.1 compile error

2005-10-02 Thread David Fitzgerald
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

Re: compile error with cygwin on net-snmp 5.1.3.1

2005-08-12 Thread Alex Burger
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: ***

compile error with cygwin on net-snmp 5.1.3.1

2005-08-10 Thread taner memet ali
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

Re: Solaris 10, net-snmp 5.2.1 compile error

2005-08-08 Thread Robert Story
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

Configure and Compile Error.

2004-08-23 Thread kumaresh malli
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

RE: Configure and Compile Error.

2004-08-23 Thread Bruce Shaw
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

RE: Configure and Compile Error.

2004-08-23 Thread Bruce Shaw
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