Problems with nmake (from the toolchest) under 4.3BSD

Bill Jones billj at zaphod.UUCP
Sat Feb 6 13:47:45 AEST 1988


In article <1773 at rayssd.ray.com> dhb at rayssd.ray.com (David H. Brierley) writes:
>Is anyone successfully using nmake (fourth generation make from the
>ATT toolchest) on a 4.3BSD system.  I dont think it makes any difference
>but specifically, MtXinu 4.3+NFS.  I brought over the source code from
>our 4.2 machine, compiled it and installed it.  No indications of any
>errors so far.  However, when I run it I get one or two strange messages
>and then it core dumps.  The messages are usually complaints about
>"source for (insert module or include file here) has changed".  The only
>changes that I have made to the source are fiddling with "MSGFD" to get
>it to run correctly.

We're not running 4.3 here, but I think I may have found and fixed the
same bug.  The Achilles heel is that .h files which #include each other
with a  #ifndef to break the chain cause isintdep to recurse and dump
core.  This will show up as an enormous repetitive backtrace when
you look at it with dbx or adb.  I have a patch to fix this which
borrows the r->mark field to determine if we've been by already, and
takes care not to recurse unless we know it's 0.   I'll send it via
mail to anyone who has a licence for nmake.
-- 
Bill Jones, Develcon Electronics, 856 51 St E, Saskatoon S7K 5C7 Canada
uucp:  ...ihnp4!sask!zaphod!billj               phone:  +1 306 931 1504



More information about the Comp.unix.wizards mailing list