gcc compile error

Ralf Stromeyer ralf.stromeyer at freenet.de
Fri Jun 25 16:34:27 PDT 2004

hi yall,

I am working on LFS 5.1 and finished chapter 5 successfully (I think I 
did). Trouble starts with chapter 6 GCC-3.3.3. 
make stops with the following error:

/bin/sh ../../gcc-3.3.3/gcc/move-if-change tmp-gtyp.h gtyp-gen.h
gcc -c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long   
-DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I../../gcc-3.3.3/gcc 
-I../../gcc-3.3.3/gcc/. -I../../gcc-3.3.3/gcc/config 
-I../../gcc-3.3.3/gcc/../include \
  ../../gcc-3.3.3/gcc/gengtype.c -o gengtype.o
(cd ../../gcc-3.3.3/gcc && \
 bison  -d -o gengtype-yacc.c gengtype-yacc.y || \
 ( rm -f ../../gcc-3.3.3/gcc/gengtype-yacc.c && false ) )
/bin/sh: line 1: bison: command not found
make[1]: *** [../../gcc-3.3.3/gcc/gengtype-yacc.c] Error 1
make[1]: Leaving directory `/source/gcc-build/gcc'
make: *** [all-gcc] Error 2

The output of configure says:
checking for bison... /bin/sh ../../gcc-3.3.3/gcc/../missing bison

It's not suprising, that bison is missing but why do I need it and what 
am I doing wrong?

thanx for your help


More information about the lfs-support mailing list