undefined reference to __fgetc_unlocked

Jun Sun jsun at junsun.net
Thu Dec 8 05:18:33 UTC 2005


On Wed, Nov 23, 2005 at 09:29:38PM +0100, Peter S. Mazinger wrote:
> 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
> 

As of snapshot 20051206, the same problem still exists.  ???

My host is FC3.  The same problem exists on RH9 and FC4.

Jun




More information about the uClibc mailing list