[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 2.99.36 undefined reference to __dn_skipname
> Hi,
>
> I tried compiling 2.99.36 today, and got an undefined reference to
> __dn_skipname. If I configure --with-bundled-libresolv, the error
> will go away.
>
> The exact error message is:
>
> ../libs/libzmdb.a(bind.o): In function `getmxrr':
> bind.o(.text+0x4e5): undefined reference to `__dn_skipname'
> ../libs/libzmdb.a(bind.o): In function `getrrtype':
> bind.o(.text+0xd15): undefined reference to `__dn_skipname'
> make[1]: *** [router] Error 1
> make[1]: Leaving directory `/usr/local/src/zmailer-2.99.36/router'
> make: *** [all] Error 1
>
> OS: Linux 2.0.11
> C library: 5.2.18
> BIND: 4.9.4 REL
Yes, dn_skipname() is redefined at BIND-4.9.4-REL
<resolv.h>, and it does require that you link with
the static libresolv.a -- however your system libc
does contain a bit older resolver in it, and thus
the autoconfiguration determines that no -lresolv
is needed...
The --with-bundled-libresolv is in fact about
the same as bind-4.9.4-patch1 resolver.
(I had to add about same fixes due to AIX 3.2.5 ...)
/Matti Aarnio