Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <4227313B.6060902@familiehaase.de>
Date: Thu, 03 Mar 2005 16:46:03 +0100
From: "Gerrit P. Haase" <gp@familiehaase.de>
Organization: Esse keine toten Tiere
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.7.3) Gecko/20040910
MIME-Version: 1.0
To: Aparna R <aparnar@comneti.com>
CC: cygwin@cygwin.com
Subject: Re: Buiding net-snmp perl in cygwin - Please anyone help me
References: <BAY19-F159C0F9A67369B39631779B55B0@phx.gbl> <Pine.GSO.4.61.0503030307090.2585@slinky.cs.nyu.edu> <002101c51fce$e2d4fb60$a47a6f87@comnet64>
In-Reply-To: <002101c51fce$e2d4fb60$a47a6f87@comnet64>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Aparna R wrote:

> 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?

This is not the actual error message, this is just the output of the
ld wrapper script which rephrases the used command which failed to 
execute, please send the actual compiler / linker output.


Gerrit
-- 
=^..^=

Action Soccer: http://www.action-soccer.de/?lv=de&id=505
(german online game)

--
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/

