This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Cannot autoreconf binutils 2.26
- From: Andrew Burgess <andrew dot burgess at embecosm dot com>
- To: "Jesper Puge (s113443)" <s113443 at student dot dtu dot dk>
- Cc: binutils at sourceware dot org
- Date: Thu, 21 Jul 2016 20:13:40 +0100
- Subject: Re: Cannot autoreconf binutils 2.26
- Authentication-results: sourceware.org; auth=none
- References: <007201d1e380$bca7fd20$35f7f760$@student.dtu.dk>
* Jesper Puge (s113443) <s113443@student.dtu.dk> [2016-07-21 20:50:22 +0200]:
> Hi,
> I am trying to add a new architecture to Binutils 2.26. I have edited the
> various configure.ac files (along with the other required files) and try to
> run autoreconf in the main directory and in the bfd, ld, opcodes and gas
> subdirectories. My native version of autoconf is 2.69, but I have built
> version 2.64 after being prompted for the specific version when running in
> the autoreconf in the main directory. After this, autoreconf works in the
> main directory, but I cannot get it to work in the subdirectories.
>
> When I run autoreconf with version 2.64 it complains that autoreconf version
> 2.65 or higher is required. See the log:
> configure.ac:28: error: Autoconf version 2.65 or higher is required
> /usr/share/aclocal-1.15/init.m4:29: AM_INIT_AUTOMAKE is expanded
> from...
> configure.ac:28: the top level
> autom4te: /usr/bin/m4 failed with exit status: 63
> aclocal: error: echo failed with exit status: 63
> autoreconf: aclocal failed with exit status: 63
>
> If I try to run autoreconf with my native installation (2.69) I get prompted
> to use version 2.64:
> configure.ac:22: error: Please use exactly Autoconf 2.64 instead of
> 2.69.
> ../config/override.m4:12: _GCC_AUTOCONF_VERSION_CHECK is expanded
> from...
> configure.ac:22: the top level
> autom4te: /usr/bin/m4 failed with exit status: 1
> aclocal: error: echo failed with exit status: 1
> autoreconf: aclocal failed with exit status: 1
>
> I cannot figure out how to get around this. Am I doing something wrong? Can
> you help me?
I think your version of automake is probably too recent too. Check
the header in one of the Makefile.in files, but I think you'll need to
make sure you're using automake 1.11.6.
Hope that helps,
Andrew