On Mon, 7 Sep 2020, matthew green wrote:
/build/netbsd-compat/src_ro/tools/binutils/../../external/gpl3/binutils/dist/bfd/netbsd.h:54:10:
fatal error: bfd.h: No such file or directory
#include "bfd.h"
^~~~~~~
do you have a bfd.h lying around somewhere it shouldn't? check
your source tree for extra files? eg 'cvs up -dPA -I\! -ICVS'.
sometimes make can find something gcc won't, and this happens.
Hmmm. "Extra files" would mean "file that _is_ there but _should_not_
be there", while the actual error message would seem to indicate that
the "file bfd.h _is_not_ there but _should_ be there".
In either case I ran the sugggested ``cvs up'' command (with the -q
option, to avoid the plethora of "Updating <dirname>" messages) and
nothing out of the ordinary shows up.
I probably ought to mention a couple more items:
* This happens in two separate sources trees, and
* it happens with a completely empty TOOLDIR (and OBJDIR and DESTDIR)