[Clfs-support] Cannot link libgmp while building mpfr

Lance Chou LChou at PLXTech.com
Fri Jun 19 01:32:50 PDT 2009


You're right. I forgot removing the gmp's libtool stubs. After removing them, I can build mpfr without any problem.

Thanks very much for your help

-----Original Message-----
From: clfs-support-bounces at lists.cross-lfs.org [mailto:clfs-support-bounces at lists.cross-lfs.org] On Behalf Of Joe Ciccone
Sent: Thursday, June 18, 2009 8:17 PM
To: CLFS Support
Subject: Re: [Clfs-support] Cannot link libgmp while building mpfr

Lance Chou wrote:
>
> Hi All,
>
>  
>
>   I’m following the instructions of the CLFS Sysroot. My platform is
> ARM. I can build cross-compiler successfully by following the
> instructions but failed at IV (Building the CLFS System) while
> building mpfr-2.4.1. The problem is that the libtool always link
> libgmp in a wrong folder. The error messages are shown as below.
>
>
Couple things to check:

The first one is did you execute this command to remove gmp's libtool stubs?

rm -v ${CLFS}/usr/lib/lib{gmp,gmpxx,mp}.la

Also are you using the same versions that are in the book?

And could you please paste the libtool command that was posted right
above the command that failed? It will give me a better idea of the
command line that make executed.

_______________________________________________
Clfs-support mailing list
Clfs-support at lists.cross-lfs.org
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org


More information about the Clfs-support mailing list