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

Douglas Mencken dougmencken at gmail.com
Wed Jul 6 02:55:33 UTC 2011


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ldso.c.patch
Type: text/x-patch
Size: 221 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20110706/e7d0aaaf/attachment.bin>


More information about the uClibc mailing list