<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi Filip<div><br></div><div>I think the best suggestion here would be to start again, as you are not far in.</div><div>Typically you will get the below situation as you have not set some of your environment</div><div>variables correctly.</div><div><br></div><div>I would go back over the initial setup steps for the user account you compile with and any associated</div><div>variables. Also check your gmp install of the file listed below after installation.</div><div><br></div><div>Let us know how you get on?</div><div><br></div><div>Cheers</div><div>Grail<br><br>> Date: Sun, 13 Jun 2010 16:41:18 +0200<br>> From: filbar@centrum.cz<br>> To: clfs-support@lists.cross-lfs.org<br>> Subject: [Clfs-support] PPL configure error<br>> <br>> As host system I have previously builded Multilib basic CLFS system.<br>> Now I'm trying build on this system pure 64-bit CLFS system, but I stop<br>> on Cross Compile PPL package on configure script error:<br>> --------------------------------------------<br>> checking how to link with libgmp... /cross-tools/lib/libgmp.so<br>> -Wl,-rpath -Wl,/cross-tools/lib<br>> checking how to link with<br>> libgmpxx... /cross-tools/lib/libgmpxx.so /cross-tools/lib/libgmp.so<br>> -Wl,-rpath -Wl,/cross-tools/lib -Wl,-rpath -Wl,/cross-tools/lib<br>> checking for the GMP library version 4.1.3 or above... no<br>> configure: error: Cannot find GMP version 4.1.3 or higher.<br>> GMP is the GNU Multi-Precision library:<br>> see http://www.swox.com/gmp/ for more information.<br>> When compiling the GMP library, do not forget to enable the C++<br>> interface:<br>> add --enable-cxx to the configuration options.<br>> --------------------------------------------<br>> I fount that /cross-tools/lib/libgmpxx.so.4.1.0 is 32 - bit library.<br>> <br>> The configure test which fails is:<br>> <br>> g++ -o conftest -g -frounding-math -I/cross-tools/include<br>> -Wl,-rpath,/cross-tools/lib<br>> conftest.cpp /cross-tools/lib/libgmpxx.so /cross-tools/lib/libgmp.so<br>> -Wl,-rpath -Wl,/cross-tools/lib -Wl,-rpath -Wl,/cross-tools/lib >&5<br>> <br>> The error is:<br>> <br>> /cross-tools/lib/libgmpxx.so: could not read symbols: File in wrong<br>> format<br>> <br>> And I find, that when I run this test with -m32, then this test pass,<br>> but when I run this test with -m64, the I have this failure.<br>> <br>> What I do wrong?<br>> <br>> Thank's<br>> Filip Bartmann<br>> _______________________________________________<br>> Clfs-support mailing list<br>> Clfs-support@lists.cross-lfs.org<br>> http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org<br></div> <br /><hr />Australia's #1 job site <a href='http://clk.atdmt.com/NMN/go/157639755/direct/01/' target='_new'>If It Exists, You'll Find it on SEEK</a></body>
</html>