Bill Allombert on Sun, 10 Feb 2013 12:35:23 +0100


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

Re: tune-gen.h


On Sat, Feb 09, 2013 at 11:56:07PM -0500, Charles Greathouse wrote:
> I did not delete tune.h or tune-gen.h in src/kernel/gmp (or
> src/kernel/none). But even when I remove the copy from Olinix-x86_64 I get
> build errors:
> 
> In file included from ../src/kernel/gmp/mp.c:43:0:
> ../src/kernel/none/tune-gen.h:20:33: error: â__Flx_DIVREM_BARRETT_LIMITâ
> undeclared here (not in a function)
> ../src/kernel/none/tune-gen.h:22:33: error: â__Flx_BARRETT_LIMITâ
> undeclared here (not in a function)
> ../src/kernel/none/tune-gen.h:29:33: error: â__FpX_BARRETT_LIMITâ
> undeclared here (not in a function)
> make[1]: *** [mpker.o] Error 1

Well, theses values are defined in
src/kernel/gmp/tune.h and src/kernel/none/tune.h
They are written at the start of Olinux-x86_64/parilvl1.h
which is then written in Olinux-x86_64/mpinl.h.
You should be able to track them down.

Cheers,
Bill.