PDA

View Full Version : [ubuntu] ERROR :MPC make error libgmp.la is not a valid libtool



bhupinderjitbawa
May 26th, 2011, 02:02 PM
I am trying to make mpc .
i first configured using following


./configure --prefix=/usr --with-mpfr=$LFS/gcc-build/gcc-4.5.2/mpfr --with-gmp-lib=$LFS/gcc-build/gcc-4.5.2/gmp/.libs

then i make using


root@bhupinder:/mnt/lfs/gcc-build/gcc-4.5.2/mpc# make
make all-recursive
make[1]: Entering directory `/mnt/lfs/gcc-build/gcc-4.5.2/mpc'
Making all in src
make[2]: Entering directory `/mnt/lfs/gcc-build/gcc-4.5.2/mpc/src'

..
.
.
libtool: link: ranlib .libs/libmpc.a
/bin/sed: can't read /usr/local/lib/libgmp.la: No such file or directory
libtool: link: `/usr/local/lib/libgmp.la' is not a valid libtool archive
make[2]: *** [libmpc.la] Error 1
make[2]: Leaving directory `/mnt/lfs/gcc-build/gcc-4.5.2/mpc/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/lfs/gcc-build/gcc-4.5.2/mpc'
make: *** [all] Error 2
root@bhupinder:/mnt/lfs/gcc-build/gcc-4.5.2/mpc#

googled a lot but not able to find solution.

partyk1d24
October 24th, 2011, 03:53 PM
Did you ever figure this out?

blackmail
October 24th, 2011, 06:06 PM
I think user has aborted this thread for some time now...

partyk1d24
October 24th, 2011, 06:28 PM
Well then I hereby open it in honor of him :-)

I am having the same issue per...

http://code.google.com/p/android/issues/detail?id=21164

xkcdcode
August 9th, 2012, 03:51 PM
Did you figure this out? I am having the same issue but only on 64-bit machine, not 32-bit.