Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site cepu.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!harpo!whuxlm!whuxl!houxm!ihnp4!zehntel!hplabs!sdcrdcf!trwrba!cepu!scw From: scw@cepu.UUCP (Stephen C. Woods) Newsgroups: net.sources.bugs,net.news.b,net.news.sa Subject: Bug in news 2.10{,.1,.2,*} Makefile (re: xref from rn) Message-ID: <371@cepu.UUCP> Date: Wed, 10-Oct-84 19:19:23 EDT Article-I.D.: cepu.371 Posted: Wed Oct 10 19:19:23 1984 Date-Received: Fri, 12-Oct-84 06:09:08 EDT References: <1357@sdcrdcf.UUCP> <273@wnuxb.UUCP> Reply-To: scw@cepu.UUCP (Stephen C. Woods) Organization: VA Wadsworth Med. Center; LA CA Lines: 43 Summary: Fixes missed recompiles in Makefile for News B In article <273@wnuxb.UUCP> netnews@wnuxb.UUCP (Ron Heiby) writes: >I have installed the inews.c.2.pat in a test version of my 2.10.2 >inews (along with the corresponding patches for header.h and header.c) >on my Unix 5.0.5 system (AT&T 3B20S). I'd appreciate it if anyone >out there who has success[...]with digits. When I was doing beta testing >of rn, under 2.10, I had the same problem. I wasn't so careful that >time, and incoming news got botched in the same manner. Help!? Thanks. I have, and I can. I had the identical problem with the Beta test version and just didn't install the patch. But with rn 4.1 came a warning that the dependancies in the make file are wrong, I did some checking and .... Boy are they ever wrong. There is however a quick fix, add the following six(6) lines to your makefile: rparams.h: params.h;@touch rparams.h iparams.h: params.h;@touch iparams.h params.h: defs.h header.h;@touch params.h The reason that this patch is required can be deduced from a 'grep #include *.h' (here with the <...xyz.h> stuff removed). iparams.h:#include "params.h" params.h:#include "defs.h" params.h:#include "header.h" rparams.h:#include "params.h" Many *.o's depend on iparams.h or rparams.h but not on defs.h or params.h or header.h *EVEN THOUGH* they are dragged along. I have not tried to figure out just which module causes the DOXREFS to break, nor have I really attempted to determine the CORRECT dependancy for each *.o. You should put these lines into Makefile.{v7,usg,whatever} as well (just in case you need to run localize.sh). -- Stephen C. Woods (VA Wadsworth Med Ctr./UCLA Dept. of Neurology) uucp: { {ihnp4, uiucdcs}!bradley, hao, trwrb, sdcrdcf}!cepu!scw ARPA: cepu!scw@ucla-cs location: N 34 3' 9.1" W 118 27' 4.3"