[uClibc]m68k-elf tools and uClibc.
David McCullough
davidm at lineo.com
Wed Jul 11 03:05:28 UTC 2001
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
More information about the uClibc
mailing list