public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* error: unknown type name ‘ctf_archive_t
@ 2020-06-01 23:36 Martin Sebor
  2020-06-02  0:30 ` Alan Modra
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Sebor @ 2020-06-01 23:36 UTC (permalink / raw)
  To: binutils

I've been getting the error below building binutils the last few
weeks:

In file included from /src/binutils-gdb/ld/ldlex.l:31,
                  from /src/binutils-gdb/ld/ldlex-wrapper.c:26:
/src/binutils-gdb/ld/ldlang.h:304:3: error: unknown type name 
‘ctf_archive_t’
   304 |   ctf_archive_t *the_ctf;
       |   ^~~~~~~~~~~~~

A discussion of it I found in bug 25064 suggests it's caused by
an outdated copy of the generated ld/ldlex.c file in the source
tree.  The build succeeds after I remove the file but I'd like
to know what other files I should remove (or more broadly, what
else I should do when re-building from a local copy) to make
sure I build what everyone else does. (I assume removing the whole
source tree and pulling a fresh copy is not the right way to do it.)

Thanks
Martin

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-06-19 18:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-01 23:36 error: unknown type name ‘ctf_archive_t Martin Sebor
2020-06-02  0:30 ` Alan Modra
2020-06-02 16:53   ` Martin Sebor
2020-06-03  0:15     ` Alan Modra
2020-06-19 18:53     ` Nick Alcock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).