linux - Compiling GMP for cross compiler problem -


i'm compiling gnu gmp mac/linux cross compiler i'm getting error:

in file included ../gmp-impl.h:102,                  fib_table.c:4: ../fib_table.h:4: warning: data definition has no type or storage class ../fib_table.h:4: warning: type defaults ‘int’ in declaration of ‘error’ ../fib_table.h:4: warning: type defaults ‘int’ in declaration of ‘error’ ../fib_table.h:4: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘data’ fib_table.c:7: warning: data definition has no type or storage class fib_table.c:7: warning: type defaults ‘int’ in declaration of ‘error’ fib_table.c:7: warning: type defaults ‘int’ in declaration of ‘error’ fib_table.c:7: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘data’ fib_table.c:107: warning: iso c not allow ‘;’ outside of function make[2]: *** [fib_table.lo] error 1 make[1]: *** [all-recursive] error 1 make: *** [all] error 2 

when running "make"

my configure command "./configure --prefix=/users/daniel/gmp --build=i386-linux"

make distclean solved me


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -