The problem has been reported by Joel Brobecker: http://sourceware.org/ml/binutils/2005-03/msg00529.html HAVE_DECL_BASENAME was not defined during bfd's configure. This patch should fix the problem. OK to apply? 2005-03-31 Jerome Guitton * bfd/config.in (HAVE_DECL_BASENAME): New configure macro. * bfd/configure.in: Check for basename. * bfd/configure: Regenerate.