pulp-platform / ri5cy_gnu_toolchain

23 stars 23 forks source link

"make" got errors #12

Closed LilachDery closed 6 years ago

LilachDery commented 6 years ago

thank you very much!!

I have installed git, and i got these errors, after i upgraded my ubuntu:

make[5]: Entering directory
/home/pulp/Desktop/ri5cy_gnu_toolchain-master/build/build-binutils-newlib/bfd/po' make[5]: Nothing to be done forinfo'.
make[5]: Leaving directory
/home/pulp/Desktop/ri5cy_gnu_toolchain-master/build/build-binutils-newlib/bfd/po' make[5]: Entering directory/home/pulp/Desktop/ri5cy_gnu_toolchain-master/build/build-binutils-newlib/bfd'
make[5]: Nothing to be done for info-am'. make[5]: Leaving directory/home/pulp/Desktop/ri5cy_gnu_toolchain-master/build/build-binutils-newlib/bfd'
make[4]: *** [info-recursive] Error 1
make[4]: Leaving directory
/home/pulp/Desktop/ri5cy_gnu_toolchain-master/build/build-binutils-newlib/bfd' make[3]: *** [all-bfd] Error 2 make[3]: Leaving directory/home/pulp/Desktop/ri5cy_gnu_toolchain-master/build/build-binutils-newlib'
make[2]: *** [all] Error 2
make[2]: Leaving directory
/home/pulp/Desktop/ri5cy_gnu_toolchain-master/build/build-binutils-newlib' make[1]: *** [stamps/build-binutils-newlib] Error 2 make[1]: Leaving directory/home/pulp/Desktop/ri5cy_gnu_toolchain-master/build'
make: *** [build] Error 2

how to solve that? thanks a lot

LilachDery commented 6 years ago

I have 64 bit

FrancescoConti commented 6 years ago

Which version of Ubuntu are you using?

LilachDery commented 6 years ago

version: 16.04

these my new errors:

Makefile:214: recipe for target 'stamps/build-gcc-newlib' failed
make[1]: *** [stamps/build-gcc-newlib] Error 1
make[1]: Leaving directory '/home/pulp1234/Desktop/ri5cy_gnu_toolchain-master/build'
Makefile:28: recipe for target 'build' failed
make: *** [build] Error 2

I have tried to search after solution at google but it's still not solve

haugoug commented 6 years ago

You didn't put the error, it is impossible to know what happened, the error should be better reported earlier in the terminal or in a file

LilachDery commented 6 years ago
configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
their locations.  Source code for these libraries can be found at
their respective hosting sites as well as at
ftp://gcc.gnu.org/pub/gcc/infrastructure/.  See also
http://gcc.gnu.org/install/prerequisites.html for additional info.  If
you obtained GMP, MPFR and/or MPC from a vendor distribution package,
make sure that you have installed both the libraries and the header
files.  They may be located in separate packages.
Makefile:214: recipe for target 'stamps/build-gcc-newlib' failed
make[1]: *** [stamps/build-gcc-newlib] Error 1
make[1]: Leaving directory '/home/pulp1234/Desktop/ri5cy_gnu_toolchain-master/build'
Makefile:28: recipe for target 'build' failed
make: *** [build] Error 2
haugoug commented 6 years ago

You are missing a few packages, you can install them with this command: sudo apt-get install libgmp-dev libmpc-dev libmpfr-dev