Problemas make mpfr2.4.2

Iniciado por flacc, 19 Abril 2018, 19:17 PM

0 Miembros y 1 Visitante están viendo este tema.

flacc

Hola, intento compilar, la librería mpfr para un tutorial en el que se hace compilación cruzada para arm, pero cuando hago make me arroja errores que de momento no soy capas de solucionar, espero me puedan guiar para solucionar el error.

Estoy probando en Manjaro 17.1.8

Los comandos para instalar mpfr que dice el tutorial son los siguientes:

Código (bash) [Seleccionar]

tar jxf mpfr-2.4.2.tar.bz
./configure -prefix=/usr
make

su
make install
exit


Obviando las cosas de bash, el problema me viene con make, el primer log es de la configuración:


checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to disable maintainer-specific portions of Makefiles... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for CC and CFLAGS in gmp.h... yes CC= CFLAGS=
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for ICC... no
checking whether gcc and cc understand -c and -o together... yes
checking for function prototypes... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for string.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking for main in -lm... yes
checking whether time.h and sys/time.h may both be included... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for string.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/fpu.h usability... no
checking sys/fpu.h presence... no
checking for sys/fpu.h... no
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking how to copy va_list... va_copy
checking for memmove... yes
checking for memset... yes
checking for setlocale... yes
checking for strtol... yes
checking for gettimeofday... yes
checking for long long int... yes
checking for intmax_t... yes
checking for union fpc_csr... no
checking for fesetround... yes
checking for gcc float-conversion bug... no
checking for denormalized numbers... yes
checking if NAN == NAN... no
checking if charset has consecutive values... yes
checking for math/round... yes
checking for math/trunc... yes
checking for math/floor... yes
checking for math/ceil... yes
checking for math/rint... yes
checking for long double... yes
checking format of `long double' floating point... IEEE extended, little endian
checking for gmp.h... yes
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether gcc __attribute__ ((mode (XX))) works... yes
checking for recent GMP... yes
checking for gmp internal files... no
checking for working alloca.h... yes
checking for alloca... yes
checking for __gmpz_init in -lgmp... yes
checking if gmp.h version and libgmp version are the same... (6.1.2/6.1.2) yes
checking if gmp_printf supports "%jd"... yes
checking if gmp_printf supports "%hhd"... yes
checking if gmp_printf supports "%lld"... yes
checking if gmp_printf supports "%Lf"... yes
checking if gmp_printf supports "%td"... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating tests/Makefile
config.status: creating mparam.h
config.status: executing depfiles commands
config.status: executing libtool commands


y la salida de make:


Making all in tests
make[1]: Entering directory '/home/user/Downloads/mpfr-2.4.2/tests'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/user/Downloads/mpfr-2.4.2/tests'
make[1]: Entering directory '/home/user/Downloads/mpfr-2.4.2'
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_LOCALE_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_STDINT_H=1 -DHAVE_VA_COPY=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_HOST_CORE2=1 -DHAVE_LONG_LONG=1 -DHAVE_INTMAX_T=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_ROUND=1 -DHAVE_TRUNC=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_NEARBYINT=1 -DHAVE_LDOUBLE_IEEE_EXT_LITTLE=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ATTRIBUTE_MODE=1 -DHAVE_ALLOCA_H=1 -I.     -Wall -Wmissing-prototypes -Wpointer-arith -g -O2 -MT exceptions.lo -MD -MP -MF .deps/exceptions.Tpo -c -o exceptions.lo exceptions.c
libtool: compile:  gcc -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_LOCALE_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_STDINT_H=1 -DHAVE_VA_COPY=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_HOST_CORE2=1 -DHAVE_LONG_LONG=1 -DHAVE_INTMAX_T=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_ROUND=1 -DHAVE_TRUNC=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_NEARBYINT=1 -DHAVE_LDOUBLE_IEEE_EXT_LITTLE=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ATTRIBUTE_MODE=1 -DHAVE_ALLOCA_H=1 -I. -Wall -Wmissing-prototypes -Wpointer-arith -g -O2 -MT exceptions.lo -MD -MP -MF .deps/exceptions.Tpo -c exceptions.c  -fPIC -DPIC -o .libs/exceptions.o
In file included from mpfr-impl.h:81:0,
                from exceptions.c:23:
mpfr.h:141:9: error: unknown type name '__gmp_const'
typedef __gmp_const __mpfr_struct *mpfr_srcptr;
        ^~~~~~~~~~~
mpfr.h:141:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
typedef __gmp_const __mpfr_struct *mpfr_srcptr;
                                  ^
mpfr.h:204:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
__MPFR_DECLSPEC __gmp_const char * mpfr_get_version _MPFR_PROTO ((void));
                            ^~~~
mpfr.h:205:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
__MPFR_DECLSPEC __gmp_const char * mpfr_get_patches _MPFR_PROTO ((void));
                            ^~~~
mpfr.h:218:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
__MPFR_DECLSPEC __gmp_const char *
                            ^~~~
mpfr.h:257:45: error: expected ')' before 'mp_exp_t'
  mpfr_can_round _MPFR_PROTO ((mpfr_srcptr, mp_exp_t, mpfr_rnd_t, mpfr_rnd_t,
                                            ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:260:1: warning: parameter names (without types) in function declaration
__MPFR_DECLSPEC mp_exp_t mpfr_get_exp _MPFR_PROTO ((mpfr_srcptr));
^~~~~~~~~~~~~~~
mpfr.h:262:1: warning: parameter names (without types) in function declaration
__MPFR_DECLSPEC mp_prec_t mpfr_get_prec _MPFR_PROTO((mpfr_srcptr));
^~~~~~~~~~~~~~~
mpfr.h:282:37: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
  mpfr_get_f _MPFR_PROTO ((mpf_ptr, mpfr_srcptr, mpfr_rnd_t));
                                    ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:293:40: error: unknown type name '__gmp_const'; did you mean '__suseconds_t'?
  mpfr_set_str _MPFR_PROTO ((mpfr_ptr, __gmp_const char *, int, mpfr_rnd_t));
                                       ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:295:45: error: unknown type name '__gmp_const'; did you mean '__suseconds_t'?
  mpfr_init_set_str _MPFR_PROTO ((mpfr_ptr, __gmp_const char *, int,
                                            ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:298:37: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
  mpfr_set4 _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr, mpfr_rnd_t, int));
                                    ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:300:36: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
  mpfr_abs _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr, mpfr_rnd_t));
                                   ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:302:36: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
  mpfr_set _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr, mpfr_rnd_t));
                                   ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:303:54: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_neg _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr, mpfr_rnd_t));
                                                     ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:304:1: warning: parameter names (without types) in function declaration
__MPFR_DECLSPEC int mpfr_signbit _MPFR_PROTO ((mpfr_srcptr));
^~~~~~~~~~~~~~~
mpfr.h:306:40: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
  mpfr_setsign _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr, int, mpfr_rnd_t));
                                       ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:308:41: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
  mpfr_copysign _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr, mpfr_srcptr, mpfr_rnd_t));
                                        ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:308:54: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
  mpfr_copysign _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr, mpfr_srcptr, mpfr_rnd_t));
                                                     ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:327:64: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC mp_exp_t mpfr_get_z_exp _MPFR_PROTO ((mpz_ptr, mpfr_srcptr));
                                                               ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:328:62: error: expected ')' before 'mpfr_rnd_t'
__MPFR_DECLSPEC double mpfr_get_d _MPFR_PROTO ((mpfr_srcptr, mpfr_rnd_t));
                                                             ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:334:55: error: expected ')' before 'mpfr_rnd_t'
                                                      mpfr_rnd_t));
                                                      ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:335:1: warning: parameter names (without types) in function declaration
__MPFR_DECLSPEC double mpfr_get_d1 _MPFR_PROTO ((mpfr_srcptr));
^~~~~~~~~~~~~~~
mpfr.h:336:61: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC double mpfr_get_d_2exp _MPFR_PROTO ((long*, mpfr_srcptr,
                                                            ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:338:67: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC long double mpfr_get_ld_2exp _MPFR_PROTO ((long*, mpfr_srcptr,
                                                                  ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:340:61: error: expected ')' before 'mpfr_rnd_t'
__MPFR_DECLSPEC long mpfr_get_si _MPFR_PROTO ((mpfr_srcptr, mpfr_rnd_t));
                                                            ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:342:57: error: expected ')' before 'mpfr_rnd_t'
                                                        mpfr_rnd_t));
                                                        ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:344:49: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
                                                mpfr_srcptr, mpfr_rnd_t));
                                                ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:345:58: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC void mpfr_get_z _MPFR_PROTO ((mpz_ptr z, mpfr_srcptr f,
                                                         ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:357:62: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC void mpfr_nexttoward _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr));
                                                             ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:365:51: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
                                                  mpfr_srcptr, mpfr_rnd_t));
                                                  ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:367:55: error: unknown type name '__gmp_const'; did you mean '__suseconds_t'?
__MPFR_DECLSPEC int mpfr_fprintf _MPFR_PROTO ((FILE*, __gmp_const char*,
                                                      ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:370:47: error: unknown type name '__gmp_const'; did you mean '__suseconds_t'?
__MPFR_DECLSPEC int mpfr_printf _MPFR_PROTO ((__gmp_const char*, ...));
                                              ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:371:57: error: unknown type name '__gmp_const'; did you mean '__suseconds_t'?
__MPFR_DECLSPEC int mpfr_asprintf _MPFR_PROTO ((char**, __gmp_const char*,
                                                        ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:373:55: error: unknown type name '__gmp_const'; did you mean '__suseconds_t'?
__MPFR_DECLSPEC int mpfr_sprintf _MPFR_PROTO ((char*, __gmp_const char*,
                                                      ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:376:49: error: unknown type name '__gmp_const'; did you mean '__suseconds_t'?
                                                __gmp_const char*, ...));
                                                ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:397:54: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_pow _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,
                                                     ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:398:44: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
                                           mpfr_srcptr, mpfr_rnd_t));
                                           ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:399:57: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_pow_si _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,
                                                        ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:401:57: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_pow_ui _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,
                                                        ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:406:47: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
                                              mpfr_srcptr, mpfr_rnd_t));
                                              ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:407:56: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_pow_z _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,
                                                       ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:410:55: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_sqrt _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,
                                                      ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:414:59: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_rec_sqrt _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,
                                                          ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:417:54: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_add _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,
                                                     ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:418:44: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
                                           mpfr_srcptr, mpfr_rnd_t));
                                           ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:419:54: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_sub _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,
                                                     ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:420:44: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
                                           mpfr_srcptr, mpfr_rnd_t));
                                           ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:421:54: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_mul _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,
                                                     ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:422:44: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
                                           mpfr_srcptr, mpfr_rnd_t));
                                           ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:423:54: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_div _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,
                                                     ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:424:44: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
                                           mpfr_srcptr, mpfr_rnd_t));
                                           ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:426:57: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_add_ui _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,
                                                        ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:428:57: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_sub_ui _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,
                                                        ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:431:47: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
                                              mpfr_srcptr, mpfr_rnd_t));
                                              ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:432:57: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_mul_ui _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,
                                                        ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:434:57: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_div_ui _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,
                                                        ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:437:47: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
                                              mpfr_srcptr, mpfr_rnd_t));
                                              ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:439:57: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_add_si _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,
                                                        ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:441:57: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_sub_si _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,
                                                        ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:444:47: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
                                              mpfr_srcptr, mpfr_rnd_t));
                                              ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:445:57: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_mul_si _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,
                                                        ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:447:57: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_div_si _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,
                                                        ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:450:47: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
                                              mpfr_srcptr, mpfr_rnd_t));
                                              ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:452:56: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_add_d _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,
                                                       ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:454:56: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_sub_d _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,
                                                       ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:457:47: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
                                              mpfr_srcptr, mpfr_rnd_t));
                                              ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:458:56: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_mul_d _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,
                                                       ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:460:56: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_div_d _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,
                                                       ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:463:47: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
                                              mpfr_srcptr, mpfr_rnd_t));
                                              ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:465:54: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_sqr _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,mpfr_rnd_t));
                                                     ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:472:54: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_agm _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr, mpfr_srcptr,
                                                     ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:472:67: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_agm _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr, mpfr_srcptr,
                                                                  ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:475:54: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_log _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,mpfr_rnd_t));
                                                     ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:476:54: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_log2 _MPFR_PROTO ((mpfr_ptr,mpfr_srcptr,mpfr_rnd_t));
                                                     ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:477:56: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_log10 _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,
                                                       ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:479:56: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_log1p _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,
                                                       ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:482:54: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_exp _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,mpfr_rnd_t));
                                                     ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:483:54: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_exp2 _MPFR_PROTO ((mpfr_ptr,mpfr_srcptr,mpfr_rnd_t));
                                                     ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:484:56: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_exp10 _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,
                                                       ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:486:56: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_expm1 _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,
                                                       ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:488:54: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_eint _MPFR_PROTO ((mpfr_ptr,mpfr_srcptr,mpfr_rnd_t));
                                                     ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:489:53: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_li2 _MPFR_PROTO ((mpfr_ptr,mpfr_srcptr,mpfr_rnd_t));
                                                    ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:491:1: warning: parameter names (without types) in function declaration
__MPFR_DECLSPEC int mpfr_cmp  _MPFR_PROTO ((mpfr_srcptr, mpfr_srcptr));
^~~~~~~~~~~~~~~
mpfr.h:492:71: error: expected ')' before 'int'
__MPFR_DECLSPEC int mpfr_cmp3 _MPFR_PROTO ((mpfr_srcptr, mpfr_srcptr, int));
                                                                      ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:493:59: error: expected ')' before 'double'
__MPFR_DECLSPEC int mpfr_cmp_d _MPFR_PROTO ((mpfr_srcptr, double));
                                                          ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:494:60: error: expected ')' before 'long'
__MPFR_DECLSPEC int mpfr_cmp_ld _MPFR_PROTO ((mpfr_srcptr, long double));
                                                           ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:495:1: warning: parameter names (without types) in function declaration
__MPFR_DECLSPEC int mpfr_cmpabs _MPFR_PROTO ((mpfr_srcptr, mpfr_srcptr));
^~~~~~~~~~~~~~~
mpfr.h:496:60: error: expected ')' before 'unsigned'
__MPFR_DECLSPEC int mpfr_cmp_ui _MPFR_PROTO ((mpfr_srcptr, unsigned long));
                                                           ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:497:60: error: expected ')' before 'long'
__MPFR_DECLSPEC int mpfr_cmp_si _MPFR_PROTO ((mpfr_srcptr, long));
                                                           ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:498:65: error: expected ')' before 'unsigned'
__MPFR_DECLSPEC int mpfr_cmp_ui_2exp _MPFR_PROTO ((mpfr_srcptr, unsigned long,
                                                                ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:500:65: error: expected ')' before 'long'
__MPFR_DECLSPEC int mpfr_cmp_si_2exp _MPFR_PROTO ((mpfr_srcptr, long,
                                                                ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:502:59: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC void mpfr_reldiff _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,
                                                          ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:503:49: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
                                                mpfr_srcptr, mpfr_rnd_t));
                                                ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:505:42: error: expected ')' before 'unsigned'
                                         unsigned long));
                                         ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:506:1: warning: parameter names (without types) in function declaration
__MPFR_DECLSPEC int mpfr_sgn _MPFR_PROTO ((mpfr_srcptr));
^~~~~~~~~~~~~~~
mpfr.h:508:59: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_mul_2exp _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,
                                                          ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:510:59: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_div_2exp _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,
                                                          ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:512:58: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_mul_2ui _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,
                                                         ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:514:58: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_div_2ui _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,
                                                         ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:516:58: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_mul_2si _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,
                                                         ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:518:58: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_div_2si _MPFR_PROTO ((mpfr_ptr, mpfr_srcptr,
                                                         ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:521:53: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_rint _MPFR_PROTO((mpfr_ptr,mpfr_srcptr, mpfr_rnd_t));
                                                    ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x
                        ^
mpfr.h:522:55: error: unknown type name 'mpfr_srcptr'; did you mean 'mpf_srcptr'?
__MPFR_DECLSPEC int mpfr_round _MPFR_PROTO((mpfr_ptr, mpfr_srcptr));
                                                      ^
mpfr.h:179:25: note: in definition of macro '_MPFR_PROTO'
# define _MPFR_PROTO(x) x