This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Endless make loop in iconvdata after make clean



Hi,

make clean doesn't remove the *.stmp files in iconvdata.  Rebuilding
glibc after a make clean leads to lots of messages like the following
during the creation of the *.d files:
iso-2022-jp.c:37: iso8859-7jp.h: No such file or directory

It seems that the dependency files are recreated in an endless loop
:-(.

I'm appending a patch that will remove the .stmp files also but
there're still problems with iconvdata.:-(

Could somebody please look into these problems:
- Why do we get an endless loop if the *.stmp files exists but no *.h
  files?
- If only some of the files exists (I interrupted the build process),
  the dependencies are build for make clean - ok this is only a minor
  nit.  It's not a bug per se, just unneccessary.

Thanks,
Andreas

1998-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* iconvdata/Makefile (generated): Add *.stmp files.

--- iconvdata/Makefile.~1~	Sat May 16 07:34:59 1998
+++ iconvdata/Makefile	Mon May 18 09:07:08 1998
@@ -263,7 +263,8 @@
 			  iso8859-7.h iso8859-8.h iso8859-10.h		 \
 			  iso8859-7jp.h
 
-generated = $(sed-generated-headers) $(perl-generated-headers) iconv-test.out
+generated = $(sed-generated-headers) $(perl-generated-headers) iconv-test.out \
+		$(sed-generated-headers:%.h=%.stmp) $(perl-generated-headers:%.h=%.stmp)
 ifdef objpfx
 generated += $(objpfx)gconv-modules
 endif

-- 
 Andreas Jaeger   aj@arthur.rhein-neckar.de    jaeger@informatik.uni-kl.de
  for pgp-key finger ajaeger@alma.student.uni-kl.de


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]