[uClibc]libresolv and freeswan: Can't compile
Brian Stafford
brian.stafford at office-logic.com
Mon Dec 3 14:47:43 UTC 2001
On Fri, 30 November 17:58 arne @ loopback . org wrote:
> On Fri, Nov 30, 2001 at 10:16:19AM -0700, Erik Andersen wrote:
> > To answer your question, libc/inet/resolv.c does not define or
> > use struct _res, and res_init does nothing. The other res_*
> > functions are not implemented.
> >
> > Generally, struct _res is used to find the name and IP addressses
> > for the currently selected nameserver. I'm open to a patch to
> > add support for it.
>
> Well, i might try it . the best way would be to get code out of glibc and
> strip it down (and get it working) ?? And if so, what libc would be best to
> use (libc5 or glibc 2.1.3 or ??) ?
Just a thought - why not get the source for bind 8 or 9 and build the resolver
libraries from that? Bind 9 also includes the lightweight resolver package
which is an advanced stub resolver, this might be more appropriate for the
uClibc audience.
If nothing else, it might be a better starting point than the glibc code.
Brian Stafford
More information about the uClibc
mailing list