glibc 2.0.103
Ulrich Drepper
drepper@cygnus.com
Sat Nov 21 10:43:00 GMT 1998
Thorsten Kukuk <kukuk@weber-eb.uni-paderborn.de> writes:
> As a short fix to build the glibc:
> Add a "\" after the lines _inet_ until _streams_, not after _login_.
> This should allow you to compile the library.
Could you try the following UNTESED patch:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Index: Makeconfig
===================================================================
RCS file: /glibc/cvsfiles/libc/Makeconfig,v
retrieving revision 1.203
diff -u -r1.203 Makeconfig
--- Makeconfig 1998/11/20 17:20:49 1.203
+++ Makeconfig 1998/11/21 17:24:46
@@ -742,12 +742,6 @@
ifndef avoid-generated
-include $(common-objpfx)sysd-dirs
-define \n
-
-
-endef
-sysdep-subdirs := $(subst $(\n), ,$(sysdep-subdirs))
-sysdep-inhibit-subdirs := $(subst $(\n), ,$(sysdep-inhibit-subdirs))
endif
# These are the subdirectories containing the library source. The order
@@ -776,12 +770,12 @@
all-Subdirs-files = $(wildcard $(config-sysdirs:%=$(..)%/Subdirs))
$(common-objpfx)sysd-dirs: $(common-objpfx)config.make $(all-Subdirs-files)
- (echo define sysdep-subdirs; \
- sed 's/[#-].*$$//' $(all-Subdirs-files) /dev/null; \
- echo endef; \
- echo define sysdep-inhibit-subdirs; \
- sed '/-.*$$/!d;s/^-//' $(all-Subdirs-files) /dev/null; \
- echo endef; \
+ ($(AWK) 'END { printf ("sysdep-subdirs =") }' /dev/null; \
+ $(AWK) '/^[^#-]/ { printf (" %s", $$0) }' $(all-Subdirs-files);\
+ echo; \
+ $(AWK) 'END { printf ("sysdep-inhibit-subdirs =") }' /dev/null;\
+ $(AWK) '/^-/ { printf (" %s", $$0) }' $(all-Subdirs-files); \
+ echo; \
echo 'sysd-dirs-done = t'; \
) > $@-tmp
mv -f $@-tmp $@
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------
More information about the Libc-hacker
mailing list