[uClibc]m68k-elf tools and uClibc.

Brad Kemp kemp at mediaone.net
Wed Jul 11 03:54:03 UTC 2001


I removed the #inlcude <stdio.h> from the files in libio that were offending
the compiler.
ioffeof.c iofflush.c iogetc.c iofgets.c ioferror.c iofputc.c
I have not done enough testing to determine if this is working
Brad

-----Original Message-----
From: uclibc-admin at uclibc.org
[mailto:uclibc-admin at uclibc.org]On Behalf Of David McCullough
Sent: Tuesday, July 10, 2001 11:05 PM
To: Erik Andersen
Cc: Kendrick Hamilton; uclibc at uclibc.org
Subject: Re: [uClibc]m68k-elf tools and uClibc.



Jivin Erik Andersen lays it down ...
> On Tue Jul 10, 2001 at 10:44:08PM +1000, David McCullough wrote:
> >
> > There was a point about then that the CVS version was working ;-)
> > I know it's painful,  but you could try something like:
> >
> > 	cvs co -D "Sun Jun 10 20:00 EST 2001" uClibc
>
> It is curious that the reported error is in getc().  The only thing to
change
> since Jun 10 in uClibc/include/stdio.h or uClibc/libc/stdio is a minor
change
> to vfnprintf() so it would handle %p exactly like glibc...
>
> I looked ove the complete diff between the present and Jun 10 (it really
isn't
> that big), and I don't see anything that looks likely to account for the
> problems you are seeing,

Ok,  the problem is with the weak_alias macro,  I have fix that I think is
not going to cause anyone pain :-)

Basically weak_alias declares the function and gcc thinks it's different
to the prototype in another file.  Most likely the parameters are causing
the error because "typeof" cannot do parameters to functions (i think),

My current workaround will be to add a ASM_WEAK_ALIASES config option
to cover this case,  sound reasonable ?

Cheers,
Davidm

--
David McCullough:  Ph: +61 7 3435 2815  Lineo (Where Open Meets Smart)
davidm at lineo.com   Fx: +61 7 3891 3630  825 Stanley St., W'gabba QLD 4102,
Oz


_______________________________________________
uClibc mailing list
uClibc at uclibc.org
http://uclibc.org/mailman/listinfo/uclibc






More information about the uClibc mailing list