I tried again with a more recent distribution (Knoppix 7.0.2) and there has been no problems so far. I am currently at chapter 10.<div><br></div><div>Alonso<br><br><div class="gmail_quote">2012/6/24 Alonso Graterol <span dir="ltr"><<a href="mailto:alonso.graterol@gmail.com" target="_blank">alonso.graterol@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I'm building CLFS Version GIT-<a href="tel:20120610-x86" value="+5620120610">20120610-x86</a>_64-Multilib on a AMD Athlon<br>
2, using LFS LiveCD 6.3 r2160.<br>
<br>
While constructing the temporary system the gmp-5.0.5 make command<br>
gave no errors or warnings. Nevertheless issuing the make install gave<br>
the following error<br>
<br>
libtool: install: /usr/bin/install -c .libs/libgmp.lai /tools/lib64/<a href="http://libgmp.la" target="_blank">libgmp.la</a><br>
libtool: install: warning: relinking `<a href="http://libgmpxx.la" target="_blank">libgmpxx.la</a>'<br>
libtool: install: (cd /mnt/clfs/sources/gmp-5.0.5; /bin/sh<br>
/mnt/clfs/sources/gmp-5.0.5/libtool  --tag CXX --mode=relink<br>
x86_64-unknown-linux-gnu-g++ -m64 -O2 -pedantic -m64 -mtune=k8<br>
-march=k8 -version-info 6:5:2 -o <a href="http://libgmpxx.la" target="_blank">libgmpxx.la</a> -rpath /tools/lib64<br>
dummy.lo cxx/isfuns.lo cxx/ismpf.lo cxx/ismpq.lo cxx/ismpz.lo<br>
cxx/ismpznw.lo cxx/osdoprnti.lo cxx/osfuns.lo cxx/osmpf.lo<br>
cxx/osmpq.lo cxx/osmpz.lo <a href="http://libgmp.la" target="_blank">libgmp.la</a> )<br>
libtool: relink: x86_64-unknown-linux-gnu-g++ -m64  -fPIC -DPIC<br>
-shared -nostdlib<br>
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/../../../../lib64/crti.o<br>
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/crtbeginS.o  .libs/dummy.o<br>
cxx/.libs/isfuns.o cxx/.libs/ismpf.o cxx/.libs/ismpq.o<br>
cxx/.libs/ismpz.o cxx/.libs/ismpznw.o cxx/.libs/osdoprnti.o<br>
cxx/.libs/osfuns.o cxx/.libs/osmpf.o cxx/.libs/osmpq.o<br>
cxx/.libs/osmpz.o   -Wl,-rpath -Wl,/tools/lib64 -Wl,-rpath<br>
-Wl,/usr/lib/../lib64 -L/tools/lib64 -lgmp<br>
-L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.1.2<br>
-L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/../../../../lib64<br>
-L/lib/../lib64 -L/usr/lib/../lib64 -lstdc++<br>
-L/lfs-livecd/packages/gcc/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src<br>
-L/lfs-livecd/packages/gcc/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs<br>
-L/lfs-livecd/packages/gcc/gcc-build/./gcc -lm -lc -lgcc_s<br>
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/crtendS.o<br>
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/../../../../lib64/crtn.o<br>
-m64 -O2 -m64 -mtune=k8 -march=k8   -Wl,-soname -Wl,libgmpxx.so.4 -o<br>
.libs/libgmpxx.so.4.2.5<br>
/tools/lib64/libm.so: file not recognized: File format not recognized<br>
collect2: ld returned 1 exit status<br>
libtool: install: error: relink `<a href="http://libgmpxx.la" target="_blank">libgmpxx.la</a>' with the above command<br>
before installing it<br>
make[3]: *** [install-libLTLIBRARIES] Error 1<br>
make[3]: Leaving directory `/mnt/clfs/sources/gmp-5.0.5'<br>
make[2]: *** [install-am] Error 2<br>
make[2]: Leaving directory `/mnt/clfs/sources/gmp-5.0.5'<br>
make[1]: *** [install-recursive] Error 1<br>
make[1]: Leaving directory `/mnt/clfs/sources/gmp-5.0.5'<br>
make: *** [install] Error 2<br>
<br>
<br>
<br>
Further, the issue of make check gave this error<br>
<br>
make[4]: Entering directory `/mnt/clfs/sources/gmp-5.0.5/tests/cxx'<br>
x86_64-unknown-linux-gnu-g++ -m64 -DHAVE_CONFIG_H -I. -I../.. -I../..<br>
-I../../tests  -fexceptions  -O2 -pedantic -m64 -mtune=k8 -march=k8 -c<br>
-o t-assign.o t-assign.cc<br>
/bin/sh ../../libtool --tag=CXX   --mode=link<br>
x86_64-unknown-linux-gnu-g++ -m64  -O2 -pedantic -m64 -mtune=k8<br>
-march=k8   -o t-assign t-assign.o -L../../.libs<br>
../../tests/<a href="http://libtests.la" target="_blank">libtests.la</a> ../../<a href="http://libgmpxx.la" target="_blank">libgmpxx.la</a> ../../<a href="http://libgmp.la" target="_blank">libgmp.la</a><br>
libtool: link: x86_64-unknown-linux-gnu-g++ -m64 -O2 -pedantic -m64<br>
-mtune=k8 -march=k8 -o .libs/t-assign t-assign.o  -L../../.libs<br>
../../tests/.libs/libtests.a ../../.libs/libgmpxx.so<br>
-L/lfs-livecd/packages/gcc/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src<br>
-L/lfs-livecd/packages/gcc/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs<br>
-L/lfs-livecd/packages/gcc/gcc-build/./gcc<br>
/mnt/clfs/sources/gmp-5.0.5/.libs/libgmp.so<br>
/usr/lib/../lib64/libstdc++.so -L/usr/lib/../lib64 -L/lib/../lib64 -lm<br>
-lc -lgcc_s ../../.libs/libgmp.so -Wl,-rpath -Wl,/tools/lib64<br>
-Wl,-rpath -Wl,/usr/lib/../lib64<br>
/mnt/clfs/sources/gmp-5.0.5/.libs/libgmp.so: undefined reference to<br>
`__isoc99_fscanf@GLIBC_2.7'<br>
/mnt/clfs/sources/gmp-5.0.5/.libs/libgmp.so: undefined reference to<br>
`memcpy@GLIBC_2.14'<br>
/mnt/clfs/sources/gmp-5.0.5/.libs/libgmp.so: undefined reference to<br>
`__isoc99_sscanf@GLIBC_2.7'<br>
collect2: ld returned 1 exit status<br>
make[4]: *** [t-assign] Error 1<br>
make[4]: Leaving directory `/mnt/clfs/sources/gmp-5.0.5/tests/cxx'<br>
make[3]: *** [check-am] Error 2<br>
make[3]: Leaving directory `/mnt/clfs/sources/gmp-5.0.5/tests/cxx'<br>
make[2]: *** [check-recursive] Error 1<br>
make[2]: Leaving directory `/mnt/clfs/sources/gmp-5.0.5/tests'<br>
make[1]: *** [check-recursive] Error 1<br>
make[1]: Leaving directory `/mnt/clfs/sources/gmp-5.0.5'<br>
make: *** [check] Error 2<br>
clfs:/mnt/clfs/sources/gmp-5.0.5$<br>
<br>
Google pointed to a 2007 thread related to binutils where a patch was<br>
given but that is already considered in binutils-2.22.<br>
<br>
I have built a couple of CLFS systems before but never hit something like this.<br>
<br>
I appreciate any guidance to solve/circumvent the problem.<br>
<br>
Thanks,<br>
<br>
<br>
Alonso<br>
</blockquote></div><br></div>