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 X-AuthUser: gerrit:koeln.convey.de Date: Sun, 8 Jun 2003 22:42:04 +0200 From: "Gerrit P. Haase" Reply-To: "Gerrit @ cygwin" Organization: Esse keine toten Tiere X-Priority: 3 (Normal) Message-ID: <93357731690.20030608224204@familiehaase.de> To: letters AT hotpop DOT com (Jari Aalto+mail.perl) CC: cygwin AT cygwin DOT 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 DOT fsf AT blue DOT sea DOT 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/