This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
automake autoconf problem in ld.
- From: "Sidney Manning" <sid at us dot ibm dot com>
- To: binutils at sources dot redhat dot com
- Date: Mon, 28 Apr 2003 18:27:15 -0500
- Subject: automake autoconf problem in ld.
Recent changes have forced be to do an automake in the ld subdirectory. I
got a warning from automake telling me to run aclocal to create a new
aclocal.m4 which I did and reran automake. I then ran autoconf. I then
configured the whole tree with CFLAGS=-g ../src/configure
--target=powerpc-linux. Then I ran make and make failed with the following
error:
make[3]: Entering directory `/home/cvs/binutils/srccvs/objg/ld'
/bin/sh ../../src/ld/ylwrap `test -f '../../src/ld/ldgram.y' || echo
'../../src/
ld/'`../../src/ld/ldgram.y y.tab.c ldgram.c y.tab.h ldgram.h y.output
ldgram.out
put -- bison -y -d
../../src/ld/ylwrap: ../../src/ld/ylwrap: No such file or directory
make[3]: *** [ldgram.c] Error 127
make[3]: Leaving directory `/home/cvs/binutils/srccvs/objg/ld'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/cvs/binutils/srccvs/objg/ld'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/cvs/binutils/srccvs/objg/ld'
make: *** [all-ld] Error 2
What happens is that the Makefile.in in ld sets YLWRAP =
$(top_srcdir)/ylwrap where the original Makefile.in sets it to YLWRAP =
$(top_srcdir)/../ylwrap.
I'm using automake-1.6.3-1 and autoconf-2.53-8 on a RedHat 8.0 system.
Am I doing something out of sequence or is there a problem because I'm not
sure how common it is to hand edit these auto generated files. I have not
had to yet.
Thanks,