Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!uunet!mcsun!hp4nl!fwi.uva.nl!casper From: casper@fwi.uva.nl (Casper H.S. Dik) Newsgroups: comp.lang.perl Subject: makedepend bug in 4.010. Message-ID: <1991Jun13.082522.4072@fwi.uva.nl> Date: 13 Jun 91 08:25:22 GMT Sender: news@fwi.uva.nl Organization: FWI, University of Amsterdam Lines: 23 Nntp-Posting-Host: zoe.fwi.uva.nl If you use Perl's own malloc, makedepend can't find dependencies for malloc.o in the subdirectories. makedepend feeds ../malloc.c to stdin of cpp. cpp's algorithm used in finding #include "xxx" files depends on the pathname-prefix of the source file (in Unix implementations). /usr/lib/cpp ../malloc.c finds ../perl.h as include file (as in 4.003 makedepend), but /usr/lib/cpp < ../malloc.c doesn't. (4.010 makedepend) This causes make to fail in subdirectories, because malloc.o is never created. Casper -- | Casper H.S. Dik RELIGION KILLS | casper@fwi.uva.nl