[uClibc]newbie question on building uc-libc

Michael Shmulevich michaels at jungo.com
Mon Apr 23 09:57:14 UTC 2001


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.


-- 
Sincerely yours,
Michael Shmulevich
______________________________________
Software Developer
Jungo - R&D
email: michaels at jungo.com
web: http://www.jungo.com
Phone: 1-877-514-0537(USA)  +972-9-8859365(Worldwide) ext. 233
Fax:   1-877-514-0538(USA)  +972-9-8859366(Worldwide)






More information about the uClibc mailing list