On 6/2/24 9:43 AM, Brett Neumeier wrote:
./configure --build=x86_64-unknown-linux-gnu --host=aarch64-cbl-linux-gnu --enable-static-link --without-bash-mallocI get this failure: ------- aarch64-cbl-linux-gnu-gcc -c -I/home/lbl/work/sysroot/scaffolding/include -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib -I. tparam.c tparam.c: In function 'memory_out': tparam.c:67:3: error: implicit declaration of function 'write' [-Wimplicit-function-declaration] 67 | write (2, "virtual memory exhausted\n", 25); | ^~~~~ make[1]: *** [Makefile:56: tparam.o] Error 1 make[1]: Leaving directory '/home/lbl/work/build/bash-5.2.26/lib/termcap' make: *** [Makefile:702: lib/termcap/libtermcap.a] Error 1 ------- If I add "#include <unistd.h>" to tparam.c, it builds fine.
Thanks for the report. I'm more interested in why configuring for your cross-compilation environment doesn't find any of the curses libraries or headers. Do you have them installed? What does config.log say about searching for the curses and termcap libraries? The ancient termcap library bash includes is the bare minimum to get a successful link. -- ``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/
OpenPGP_signature.asc
Description: OpenPGP digital signature