Re: mpc-1.0.3 build errors

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

 



On Sat, 29 Sep 2018 at 20:04, rih5342 <robhickey@xxxxxxx> wrote:
>
> New user here.
>
> I'm using OpenSuse Leap V42.3 64bit, and trying to compile MPC
>
>
>
> david@linux-rtdp:~/___David/gcc/mpc/mpc-1.0.3-build> make
> make  all-recursive
> make[1]: Entering directory '/home/david/___David/gcc/mpc/mpc-1.0.3-build'
> Making all in src
> make[2]: Entering directory
> '/home/david/___David/gcc/mpc/mpc-1.0.3-build/src'
> /bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H
> -I. -I../../mpc-1.0.3/src -I..     -O2 -pedantic -fomit-frame-pointer -m64
> -mtune=bdver1 -march=bdver1 -MT mul.lo -MD -MP -MF .deps/mul.Tpo -c -o
> mul.lo ../../mpc-1.0.3/src/mul.c
> libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../mpc-1.0.3/src
> -I.. -O2 -pedantic -fomit-frame-pointer -m64 -mtune=bdver1 -march=bdver1 -MT
> mul.lo -MD -MP -MF .deps/mul.Tpo -c ../../mpc-1.0.3/src/mul.c  -fPIC -DPIC
> -o .libs/mul.o
> ../../mpc-1.0.3/src/mul.c:175:1: error: conflicting types for ‘mpfr_fmma’
>  mpfr_fmma (mpfr_ptr z, mpfr_srcptr a, mpfr_srcptr b, mpfr_srcptr c,
>  ^
> In file included from ../../mpc-1.0.3/src/mpc.h:25:0,
>                  from ../../mpc-1.0.3/src/mpc-impl.h:30,
>                  from ../../mpc-1.0.3/src/mul.c:22:
> /usr/local/include/mpfr.h:731:21: note: previous declaration of ‘mpfr_fmma’
> was here
>  __MPFR_DECLSPEC int mpfr_fmma (mpfr_ptr, mpfr_srcptr, mpfr_srcptr,
> mpfr_srcptr,
>                      ^
> Makefile:532: recipe for target 'mul.lo' failed
> make[2]: *** [mul.lo] Error 1
> make[2]: Leaving directory
> '/home/david/___David/gcc/mpc/mpc-1.0.3-build/src'
> Makefile:462: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/home/david/___David/gcc/mpc/mpc-1.0.3-build'
> Makefile:373: recipe for target 'all' failed
> make: *** [all] Error 2
>
>
>
>
>
> Any suggestions?

Stop trying to build it. See https://gcc.gnu.org/wiki/InstallingGCC




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux