Compile crashes and burns on 32-bit system
I recently compiled this successfully on Slackware64 15.0. I then found out that the compile fails on Slackware (32-bit) 15.0. Compiling with -j1, I see
...
CC graph/gog-data-set.lo
CC graph/gog-renderer.lo
CC math/go-accumulator.lo
CC math/go-dtoa.lo
CC math/go-math.lo
CC math/go-rangefunc.lo
CC math/go-regression.lo
CC math/go-cspline.lo
CC math/go-complex.lo
CC math/go-fft.lo
CC math/go-matrix.lo
CC math/go-matrix3x3.lo
CC math/go-quad.lo
CC math/go-R.lo
CC math/go-ryu.lo
math/go-ryu.c:1301:3: error: unknown type name ‘__uint128_t’
1301 | __uint128_t mantissa;
| ^~~~~~~~~~~
math/go-ryu.c:1316:11: error: unknown type name ‘__uint128_t’
1316 | const __uint128_t bits, const uint32_t mantissaBits, const uint32_t exponentBits, const bool explicitLeadingBit);
| ^~~~~~~~~~~
math/go-ryu.c:1357:9: error: unknown type name ‘__uint128_t’
1357 | typedef __uint128_t uint128_t;
| ^~~~~~~~~~~
...
I configured as follows:
./configure \
--prefix=/usr \
--libdir=/usr/lib \
--sysconfdir=/etc \
--localstatedir=/var \
--docdir=/usr/doc/goffice-0.10.56 \
--build=i586-slackware-linux
Is there an (easy) fix for this problem?
Thanks.
Edited by Jim Diamond