gcc 2.95.x

Dan Osterrath Dan.Osterrath at gmx.de
Fri Aug 26 04:15:58 PDT 2005


Hi,

I need to install libstdc++.so.5 on my LFS system
(6.0-testing-20040901). Unfortunately this gcc version was removed from
the blfs book so I tried the instructions from blfs 5.0. I added another
patch for the trap posix incompatibility but when compiling it stops
with the following error:

----------------- snip --------------------------
make[2]: Entering directory
`/srv/sources/gcc-2-build/i686-pc-linux-gnu/libio'
if [ x"yes" = xyes ] && [ ! -d pic ]; then \
  mkdir pic; \
else true; fi
touch stamp-picdir
test x"yes" != xyes ||\
  /srv/sources/gcc-2-build/gcc/xgcc -B/srv/sources/gcc-2-build/gcc/
-B/opt/gcc-2.95.3/i686-pc-linux-gnu/bin/ -c -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: Datei oder
Verzeichnis nicht gefunden
make[2]: *** [iogetline.o] Fehler 1
make[2]: Leaving directory
`/srv/sources/gcc-2-build/i686-pc-linux-gnu/libio'
make[1]: *** [all-target-libio] Fehler 2
make[1]: Leaving directory `/srv/sources/gcc-2-build'
make: *** [bootstrap] Fehler 2
----------------- snip --------------------------

Why the hell does /usr/include/bits/stdio-lock.h include a file
lowlevellock.h and can not find it?
Has anyone tips for installing gcc 2.95.x into /opt on a
linux-2.6-gcc-3.4.1-glibc-2.3.4-system?

Thanx for your help,
Dan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxfromscratch.org/pipermail/blfs-support/attachments/20050826/54037dc9/attachment.sig>


More information about the blfs-support mailing list