Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-AuthUser: gerrit:koeln.convey.de
Date: Sun, 8 Jun 2003 22:42:04 +0200
From: "Gerrit P. Haase" <gp@familiehaase.de>
Reply-To: "Gerrit @ cygwin" <cygwin@cygwin.com>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <93357731690.20030608224204@familiehaase.de>
To: letters@hotpop.com (Jari Aalto+mail.perl)
CC: cygwin@cygwin.com
Subject: Re: dllwrap/perl/Net::DNS DNS.o(.text+0x1b1):DNS.c: undefined reference to `___dn_expand'
In-Reply-To: <7k7x1sp0.fsf@blue.sea.net>
References: <7k7x1sp0.fsf@blue.sea.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hallo Jari,

> dllwrap --dllname DNS.dll --driver-name gcc --dlltool dlltool --export-all-symbols --as as --output-def libDNS.def --output-lib libDNS.a \
> -s -L/usr/local/lib DNS.o  /usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/libperl.dll.a
> dllwrap: no export definition file provided.
> Creating one, but that may not be what you want
> DNS.o(.text+0x1b1):DNS.c: undefined reference to `___dn_expand'
> collect2: ld returned 1 exit status
> dllwrap: gcc exited with status 1
> perlld: *** system() failed to execute
> dllwrap --dllname DNS.dll --driver-name gcc --dlltool dlltool --export-all-symbols --as as --output-def libDNS.def --output-lib libDNS.a \
> -s -L/usr/local/lib DNS.o  /usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/libperl.dll.a

Besides the unresolved reference, Cygwin Perl 5.8.0 doesn't use
dllwrap anymore, you should delete /usr/local/bin/ld2 and
/usr/local/bin/perlld and let the scripts in /usr/bin do their work!


Gerrit
-- 
=^..^=


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

