[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
glibc 2.2.4: `make clean all' bails out due to a dependency problem
From: |
Maciej W. Rozycki |
Subject: |
glibc 2.2.4: `make clean all' bails out due to a dependency problem |
Date: |
Thu, 23 Aug 2001 20:53:25 +0200 (MET DST) |
Hi,
`make clean all' fails. It happens because building abi-versions.h
requires Versions.all and the rule to make Versions.all is conditional and
is disabled when abi-versions.h is to be built. The failure looks as
follows:
rm -f ../bits/stdio_lim.hT ../bits/stdio_lim.dT ../bits/stdio_lim.dt
touch ../bits/stdio_lim.st
make[1]: *** No rule to make target `../Versions.all', needed by
`../abi-versions.h'. Stop.
make[1]: Leaving directory `/home/macro/src/redhat/BUILD/glibc-2.2.4/csu'
make: *** [csu/subdir_lib] Error 2
The following patch fixes the problem for me.
2001-08-23 Maciej W. Rozycki <address@hidden>
* Makerules ($(common-objpfx)abi-versions.h): Disable the rule
until sysdep-subdirs is known.
Maciej
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: address@hidden, PGP key available +
glibc-2.2.4-abi-versions.patch
diff -up --recursive --new-file glibc-2.2.4.macro/Makerules
glibc-2.2.4/Makerules
--- glibc-2.2.4.macro/Makerules Mon Jul 23 17:53:35 2001
+++ glibc-2.2.4/Makerules Wed Aug 22 00:28:14 2001
@@ -110,6 +110,8 @@ before-compile := $(filter $(common-objp
$(before-compile))
# Even before that, we need abi-versions.h which is generated right here.
+# Wait until sysdep-subdirs is known, though.
+ifeq ($(sysd-sorted-done),t)
ifeq ($(versioning),yes)
ifndef avoid-generated
before-compile := $(common-objpfx)abi-versions.h $(before-compile)
@@ -124,6 +126,7 @@ $(common-objpfx)%.latest: $(common-objpf
mv -f address@hidden $@
endif # avoid-generated
endif # $(versioning) = yes
+endif # sysd-sorted-done
# Remove existing files from `before-compile'. Things are added there when
- glibc 2.2.4: `make clean all' bails out due to a dependency problem,
Maciej W. Rozycki <=