Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!rutgers!sri-unix!hplabs!cae780!amdcad!dopey!jimb
From: jimb@dopey.AMD.COM (Jim Budler)
Newsgroups: news.software.b,news.admin
Subject: Re: The Mysterious Patch#2 Bug
Message-ID: <259@dopey.AMD.COM>
Date: Tue, 23-Dec-86 13:42:36 EST
Article-I.D.: dopey.259
Posted: Tue Dec 23 13:42:36 1986
Date-Received: Tue, 23-Dec-86 22:53:01 EST
References: <655@instable.UUCP)
Reply-To: jimb@dopey.UUCP (Jim Budler)
Organization: Advanced Micro Devices, Inc., Sunnyvale, Ca.
Lines: 34
Xref: mnetor news.software.b:139 news.admin:90


In article <655@instable.UUCP) amos@instable.UUCP (Amos Shapir) writes:
)After installing Patch#2 and running 'make':
)	cc  checknews.o process.o cpathinit.o -o checknews
)Undefined:
)_line
)_header
)*** Error code 1
)Stop.
)
)The Makefile says:
)checknews:  checknews.o process.o cpathinit.o rextern.o
)	$(CC) $(LFLAGS) checknews.o process.o cpathinit.o rextern.o -o checknews
)
)So I removed 'checknews' and tried again. This time it did:
)	cc  checknews.o process.o cpathinit.o rextern.o -o checknews
)and went on compiling the rest correctly.
)The $64K question: were did 'rextern.o' go the first time 'make' was run???

Simple really, although I think the Makefile should be fixed.

The first time through, make(1) detects that makefile is out of date
compared to makefile.dist, runs localize.sh to recreate it, then
continues, using the existing image of the original makefile in
memory. The original makefile, in this case, did not have rextern.o
in the checknews dependencies.

I think that the amount of included text above,
and the amount of response are appropriate.
-- 
+==== Jim Budler ==== Advanced Micro Devices, Inc. ==== (408) 749-5806 ====+
|               Compuserve:     72415,1200                                 |
|               E-mail:   jimb@amdcad.AMD.COM                              |
+======================== .signature = 4 lines ============================+