problem compiling bison

Chris Lingard chris at stockwith.co.uk
Sun Jun 27 12:53:11 PDT 2004


Ralf Stromeyer wrote:

> I'am still trying to install LFS5.1. In chapter 6 I get trouble with
> bison-1.875.
> make stops with the following lines:
> 
> ar cru libbison.a basename.o dirname.o get-errno.o getopt.o getopt1.o
> hash.o mbswidth.o quote.o quotearg.o subpipe.o xmalloc.o xstrdup.o
> xstrndup.o abitset.o bitset.o ebitset.o bitsetv.o bitset_stats.o
> lbitset.o bitsetv-print.o timevar.o argmatch.o
> ranlib libbison.a
> make[2]: Leaving directory `/source/bison-1.875/lib'
> Making all in data
> make[2]: Entering directory `/source/bison-1.875/data'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/source/bison-1.875/data'
> Making all in src
> make[2]: Entering directory `/source/bison-1.875/src'
> /bin/sh ../config/ylwrap `test -f 'scan-skel.l' || echo
> './'`scan-skel.l .c scan-skel.c -- :
> make[2]: *** [scan-skel.c] Error 1
> make[2]: Leaving directory `/source/bison-1.875/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/source/bison-1.875'
> make: *** [all] Error 2
> 
> The file scan-skel.c does exist in the directory /source/bison-1.875/src
> but I'am not able to determin if something is wrong with it. I
> downloaded and unpacked the package again (this suprisingly solved my
> trouble with gcc) but the result is the same.
> Any hints ????

Are you doing anything to change the dates and times of files; like copying
the files somewhere else.  Please check the files:

Here are the dates of the files here
 41813 Feb  1  2003 scan-skel.c
 2423 Jan  4  2003 scan-skel.l

So, scan-skel.c is more modern, so it will not try and regenerate it
from scan-slel.l

Chris




More information about the lfs-support mailing list