On 11/29/21 1:47 PM, Joel Ebel via Bug reports for the GNU Bourne Again
SHell wrote:
> After applying patchlevel 10 to bash 5.1, I can no longer compile it with
> --enable-minimal-config applied to the configure script. It returns the
> following error:
> 
> /usr/bin/ld: ./builtins/libbuiltins.a(wait.o): in function `wait_builtin':
> /home/jbebel/bash/builtins/./wait.def:185: undefined reference to
> `unset_waitlist'

Here's a patch:

*** ../bash-5.1-patched/builtins/wait.def       2021-11-17 16:29:28.000000000 
-0500
--- builtins/wait.def   2021-11-30 10:21:57.000000000 -0500
***************
*** 182,187 ****
--- 188,195 ----
        status = 128 + wait_signal_received;
        wait_sigint_cleanup ();
+ #if defined (JOB_CONTROL)
        if (wflags & JWAIT_WAITING)
        unset_waitlist ();
+ #endif
        WAIT_RETURN (status);
      }

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

  • Patchlevel 10 inc... Joel Ebel via Bug reports for the GNU Bourne Again SHell
    • Re: Patchlev... Chet Ramey

Reply via email to