Bill Allombert on Wed, 06 Jun 2012 11:04:07 +0200


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

Re: Error making git version of gp


On Tue, Jun 05, 2012 at 10:11:52PM -0400, Charles Greathouse wrote:
> When trying to build the latest version of gp (git version committed
> on Tue Jun 5 16:57:25 2012 +0200, hash
> f061a70ade9ff6fd468a1b4e5b61821a92aae4b9) I get this error:
> 
> In file included from ../src/kernel/gmp/mp.c:43:0:
> ../src/kernel/none/tune-gen.h:19:30: error: â__Flx_INVBARRETT_LIMITâ
> undeclared here (not in a function)
> ../src/kernel/none/tune-gen.h:20:30: error: â__Flx_REM_BARRETT_LIMITâ
> undeclared here (not in a function)
> ../src/kernel/none/tune-gen.h:21:30: error: â__Flx_POW_BARRETT_LIMITâ
> undeclared here (not in a function)
> ../src/kernel/none/tune-gen.h:25:30: error: â__FpX_INVBARRETT_LIMITâ
> undeclared here (not in a function)
> ../src/kernel/none/tune-gen.h:26:30: error: â__FpX_REM_BARRETT_LIMITâ
> undeclared here (not in a function)
> ../src/kernel/none/tune-gen.h:27:30: error: â__FpX_POW_BARRETT_LIMITâ
> undeclared here (not in a function)
> make[1]: *** [mpker.o] Error 1
> make: *** [gp] Error 2
> Could not make gp.

Hello Charles,

You probably have an outdated tune.h file in Olinux-xxx
If you prefere not to regenerate your tuning, you can just do
s/MONTGOMERY/BARRETT/g in this file.

Cheers,
Bill.