[uClibc]newbie question on building uc-libc
Chuck Tuffli
ctuffli at yahoo.com
Fri Apr 20 02:45:34 UTC 2001
That did the trick! After I pulled the new sources, I needed to add
#include <stdio.h> to unistd/daemon.c, but after that, it compiled
great. Thanks for your help!
---chuck
Here is the patch
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
#include <features.h>
#include <fcntl.h>
--- Erik Andersen <andersen at lineo.com> wrote:
> On Wed Apr 18, 2001 at 09:58:56PM -0700, Chuck Tuffli wrote:
> > I'm running into problems building uc-libc (current CVS version)
> with
> > the Aplio tool chain. I modified Config and did a 'make' which
> fails
> > immediately, complaining about
> >
> > ../../include/bits/errno.h:39: parse error before `__THROW'
> >
> > If I leave Config alone, the build completes fine and produces
> > libuClibc.so.1. My machine is an x86 with a stock RH6.1.
> >
> > Any hints would be most appreciated!
>
> The simplest approach is to remove all the __THROW macros.
> Which is what I am going to check into CVS,
>
> -Erik
>
> --
> Erik B. Andersen email: andersen at lineo.com
> --This message was written using 73% post-consumer electrons--
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
More information about the uClibc
mailing list