delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/07/17:44:21

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sat, 7 Jun 2003 22:43:37 +0100
From: Elfyn McBratney <elfyn AT is DOT ubertales DOT co DOT uk>
X-X-Sender: elfyn AT ellixia
Reply-To: cygwin AT cygwin DOT com
To: "Jari Aalto+mail.perl" <letters AT hotpop DOT com>
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>
Message-ID: <Pine.CYG.4.55.0306072240330.1400@ellixia>
References: <7k7x1sp0 DOT fsf AT blue DOT sea DOT net>
MIME-Version: 1.0

On Sun, 8 Jun 2003, Jari Aalto+mail.perl wrote:

> gcc -c   -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -DUSEIMPORTLIB -O3   -DVERSION=\"0.38\" -DXS_VERSION=\"0.38\"  "-I/usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE"   DNS.c
> Running Mkbootstrap for Net::DNS ()
> chmod 644 DNS.bs
> rm -f blib/arch/auto/Net/DNS/DNS.dll
> LD_RUN_PATH="" ld2  -s -L/usr/local/lib DNS.o  -o blib/arch/auto/Net/DNS/DNS.dll  /usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/libperl.dll.a
> 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'

Cygwin doesn't come with a resolver library. You can build BIND8, but it takes
some work and a lot configury hacks if you want shared libs, last I checked.

Elfyn

-- 
Elfyn McBratney (mailto:spambot AT is DOT ubertales DOT co DOT uk)
Systems Administrator
ABCtales.com / Ubertales.co.uk


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019