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.
Sarav
__________________________________________ Yahoo! DSL Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com
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
--- "Robert P. J. Day" rpjday@mindspring.com wrote:
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.
- why are you installing such an old version of
gcc? i'm assuming there's a *really* good reason.
- "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
I need to install another kernel 2.4.20 on this system. To install 2.4.20, I need to use gcc-2.95.
Now explain me what I have to do?
Sarav
__________________________________________ Yahoo! DSL Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com
saravanan ganapathy wrote:
--- "Robert P. J. Day" rpjday@mindspring.com wrote:
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.
- why are you installing such an old version of
gcc? i'm assuming there's a *really* good reason.
- "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
I need to install another kernel 2.4.20 on this system. To install 2.4.20, I need to use gcc-2.95.
Now explain me what I have to do?
If you want a 2.4 kernel, best to use a distro that supports it. For example, the aged RHL 7.1 through FC2 (I think), or Debian.
You are likely to get into trouble trying to run a 2.4 kernel on FC3 or later as, almost certainly, essential software (such as gcc 2.9x) is mussing.
btw Red Hat never shipped gcc 2.95.
On Sat, Dec 31, 2005 at 05:06:49AM -0800, 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.
Run yum update ? This is #162634, which got fixed in glibc-2.3.5-10.1 and above.
Jakub
--- Jakub Jelinek jakub@redhat.com wrote:
On Sat, Dec 31, 2005 at 05:06:49AM -0800, 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.
Run yum update ? This is #162634, which got fixed in glibc-2.3.5-10.1 and above.
Thx. After the 'yum update' , I could install gcc-2.95.3.
"yum update" updates all the packages. I want to know what are all the packages to be updated to fix this issue.
Sarav
__________________________________________ Yahoo! DSL Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com
saravanan ganapathy wrote:
--- Jakub Jelinek jakub@redhat.com wrote:
: *** gcc-2.95 [bootstrap] Error 2
How to fix this error? Pls help me.
Run yum update This is #162634, which got fixed in glibc-2.3.5-10.1 and above.
Thx. After the 'yum update' , I could install gcc-2.95.3.
"yum update" updates all the packages. I want to know what are all the packages to be updated to fix this issue.
Like Jakub said, glibc-2.3.5-10.1 (and newer). fixed it.
-- Rex