[prev in list] [next in list] [prev in thread] [next in thread]
List: net-snmp-bugs
Subject: [ net-snmp-Bugs-715635 ] ./configure for cygwin fails
From: "SourceForge.net" <noreply () sourceforge ! net>
Date: 2004-02-27 20:11:43
Message-ID: E1AwoKl-0005Uj-00 () sc8-sf-web3 ! sourceforge ! net
[Download RAW message or body]
Bugs item #715635, was opened at 2003-04-04 18:49
Message generated for change (Comment added) made by slif
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=715635&group_id=12694
Category: configure
Group: None
>Status: Closed
>Resolution: Wont Fix
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: ./configure for cygwin fails
Initial Comment:
Here is the problem. I have cygwin installed on WIN XP. I
have downloaded ucd-snmp-4.2.6. As per README.win32,
the first step is to run
./configure --with-mib-modules="host agentx smux
examples/example" --with-out-mib-modules=host/hr_network --with-libs="-lregex -liphlpapi"
When I do that it gives me:
loading cache ./config.cache
checking if I need to feed myself to ksh... no
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C
compiler cannot create executables.
I DO know gcc works because I tried ‘gcc –o hello hello.c”.
Also, if I run “./configure” without any arguments it passes
just fine. I am not sure if I need any setup for cygwin.
Thank You,
Kalyan
kkumar@voiceramp.com
----------------------------------------------------------------------
>Comment By: Michael J. Slifcak (slif)
Date: 2004-02-27 15:11
Message:
Logged In: YES
user_id=88697
Please try net-snmp-5.1.1. Obtain the README.win32
If you don't install platform SDK , do not include -liphlpapi,
and your configure should succeed.
----------------------------------------------------------------------
Comment By: Alex Burger (alex_b)
Date: 2003-04-07 13:29
Message:
Logged In: YES
user_id=85836
Your welcome!
You should try passing the --without-openssl switch to
configure.
Alex
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2003-04-07 13:13
Message:
Logged In: NO
I think I jumped the gun. I believe it was the OPENSSL that
caused the problem this time. Since I was not using SNMP V3 I
just modified the config.h file to ignore OPENSSL. Now
everything compiles fine. Only thing is that when I run 'snmpget' I
get "Encryption support not enabled" three times before the
result emerges. I have to find a way to get rid of that message.
Thanks,
Kalyan
kkumar@voiceramp.net
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2003-04-07 12:40
Message:
Logged In: NO
Thank You Alex. That was it. Now, I have /lib/libregex.a
and './configure' goes through just fine.
However, I still have problem when I do 'make' under 'snmplib'.
Here is the error.
kkumar@kkumar ~/snmp/ucd-snmp-4.2.6/snmplib
$ make
/bin/sh ../libtool --mode=compile gcc -g -O2 -Dcygwin -I. -I.. -I. -
I./.. -c -
o scapi.lo scapi.c
rm -f .libs/scapi.lo
gcc -g -O2 -Dcygwin -I. -I.. -I. -I./.. -c scapi.c -
DDLL_EXPORT -DPIC -o .libs
/scapi.lo
scapi.c: In function `sc_encrypt':
scapi.c:612: incompatible type for argument 1 of `memset'
scapi.c: In function `sc_decrypt':
scapi.c:725: incompatible type for argument 1 of `memset'
make: *** [scapi.lo] Error 1
-------------------------------------------------------
The error points to:
memset(key_sch, 0, sizeof(key_sch));
where,
des_key_schedule key_sch;
Would appreciate your input.
Kalyan
----------------------------------------------------------------------
Comment By: Alex Burger (alex_b)
Date: 2003-04-06 21:06
Message:
Logged In: YES
user_id=85836
I've seen the same problem with 5.0.8. The error is kind of
strange because you are probably just missing the regex
library.
See if you have regex in /lib (libregex.so). If you don't, you
can downloaded the regex source from
http://mirrors.sunsite.dk/cygwin/release/regex/regex-4.4-2-
src.tar.bz2
Do a 'make lib'
Copy lib*.so /lib
Then try ucd-snmp again.
Alex
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=715635&group_id=12694
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Net-snmp-bugs mailing list
Net-snmp-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic