Xref: utzoo comp.unix.i386:3089 comp.unix.microport:4009 Path: utzoo!attcan!uunet!cs.utexas.edu!usc!brutus.cs.uiuc.edu!apple!snorkelwacker!think!husc6!contact!umb!blarson From: blarson@umb.umb.edu (Bruce Robert Larson) Newsgroups: comp.unix.i386,comp.unix.microport Subject: Re: Trying to get BASH going. Summary: Solve for status.bytes.low Message-ID: <1033@umb.umb.edu> Date: 21 Feb 90 07:13:08 GMT References: <1990Feb20.070242.4567@rancho.uucp> Organization: UMASS-Boston, Boston, MA Lines: 21 In article <1990Feb20.070242.4567@rancho.uucp>, rock@rancho.uucp (Rock Kent) writes: > I've been trying the get the GNU Bourne Again Shell (BASH) to compile > on a Microport V/386 system. I'm currently failing the compile in > nojobs.c at line 169 with an illegal lhs of assignment operator: > status.w_termsig = 0; > This apparently conflicts with line 22 of jobs.h: > #define w_termsig bytes.low & 0x7f > status.w_termsig = 0 ==> status.bytes.low & 0x7f = 0 Since the logical conjunction of status.bytes.low and 0x7f is 0, then it follows that status.bytes.low must be 0. Replace ``status.w_termsig = 0'' on line 169 of nojobs.c with ``status.bytes.low = 0'' and the program will compile. I've compiled bash-1.02 and -1.04 under 386/ix 2.0.2. Even got 1.04 to compile on a 3B2 under Rel. 3.0 (brain-dead compiler)! Bruce