On Tue, Jul 18, 2006 at 08:44:31PM -0700, Paul R. Nash wrote:
> ../.././binutils-2.17/ld/ldcref.c: In function `handle_asneeded_cref':
> ../.././binutils-2.17/ld/ldcref.c:242: error: structure has no member
> named `count'
> ../.././binutils-2.17/ld/ldcref.c:283: error: structure has no member
> named `count'
> make[4]: *** [ldcref.o] Error 1
>
> Indeed, there is no count in my version of struct
> bfd_hash_table...actually there's no other usage of ".count" anywhere
> in ld at least. Is that mainline only?
Yes, you need a slightly different patch for 2.17. Just delete all
occurrences of old_count in the patch you have, or pull the 2.17 version
from CVS binutils-2_17-branch.