On 3/16/21 11:07 AM, Michael Felt wrote:
On 16/03/2021 14:38, Chet Ramey wrote:
On 3/16/21 8:04 AM, Michael Felt wrote:
Decided to give bash-5.1 a try. I doubt it is major, but I get as far as:
"../../../src/bash-5.1.0/lib/sh/tmpfile.c", line 289.11: 1506-068 (W)
Operation between types "char*" and "int" is not allowed.
ld: 0711-317 ERROR: Undefined symbol: .mkdtemp
Then how does configure find it? It's a POSIX function, and that file
includes the appropriate headers.
Haven't looked at configure yet - but do not find it in the usual places:
root@x065:[/data/prj/gnu/bash/bash-5.0.18]grep mkdtemp /usr/include/*.h
root@x065:[/data/prj/gnu/bash/bash-5.0.18]grep mkdtemp /usr/include/sys/*.h
Also, not found on AIX 6.1 (TL9), but did find on AIX 7.1 TL4.
Sure, but configure checks for it, and bash only uses mkdtemp if configure
finds it. Why does configure find it?
--
``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/