undefined reference to __fgetc_unlocked
Peter S. Mazinger
ps.m at gmx.net
Wed Nov 23 20:31:06 UTC 2005
On Wed, 23 Nov 2005, Jun Sun wrote:
> On Wed, Nov 23, 2005 at 11:26:15AM +0100, Peter S. Mazinger wrote:
> > On Wed, 23 Nov 2005, Joakim Tjernlund wrote:
> >
> > > Hi Jun
> > >
> > > For now I think you should remove the "attribute_hidden" in:
> > > ./uClibc/libc/stdio/fgetc.c:int attribute_hidden __fgetc_unlocked(FILE
> > > *stream)
> > > until a proper correction has been considered.
> >
> > that should do it for now,
> >
>
> Yes. It indeed fixes the problem. See my patch attached.
I will wait for mjn3's opinion, because I don't want to solve it like
that, rather make the macros use the versions w/o prepended __
Peter
--
Peter S. Mazinger <ps dot m at gmx dot net> ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2
More information about the uClibc
mailing list