Bug 162634
Summary: | lowlevellock.h | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jungwoo Ha <habals> |
Component: | glibc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED RAWHIDE | QA Contact: | Brian Brock <bbrock> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | CC: | bsingharora, drepper, dwmw2, maxtractor |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 2.3.90-2 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-07-07 20:50:00 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jungwoo Ha
2005-07-06 23:31:51 UTC
Can you explain what do you need bits/stdio-lock.h for? I'm compiling GCC-2.95.3 using GCC-4.0.0. /prj/src/gcc/gcc-2.95.3/gcc/xgcc -B/prj/src/gcc/gcc-2.95.3/gcc/ - B/usr/local/i686-pc-linux-gnu/bin/ -c -g -O2 -fvtable-thunks -D_GNU_SOURCE - fno-implicit-templates -I. -I. -nostdinc++ -D_IO_MTSAFE_IO stdstrbufs.cc In file included from libio.h:167, from iolibio.h:1, from libioP.h:47, from stdstrbufs.cc:32: /usr/include/bits/stdio-lock.h:24: lowlevellock.h: No such file or directory make[1]: *** [stdstrbufs.o] Error 1 make[1]: Leaving directory `/prj/src/gcc/gcc-2.95.3/i686-pc-linux-gnu/libio' make: *** [all-target-libio] Error 2 The file is definitely never going to be distributed. It is not part of the API. Remove the _IO_MTSAFE_IO definition from the command line and do whatever else is necessary to make this compile without using stdio-lock.h. This is just a symptom of using completely obsolete code. I have changed glibc.spec, so that it installs sysdeps/generic/bits/stdio-lock.h over the NPTL specific header. The generic <bits/stdio-lock.h> is what linuxthreads was using and should work just fine with NPTL as well. *** Bug 163131 has been marked as a duplicate of this bug. *** (In reply to comment #4) > I have changed glibc.spec, so that it installs sysdeps/generic/bits/stdio-lock.h > over the NPTL specific header. The generic <bits/stdio-lock.h> is what > linuxthreads was using and should work just fine with NPTL as well. Hi. So, how can I solve this error? I need gcc-2.95.3 to install some application which needs it and I don't understand what should I do to be successful in instalation of gcc-2.95.3. Any help is appreciated. Thanks a lot in advance. My error: In file included from ../../../zdroj_gcc/libio/libio.h:167, from ../../../zdroj_gcc/libio/iolibio.h:1, from ../../../zdroj_gcc/libio/libioP.h:47, from ../../../zdroj_gcc/libio/iogetline.c:26: /usr/include/bits/stdio-lock.h:24: lowlevellock.h: nenà souborem ani adresáÅem make[2]: *** [iogetline.o] Error 1 make[2]: Leaving directory `/opt/gcc-2.95.3/i686-pc-linux-gnu/libio' make[1]: *** [all-target-libio] Error 2 make[1]: Leaving directory `/opt/gcc-2.95.3' make: *** [bootstrap] Error 2 [root@localhost gcc-2.95.3]# |