Problem by compiling GMP 6.0.2 ....

"Zhéxué M. Krawutschke [ Net.Admin & Sys.Admin ]" net.admin at xn--zhxu-cloud-c7ac.eu
Thu Mar 26 22:05:33 UTC 2020


Good Evening, together.

I want to compile GMP 6.0.2 on my ARMv7l - Node, because I need it for GNU-C 9.2.0 and 9.3.0 to compile.
This Node is an 32bit - System on DEBIAN 10 - Plattform.

If I take the command: „.configure ……“ - I´ve got no error - messages.
But if I take the command: „make“ - I´ve got a message, that there are some variables need 64bit:

/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo fib_table | sed 's/_$//'`   -O2 -pedantic -fomit-frame-pointer -march=armv7ve -mfloat-abi=hard -mfpu=neon -mtune=cortex-a15 -c -o fib_table.lo fib_table.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_fib_table -O2 -pedantic -fomit-frame-pointer -march=armv7ve -mfloat-abi=hard -mfpu=neon -mtune=cortex-a15 -c fib_table.c  -fPIC -DPIC -o .libs/fib_table.o
In file included from ../gmp-impl.h:147,
                 from fib_table.c:4:
../fib_table.h:4:1: warning: data definition has no type or storage class
 Error, error, this data is for 64 bits
 ^~~~~
../fib_table.h:4:1: warning: type defaults to ‘int’ in declaration of ‘Error’ [-Wimplicit-int]
../fib_table.h:4:8: warning: type defaults to ‘int’ in declaration of ‘error’ [-Wimplicit-int]
 Error, error, this data is for 64 bits
        ^~~~~
../fib_table.h:4:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘data’
 Error, error, this data is for 64 bits
                    ^~~~
fib_table.c:7:1: warning: data definition has no type or storage class
 Error, error, this data is for 64 bits
 ^~~~~
fib_table.c:7:1: warning: type defaults to ‘int’ in declaration of ‘Error’ [-Wimplicit-int]
fib_table.c:7:8: warning: type defaults to ‘int’ in declaration of ‘error’ [-Wimplicit-int]
 Error, error, this data is for 64 bits
        ^~~~~
fib_table.c:7:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘data’
 Error, error, this data is for 64 bits
                    ^~~~
fib_table.c:107:2: warning: ISO C does not allow extra ‘;’ outside of a function [-Wpedantic]
 };
  ^
make[2]: *** [Makefile:492: fib_table.lo] Error 1
make[2]: Leaving directory '/Zhexue-Cloud/scratch/Software/gmp-6.2.0/mpn'
make[1]: *** [Makefile:995: all-recursive] Error 1
make[1]: Leaving directory '/Zhexue-Cloud/scratch/Software/gmp-6.2.0'
make: *** [Makefile:785: all] Error 2

=============================================================================================================================================
So what can I do, is there any bugfixes or did I used an older Version of this program?

Best regards from Berlin


Matthias



More information about the gmp-bugs mailing list