[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug#184573: missing res_search in -lresolv

From: Daniel Jacobowitz
Subject: Re: Bug#184573: missing res_search in -lresolv
Date: Thu, 27 Mar 2003 08:46:20 -0500
User-agent: Mutt/1.5.1i

On Thu, Mar 27, 2003 at 01:52:04PM +0100, Robert Millan wrote:
> On Thu, Mar 27, 2003 at 05:08:27PM +0900, GOTO Masanori wrote:
> > Ah, I found the problem.  It's your miss.
> are you sure? now that i remember, Daniel Jacobowitz pointed out the same
> before in this bug, but then he denied it:
> "Bug in the configure test.  Include <resolv.h> before attempting to use
> res_search; it's allowed to be a macro as far as I know."
> [...]
> "Bah, disregard my previous comment.  It should be present."
> I'm CCing him.
> thanks!

According to glibc,

#if SHLIB_COMPAT(libresolv, GLIBC_2_0, GLIBC_2_2)
# undef res_mkquery
# undef res_query
# undef res_querydomain
# undef res_search
weak_alias (__res_mkquery, res_mkquery);
weak_alias (__res_query, res_query);
weak_alias (__res_querydomain, res_querydomain);
weak_alias (__res_search, res_search);

i.e. "res_search" is only available if the oldest version of glibc for
that platform was 2.0.x, I believe.

Whether this is standards conforming or not you'll have to take up with
someone who knows POSIX better.

Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

reply via email to

[Prev in Thread] Current Thread [Next in Thread]