This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: dllwrap/perl/Net::DNS DNS.o(.text+0x1b1):DNS.c: undefined reference to `___dn_expand'
- From: "Gerrit P. Haase" <gp at familiehaase dot de>
- To: letters at hotpop dot com (Jari Aalto+mail.perl)
- Cc: cygwin at cygwin dot com
- Date: Sun, 8 Jun 2003 22:42:04 +0200
- Subject: Re: dllwrap/perl/Net::DNS DNS.o(.text+0x1b1):DNS.c: undefined reference to `___dn_expand'
- Organization: Esse keine toten Tiere
- References: <7k7x1sp0.fsf@blue.sea.net>
- Reply-to: "Gerrit @ cygwin" <cygwin at cygwin dot com>
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/