[uClibc]tcp wrappers

Richard Doyle rdoyle at islandnetworks.com
Thu Jan 24 01:57:21 UTC 2002


I used uClibc from CVS (Jan 17). I applied the tcp-wrappers_7.6-9.diff
patch from Debian, which fixed the problem you had with percent_m.c, but
added the dependence on libnsl.so.1, libc and so on. Commenting out line
16 (and the rest of the ifndef statement) did the trick.

Thanks for the clue.


> On Wed, Jan 23, 2002 at 03:28:03PM -0800, Richard Doyle wrote:
> > Has anyone successfully compiled tcp wrappers under uClibc?
> > tcp-wrappers_7.6 needs libnsl, and tcpd-0.2.0 fails as follows:
> >
>
> I have succesfully compiled tcp_wrappers_7.6 without libnsl.
>
> and the only problem i ran into is:
> percent_m.c:17: conflicting types for ys_errlist'
> /usr/i386-linux-uclibc/include/stdio.h:579: previous declaration of
> sys_errlist'
>
> but i just changed line 16 in percent_m.c:
> -#ifndef SYS_ERRLIST_DEFINED
> +/* #ifndef SYS_ERRLIST_DEFINED
>
> and everything works fine.
> i use uClibc for this, what do you use ??
>
> --arne




More information about the uClibc mailing list