Bill Allombert on Tue, 24 Jan 2023 18:00:10 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Build Failure


On Tue, Jan 24, 2023 at 08:41:46AM -0800, Thomas D. Dean wrote:
> > git pull
> Already up to date.
> 
> > make clean
> ...
> > make all
> ...
> usr/bin/gcc  -c -O3 -Wall -fno-strict-aliasing    -funroll-loops -fPIC -I.
> -I../src/headers  -o mpker.o mpker.c
> In file included from ../src/kernel/gmp/mp.c:42:
> ../src/kernel/none/tune-gen.h:74:39: error: '__ZM2_MUL_LIMIT' undeclared
> here (not in a function); did you mean 'ZM2_MUL_LIMIT'?
>    74 | long ZM2_MUL_LIMIT                  = __ZM2_MUL_LIMIT;
>       |                                       ^~~~~~~~~~~~~~~
>       |                                       ZM2_MUL_LIMIT
> make[2]: *** [Makefile:1162: mpker.o] Error 1

If you have a file Olinux-x86_64-nogmp/tune.h you need to update it,
delete it or regenerates it with Configure --tune

You can also just add a line
#define __ZM2_MUL_LIMIT                  64
to it.

Cheers,
Bill