I figured I'd try compiling against the latest source (3.0.16)... http://ftp.gnu.org/pub/gnu/bash/
Configure line was:
./configure --prefix=/usr/local --enable-static-link --build=i586-pc-interix
... then a "gmake", which dies with:
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DS
HELL -DNO_MAIN_ENV_ARG -DBROKEN_DIRENT_D_INO -D_ALL_SOURCE -D_ALL_SOURCE -I/usr
/local/include -I/usr/local/ssl/include strtoll.c
In file included from strtoll.c:24:
strtol.c:148:12: invalid suffix "ui64" on integer constant
strtol.c:149:12: invalid suffix "ui64" on integer constant
strtol.c:223:40: invalid suffix "i64" on integer constant
strtol.c:224:37: invalid suffix "i64" on integer constant
strtol.c:234:25: invalid suffix "i64" on integer constant
strtol.c:234:43: invalid suffix "i64" on integer constant
gmake[1]: *** [strtoll.o] Error 1
gmake[1]: Leaving directory `/dev/fs/C/Users/stanlj/SUA/bash/bash-3.0.16/lib/sh'
gmake: *** [lib/sh/libsh.a] Error 1
Which I assume are these bits of ./bash-3.0.16/lib/sh/strtol.c
Lines: 148-149
cutoff = STRTOL_ULONG_MAX / (unsigned LONG int) base;
cutlim = STRTOL_ULONG_MAX % (unsigned LONG int) base;
Lines: 223-224
? -((unsigned LONG int) (STRTOL_LONG_MIN + 1)) + 1
: (unsigned LONG int) STRTOL_LONG_MAX))
Line: 234
return negative ? STRTOL_LONG_MIN : STRTOL_LONG_MAX;
|