This seemed to happen over and over and only during "make install".
So I went for a simple config just to get something.
Config was trivial :
$ ../bash-5.2.32/configure --prefix=/opt/bw \
--enable-minimal-config --enable-history --enable-job-control \
--enable-multibyte --enable-readline \
--enable-strict-posix-default --enable-threads=posix
which seems fine.
My env vars were trivial :
CC=/usr/bin/gcc
CPPFLAGS=-D_LARGEFILE64_SOURCE
HOME=/home/dclarke
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_TIME=C
PAGER=/usr/bin/more
PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin
really nothing too interesting.
However after the compile I get this for "make install" :
../../../bash-5.2.32/examples/loadables/realpath.c:169:45: error: ‘v’
undeclared (first use in this function)
169 | bind_array_element (v, ind, r, 0);
| ^
../../../bash-5.2.32/examples/loadables/realpath.c:169:45: note: each
undeclared identifier is reported only once for each function it appears in
../../../bash-5.2.32/examples/loadables/realpath.c:169:48: error: ‘ind’
undeclared (first use in this function); did you mean ‘int’?