Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site rlgvax.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!bellcore!decvax!genrad!teddy!panda!talcott!harvard!seismo!rlgvax!guy From: guy@rlgvax.UUCP (Guy Harris) Newsgroups: net.unix-wizards Subject: Re: HELP!!! Can't Compile Netnews Code Message-ID: <376@rlgvax.UUCP> Date: Sun, 20-Jan-85 16:39:27 EST Article-I.D.: rlgvax.376 Posted: Sun Jan 20 16:39:27 1985 Date-Received: Wed, 23-Jan-85 05:47:32 EST References: <1658@proper.UUCP> Organization: CCI Office Systems Group, Reston, VA Lines: 32 > I am having problems getting the Netnews software up and running > on my system. I am using a Zilog System 8000. The problem > code appears to be located in 'readr.c', 'visual.c' and 'expire.c' > this prevents me from being able to compile the critical > program 'readnews'. Apparently, there aren't very many > people out their running System III, and my newsfeed group, > 'philabs' hasn't been able to help me. They've never seen > the problems I'm having before. > > There is an include file 'setjmp.h' which my system doesn't > have. Following is a typical error. This problem has nothing whatsoever to do with System III. It has to do with the fact that the calling sequence used by Zilog makes "setjmp/longjmp" have problems with register variables when used in the routine that calls "setjmp". They renamed "setjmp" to "setret" and "longjmp" to "longret"; you have to include "setret.h" (this is as of a couple of years ago; the names may have changed). If I remember the problem correctly, though, the same problem exists in all other machines where the calling sequence 1) saves a variable number of registers on the stack and 2) doesn't save anything on the stack indicating which registers were saved. The calling sequence used by most 68000 machines has the same problem (why waste cycles pushing a mask onto the stack when it wouldn't be used 99.44% of the time?). As such, I don't know whether Zilog really should have bothered fiddling "setjmp". (By the way, this probably should have been posted to net.news.b, not net.unix-wizards, as it's a problem with "news" not UNIX.) Guy Harris {seismo,ihnp4,allegra}!rlgvax!guy