🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #827

Help!

#827
From: Brian Fox
Date: Tue, 12 Dec 1989 02:24
45 lines
1648 bytes
    From: humpty!icn@relay.eu.net (Inge Chr. Nagelhus)

    Hi!
	    Though very high praise from my friends, I have not been able
    to compile bash successfully on our computer(s), maybe due to different
    hardware (error not showing up on their 68030 SYSV computer).

    After a "make", the following pops up:

	    gcc -traditional -c  -g -Di386 -DTARGET=i386 -DSYSV -I./ jobs.c
    nojobs.c: In function wait_for:
    nojobs.c:168: invalid lvalue in assignment

   From: comcon!tim@uunet.uu.net (Tim Brown)
   Date: Mon, 11 Dec 89 15:29:50 AST
   X-Mailer: ELM [version 2.2 PL0]

   I am running ISC202 SysV3.2 on a 386.  I get pretty far but don't what to
   do with this error:

	   cc -c  -g -Bstatic -DATT386 -DTARGET=ATT386 -DSYSV -I./ jobs.c
   "./nojobs.c", line 168: illegal lhs of assignment operator

   Can you help point me in the right direction?

Yeah.  The left hand side of the assignment operator is bad.  That line
is:

	     status.w_termsig = status.w_retcode = 0;

and the problem is the definition for status.w_termsig...

(jobs.h)
#define w_termsig bytes.low & 0x7f


Try:
#define w_termsig bytes.low

and see if Bash works after you compile it.  Please let me know.

Brian Fox

PS: This answers both people, yes?
Technical Details
Message-ID: <8912120224.AA00117@sbphy.Ucsb.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!iuvax!cica!tut.cis.ohio-state.edu!sbphy.ai.mit.edu!bfox

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!iuvax!cica!tut.cis.ohio-state.edu!sbphy.ai.mit.edu!bfox
From: bfox@sbphy.ai.mit.edu (Brian Fox)
Newsgroups: gnu.bash.bug
Subject: Help!
Message-ID: <8912120224.AA00117@sbphy.Ucsb.EDU>
Date: 12 Dec 89 02:24:49 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 45