singler
April 28th, 2008, 07:47 AM
I tried to compile GCC 4.3 (from SVN) on a Sun T5120 (Niagara 2).
However, there is a problem with this MPFR library. Also installed, there are error messages like that.
/usr/bin/ld: skipping incompatible /home/singler/install/mpfr/lib/libmpfr.so when searching for -lmpfr
/usr/bin/ld: skipping incompatible /home/singler/install/mpfr/lib/libmpfr.a when searching for -lmpfr
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libmpfr.so when searching for -lmpfr
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libmpfr.a when searching for -lmpfr
/usr/bin/ld: skipping incompatible /usr/lib/libmpfr.so when searching for -lmpfr
/usr/bin/ld: skipping incompatible /usr/lib/libmpfr.a when searching for -lmpfr
/usr/bin/ld: cannot find -lmpfr
Does anybody know how to fix this problem? Why is the library "incompatible"? I compiled it from source on the same machine.
In configured GCC in an object diretory using
../branch_1/configure --enable-languages=c,c++ --program-suffix=-rep --prefix=/home/singler/gcc/install_branch_1 --with-mpfr=/home/singler/install/mpfr
All the compilation runs fine.
-- Johannes
However, there is a problem with this MPFR library. Also installed, there are error messages like that.
/usr/bin/ld: skipping incompatible /home/singler/install/mpfr/lib/libmpfr.so when searching for -lmpfr
/usr/bin/ld: skipping incompatible /home/singler/install/mpfr/lib/libmpfr.a when searching for -lmpfr
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libmpfr.so when searching for -lmpfr
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libmpfr.a when searching for -lmpfr
/usr/bin/ld: skipping incompatible /usr/lib/libmpfr.so when searching for -lmpfr
/usr/bin/ld: skipping incompatible /usr/lib/libmpfr.a when searching for -lmpfr
/usr/bin/ld: cannot find -lmpfr
Does anybody know how to fix this problem? Why is the library "incompatible"? I compiled it from source on the same machine.
In configured GCC in an object diretory using
../branch_1/configure --enable-languages=c,c++ --program-suffix=-rep --prefix=/home/singler/gcc/install_branch_1 --with-mpfr=/home/singler/install/mpfr
All the compilation runs fine.
-- Johannes