bug-glibc
[Top][All Lists]
Advanced

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

Re: Symbols not defined in libresolv-2.2.4


From: David Gmez
Subject: Re: Symbols not defined in libresolv-2.2.4
Date: Tue, 15 Jan 2002 16:41:34 +0100 (CET)

> >> > Linking against libresolv shows that several symbols are undefined, nm
> >> > output labels them as local symbols, so functions like
> >> > ns_initparse,ns_parserr, etc... cannot be used
> >>
> >> Those are functions that are used for implementing a nameserver and
> >> for a nameserver you should link against the resolver lib that comes
> >> with it and not against glibc's version.  The glibc resolver lib is
> >> just for nameserver queries.
> >
> > Then, why these functions are defined in /usr/include/arpa/nameser.h ? If
> > they cannot be used then something is wrong with glibc headers.
>
> We just copied the header...

Then the header should be cleaned up. By the way, linking statically
against libresolv allows you to use ns_* family of functions, so that also
should be fixed if you only want glibc libresolv do nameserver queries.

regards,

David Gómez

"The question of whether computers can think is just like the question of
 whether submarines can swim." -- Edsger W. Dijkstra





reply via email to

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