worley@compass.UUCP (Dale Worley) (03/30/88)
I'm trying to install Emacs 18.50 on a Suprenum MPR, which runs Sys V Rel 3.1, which I'm not very familiar with. I'm using 'make' from the main directory to build it. Things work reasonably well until temacs tries to update the version number: ./temacs -batch -l inc-vers I get: *** Termination code 139 This seems to be a message produced by make, not temacs. I've never seen anything like it before, and I can't find any documentation as to what make is reporting. Presumably something strange is happening inside temacs, causing it to either terminate itself or causing the system to terminate it, and returning this peculiar signal (?) to make. Note that this version of make still gives the normal message *** Error code 1 when cc reports errors, etc., so "Termination code" is something new and different from "Error code". Does anybody have any idea what's going on? Dale
amoss@HUJINIX.BITNET (Amos Shapira) (04/02/88)
Hello everyone, On the 29th of Mar 1988, Dale Worley <compass.UUCP!worley@eddie.mit.edu> ask: > I'm trying to install Emacs 18.50 on a Suprenum MPR, which runs Sys V > Rel 3.1, which I'm not very familiar with. I'm using 'make' from the > main directory to build it. Things work reasonably well until temacs > tries to update the version number: > > ./temacs -batch -l inc-vers > > I get: > > *** Termination code 139 > > This seems to be a message produced by make, not temacs. I've never > seen anything like it before, and I can't find any documentation as to > what make is reporting. Presumably something strange is happening > inside temacs, causing it to either terminate itself or causing the > system to terminate it, and returning this peculiar signal (?) to > make. > > Note that this version of make still gives the normal message > > *** Error code 1 > > when cc reports errors, etc., so "Termination code" is something new > and different from "Error code". > > Does anybody have any idea what's going on? From a brief look in 4.2BSD Make sources, I found the following lines (in doname.c, function docom1()): if( status>>8 ) printf("*** Error code %d", status>>8 ); else printf("*** Termination code %d", status ); After reading wait(2) (BSD!) you can easely find that these lines mean: "If the exit() function had a non-zero argument then print "Error code %d", were "%d" prints the argument to exit(). Otherwise, print the termination status of the process". This looks to me as a situation that should generate a core dump. I don't know SV, but if it is like BSD about core dumps, then you should type "unlimit core" before trying to run make, then you can find where things go wrong. --Amos Shapira ============================================================================== BITNET: amoss@hujinix.bitnet CSnet: amoss%shum.huji.ac.il@relay.cs.net UUCPnet: ucbvax!shum.huji.ac.il!amoss Domain-Style: amoss@shum.huji.ac.il ============================================================================== "Super users do it without asking for permission." - me