HI Team,
I am hitting below error when compiling ONL. Please help.
I am using UBUNTU to build and have installed (libmpfr-dev, libgmp-dev,gmpc-dev). Am I missing anything here. thanks in advance.
checking for the correct version of gmp.h... yes
checking for the correct version of mpfr.h... yes
checking for the correct version of mpc.h... no
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
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.
make[8]: *** [/root/ONL/ONL/submodules/loader/buildroot-i386/toolchain/gcc-4.9.3-initial/.configured] Error 1
make[7]: *** [buildroot-i386] Error 2
make[6]: *** [/root/ONL/ONL/components/i386/initrd-i386/initrd-i386] Error 2
make[5]: *** [component] Error 2
make[4]: *** [deb] Error 2
make[3]: *** [deb] Error 2
make[2]: *** [deb] Error 2
make[2]: Leaving directory `/root/ONL/ONL/components/i386/initrd-i386'
Traceback (most recent call last):
File "/root/ONL/ONL/tools/onlpkg.py", line 291, in <module>
check_call(('make', '-C', buildpath, 'deb',))
File "/root/ONL/ONL/tools/onlpkg.py", line 161, in check_call
subprocess.check_call(cmd, *args, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '('make', '-C', '/root/ONL/ONL/components/i386/initrd-i386', 'deb')' returned non-zero exit status 2
make[1]: *** [component-deps] Error 1
make[1]: Leaving directory `/root/ONL/ONL/builds/components'
make: *** [all-components] Error 2
Thanks,
Shree