[uClibc]libresolv and freeswan: Can't compile

Erik Andersen andersen at codepoet.org
Fri Nov 30 18:29:35 UTC 2001


On Fri Nov 30, 2001 at 06:58:35PM +0100, arne @ loopback . org 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 ??) ?

Those would both be good places to look, though be aware that
uClibc's resolver differs a lot.  You might check with the
freeswan source (and busybox nslookup.c source while you are at
it) to see exactly what is used.

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--





More information about the uClibc mailing list