This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problem crosscompiling for MIPS (YLWRAP undefined!)


On Tue, Jun 20, 2000 at 08:56:45PM +0200, Andreas Jaeger wrote:
> 
> I'm trying to do a cross build from i686-linux to mipsel-linux of the
> current binutils CVS version and got a build failure in the gas subdirectory.
> 
> config.status contains:
> # /cvs/binutils-gdb-ln/gas/configure  --host=i686-pc-linux-gnu --target=mipsel-linux --prefix=/opt/mips-cross --srcdir=/cvs/binutils-gdb-ln/gas --with-stabs --with-gnu-as --with-gnu-ld --enable-shared=no --enable-static=yes --enable-build-warnings --disable-nls --cache-file=../config.cache
> 
> 
> Running make aborts with:
> make[2]: Entering directory `/builds/sourceware-src/mips-cross/gas'
> /bin/sh  "`if [ -f ../bison/bison ] ; then echo ../bison/bison -y -L../bison/bison ; else echo bison -y ; fi`" /cvs/binutils-gdb-ln/gas/itbl-parse.y y.tab.c itbl-parse.c y.tab.h itbl-parse.h -- -d
> bison -y: bison -y: No such file or directory
> 
> The problem is this rule in Makefile.am:
> itbl-parse.c itbl-parse.h: $(srcdir)/itbl-parse.y
>         $(SHELL) $(YLWRAP) "$(YACC)" $(srcdir)/itbl-parse.y y.tab.c itbl-parse.c y.tab.h itbl-parse.h -- -d
> 
> YLWRAP seems to be undefined - and I don't see any place where it gets
> a value.
> 
> In other Makefile.in files, there's a line:
> YLWRAP = $(srcdir)/../ylwrap
> 
> but this one is missing in gas/Makefile.in[1].  Is this a bug in automake
> or where lies the problem?
> 

Someone has used wrong autoconf/automake to build those configure
and Makefile.in. I will regenerate them with the right verions
of autoconf/automake and check them in.


H.J.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]