On Sat, 31 Dec 2005, saravanan ganapathy wrote:
Hi,
When I install gcc-2.95.3 on FC4, I am getting the following error.
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 directory make[2]: *** [iogetline.o] Error 1 make[2]: Leaving directory `/tmp/objdir/i686-pc-linux-gnu/libio' make[1]: *** [all-target-libio] Error 2 make[1]: Leaving directory `/tmp/objdir' make: *** [bootstrap] Error 2
How to fix this error? Pls help me.
1) why are you installing such an old version of gcc? i'm assuming there's a *really* good reason.
2) "lowlevellock.h" is typically part of the NPTL library, and i'm assuming you haven't added the NPTL add-on to glibc or something like that. again, this is probably related to you using such an old version of gcc.
rday