3.3: Missing bconfig.h for i686-pc-linux-gnu

Jeffrey Oldham oldham@codesourcery.com
Mon Jan 27 19:06:00 GMT 2003


I am trying to build 'gcc-3_3-branch' for 'i686-pc-linux-gnu' (RedHat
7.2) but gcc/gengtype-yacc.c does not compile:

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 -I../../gcc/. -I../../gcc/config -I../../gcc/../include \
  ../../gcc/gengtype-yacc.c -o gengtype-yacc.o
../../gcc/gengtype-yacc.y:23:21: bconfig.h: No such file or directory
../../gcc/gengtype-yacc.y:25:23: coretypes.h: No such file or directory
../../gcc/gengtype-yacc.y:26:16: tm.h: No such file or directory
make[1]: *** [gengtype-yacc.o] Error 1
make[1]: Leaving directory `/home/oldham/gcc/gcc4/objdir/gcc'
make: *** [all-gcc] Error 2

Does anyone have suggestions how to avoid these errors?  Details of
the build appear below.

Thanks,
Jeffrey D. Oldham
oldham@codesourcery.com

host> cvs update -rgcc-3_3-branch
host> mkdir objdir
host> cd objdir
host> ../configure --prefix=/home/oldham/gcc-install/gcc4 --enable-languages=c,c++
host> which gcc
/usr/bin/gcc
host> gcc --version
2.96
host> echo $LD_LIBRARY_PATH
/home/oldham/gcc-install/gcc2/lib:/home/oldham/gcc-install/gcc1/lib:/home/oldham/gcc-install/gcc1/lib:/home/oldham/gcc-install/gcc1/lib:/home/oldham/gcc-install/gcc1/lib:/home/oldham/gcc-install/gcc1/lib:/home/oldham/gcc-install/gcc1/lib:/home/oldham/gcc-install/gcc1/lib:
host> declare -x LD_LIBRARY_PATH=
host> make
...
make[1]: Entering directory `/home/oldham/gcc/gcc4/objdir/gcc'
TM_DEFINES="" \
HEADERS="auto-host.h ansidecl.h  i386/i386.h i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h defaults.h" XM_DEFINES="POSIX" \
TARGET_CPU_DEFAULT="TARGET_CPU_DEFAULT_pentiumpro" \
/bin/sh ../../gcc/mkconfig.sh config.h
TM_DEFINES="" \
HEADERS="auto-host.h ansidecl.h  i386/i386.h i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h defaults.h" XM_DEFINES="POSIX" \
TARGET_CPU_DEFAULT="TARGET_CPU_DEFAULT_pentiumpro" \
...
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 -I../../gcc/. -I../../gcc/config -I../../gcc/../include \
  ../../gcc/gengtype-yacc.c -o gengtype-yacc.o
../../gcc/gengtype-yacc.y:23:21: bconfig.h: No such file or directory
../../gcc/gengtype-yacc.y:25:23: coretypes.h: No such file or directory
../../gcc/gengtype-yacc.y:26:16: tm.h: No such file or directory
make[1]: *** [gengtype-yacc.o] Error 1
make[1]: Leaving directory `/home/oldham/gcc/gcc4/objdir/gcc'
make: *** [all-gcc] Error 2
host> find . -name bconfig.h -print	# Nothing found.
host>



More information about the Gcc-help mailing list