[patch] [uclibc-v0.9.32-rc3-123-gf87898c] ldso/ldso/ldso.c:891:31: error: 'st' undeclared (first use in this function)

Filippo ARCIDIACONO filippo.arcidiacono at st.com
Wed Jul 6 08:20:21 UTC 2011


 

> -----Original Message-----
> From: uclibc-bounces at uclibc.org 
> [mailto:uclibc-bounces at uclibc.org] On Behalf Of Carmelo Amoroso
> Sent: Wednesday, July 06, 2011 8:06 AM
> To: uclibc at uclibc.org
> Subject: Re: [patch] [uclibc-v0.9.32-rc3-123-gf87898c] 
> ldso/ldso/ldso.c:891:31: error: 'st' undeclared (first use in 
> this function)
> 
> On 06/07/11 04:55, Douglas Mencken wrote:
> > Enable LDSO_STANDALONE_SUPPORT and LDSO_PRELINK_SUPPORT, 
> and the build 
> > process will fail:
> > 
> >   CC ldso/ldso/ldso.oS
> > In file included from ldso/ldso/ldso.c:37:0:
> > ldso/ldso/dl-debug.c: In function '_dl_debug_lookup':
> > ldso/ldso/dl-debug.c:115:17: warning: variable 
> 'symbol_addr' set but 
> > not used [-Wunused-but-set-variable]
> > ldso/ldso/ldso.c: In function '_dl_get_ready_to_run':
> > ldso/ldso/ldso.c:725:16: warning: unused variable 'tmp' 
> > [-Wunused-variable]
> > ldso/ldso/ldso.c:891:31: error: 'st' undeclared (first use in this 
> > function)
> > ldso/ldso/ldso.c:891:31: note: each undeclared identifier 
> is reported 
> > only once for each function it appears in
> > make[2]: *** [ldso/ldso/ldso.oS] Error 1
> > 
> > Attached patch fixes this issue.
> > 
> > 
> 
> is thi problem reported against master branch ?

I suppose yes.
Probably we missed the "struct stat st" definition when the prelink branch
Was created.
Long time ago this was defined and has been, correctly, removed in commit
http://git.uclibc.org/uClibc/commit/?id=6140a2a7175a796a7c06119f036357db87a1
b865
Now it must be redefined.

> it sounds strange because I've built and run with prelink support.

Probably the LDSO_PRELOAD_FILE_SUPPORT was off.


> 
> carmelo

Filippo.
> 
> > 
> > _______________________________________________
> > uClibc mailing list
> > uClibc at uclibc.org
> > http://lists.busybox.net/mailman/listinfo/uclibc
> 
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc
> 



More information about the uClibc mailing list