undefined reference to __fgetc_unlocked
Peter S. Mazinger
ps.m at gmx.net
Wed Nov 23 20:29:38 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.
>
> BTW, there is also another complain about undefined ELFOSABI_HURD.
> Not sure what the right fix. I just commented it out in readelf.c
fixed by vapier, your host headers are incorrect
> Another BTW, when uclibc is built, I only see output like "CC fgetc.os".
> What is the .os suffix? Different from .o object file? Also is
> there a way to expand "CC" to the real commandline command (like
> DL=1 for linux kernel)?
.os means built w/ -fPIC|-fpic, .o w/o
make V=1
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