Building gcc-2.95.3

John McSwain jmcswain at
Sun Oct 31 14:11:15 PST 2004

 I have a newly built LFS (6.0-testing-20041010) ( only deviation is 
gcc-3.4.2 and linux-2.6.9) and have installed several BLFS packages 
using development.  Today in trying to build gcc-2.95.3 (I need it to 
compile freetype-1.3.1) I ran into this error:

make[3]: Leaving directory 
make[2]: Leaving directory 
make[2]: Entering directory `/sources/gcc-build/i686-pc-linux-gnu/libio'
test x"yes" != xyes ||\
  /sources/gcc-build/gcc/xgcc -B/sources/gcc-build/gcc/ -B/opt/gcc-2.95.3/i686-pc-linux-gnu/bin/ 
 -c -g -O2 -I. -I../../../gcc-2.95.3/libio -D_IO_MTSAFE_IO -fpic 
../../../gcc-2.95.3/libio/iogetline.c -o pic/iogetline.o
In file included from ../../../gcc-2.95.3/libio/libio.h:167,
                 from ../../../gcc-2.95.3/libio/iolibio.h:1,
                 from ../../../gcc-2.95.3/libio/libioP.h:47,
                 from ../../../gcc-2.95.3/libio/iogetline.c:26:
/usr/include/bits/stdio-lock.h:24: lowlevellock.h: No such file or 
make[2]: *** [iogetline.o] Error 1
make[2]: Leaving directory `/sources/gcc-build/i686-pc-linux-gnu/libio'
make[1]: *** [all-target-libio] Error 2
make[1]: Leaving directory `/sources/gcc-build'
make: *** [bootstrap] Error 2

The patches were applied and the configure was by the book.

John McSwain 

More information about the blfs-support mailing list