This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: dllwrap/perl/Net::DNS DNS.o(.text+0x1b1):DNS.c: undefinedreference to `___dn_expand'

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
> 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 McBratney (
Systems Administrator /

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]