[uClibc]newbie question on building uc-libc

Erik Andersen andersen at lineo.com
Mon Apr 23 14:56:31 UTC 2001


On Mon Apr 23, 2001 at 12:57:14PM +0300, Michael Shmulevich wrote:
> 
> 
> Chuck Tuffli wrote:
> 
> 
> > Index: unistd/daemon.c
> > ===================================================================
> > RCS file: /var/cvs/uClibc/unistd/daemon.c,v
> > retrieving revision 1.2
> > diff --context=2 -r1.2 daemon.c
> > *** unistd/daemon.c     2001/04/03 23:58:52     1.2
> > --- unistd/daemon.c     2001/04/20 02:41:40
> > ***************
> > *** 27,30 ****
> > --- 27,33 ----
> >    */
> >   
> > + #ifndef __UCLIBC_HAS_MMU__
> > + #include <stdio.h>
> > + #endif
> 
> 
> It is supposed that MMU-less machines do not have daemon() calls.
> So you shouldn't compile it at all.

Yes this is better.  I just fixed it to do this,

 -Erik

--
Erik B. Andersen   email:  andersen at lineo.com
--This message was written using 73% post-consumer electrons--





More information about the uClibc mailing list