[uClibc][PATCH] Fix uClibc compile problem due to missing INET defines

Cassiano Aquino cassiano at wwsecurity.net
Tue Mar 19 17:13:09 UTC 2002


First of all thanks for your great job with uClibc.

do you commited this changes to the CVS?

cassiano at genesis:~/gwrnew/uClibc$ cvs update
cvs server: Updating .
[snip]
cvs server: Updating test/unistd
cassiano at genesis:~/gwrnew/uClibc$ rgrep AI_V4MAPPED  *
libc/inet/getaddrinfo.c:        (req->ai_flags & AI_V4MAPPED);
libc/inet/getaddrinfo.c: 
AI_ADDRCONFIG|AI_V4MAPPED|AI_ALL))
cassiano at genesis:~/gwrnew/uClibc$

or I´m doing something wrong?

At 09:55 AM 3/19/2002 -0700, Erik Andersen wrote:
>On Tue Mar 19, 2002 at 09:20:53AM -0600, Steven J. Hill wrote:
> > diff -urN uclibc/Makefile uclibc-patched/Makefile
> > --- uclibc/Makefile   Tue Mar 12 09:53:06 2002
> > +++ uclibc-patched/Makefile   Mon Mar 18 07:47:53 2002
> > @@ -328,6 +328,7 @@
> >       - find . \( -name \*.o -o -name \*.a -o -name \*.so -o -name core 
> -o -name .\#\* \) -exec rm -f {} \;
> >       $(MAKE) -C test clean
> >       $(MAKE) -C ldso clean
> > +     $(MAKE) -C libc/misc clean
>
>Is there something in libc/misc that wasn't getting cleaned?
>The find should be doing the heavy lifting there.
>
> > +# define AI_V4MAPPED 0x0008  /* IPv4-mapped addresses are acceptable.  */
> > +# define AI_ALL              0x0010  /* Return both IPv4 and IPv6 
> addresses.  */
> > +# define AI_ADDRCONFIG       0x0020  /* Use configuration of this host 
> to choose
>
>I'd forgotten to commit a piece of getaddrinfo.c.
>Fixed now, so this change isn't necessary.
>
>  -Erik
>
>--
>Erik B. Andersen             http://codepoet-consulting.com/
>--This message was written using 73% post-consumer electrons--
>_______________________________________________
>uClibc mailing list
>uClibc at uclibc.org
>http://uclibc.org/mailman/listinfo/uclibc

--
Cassiano Aquino <cassiano at wwsecurity dot net>




More information about the uClibc mailing list