Subject: Re: dllwrap/perl/Net::DNS DNS.o(.text+0x1b1):DNS.c: undefined reference to `___dn_expand'
From: "Gerrit P. Haase" <[email-masked]>
To: [email-masked] (Jari Aalto+mail.perl)
Cc: [email-masked]
Date: Sun, 8 Jun 2003 22:42:04 +0200

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/