Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <002101c51fce$e2d4fb60$a47a6f87@comnet64> From: "Aparna R" To: References: Subject: Buiding net-snmp perl in cygwin - Please anyone help me Date: Thu, 3 Mar 2005 14:26:25 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I Downloaded net-snmp-5.2.1.tar.gz and it got successfully installed on cygwin. Installed Modules: ActivePerl 5.8.6 Perl that comes with cygwin When Net-SNMP Perl modules are installed in cygwin I am getting following error $perl MakeFile.PL is successful Writing Makefile for NetSNMP::default_store Writing Makefile for NetSNMP::ASN Writing Makefile for NetSNMP::OID Note (probably harmless): No library found for -liphlpapi Writing Makefile for NetSNMP::agent::default_store Writing Makefile for NetSNMP::agent Writing Makefile for SNMP Warning: prerequisite NetSNMP::OID 5.1 not found. Writing Makefile for NetSNMP::TrapReceiver Writing Makefile for Bundle::NetSNMP $make (-- following error is thrown) collect2: ld returned 1 exit status perlld: *** system() failed to execute gcc -shared -o agent.dll -Wl,--out-implib=libagent.dll.a -Wl,--export-all-symbo ls -Wl,--enable-auto-import -Wl,--stack,8388608 \ -s -L/usr/local/lib agent.o /usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a -L/usr /local/lib -lnetsnmpagent -lnetsnmpmibs -lnetsnmphelpers -lnetsnmp -lcrypto -lm make[1]: *** [../blib/arch/auto/NetSNMP/agent/agent.dll] Error 1 make[1]: Leaving directory `/cygdrive/c/net-snmp-5.2.1/perl/agent' make: *** [subdirs] Error 2 Pls anyone help me on this. What could be the issue? I have gcc,make,win32api everything got installed along with cygwin. But I could not able to figure out the issue. Thanks -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/