How to compile gmp for arm?

yan xinbo yanxinbo@yahoo.com.cn
Wed, 8 Jan 2003 15:38:28 +0800 (CST)


Hi:
  I am sorry to bother you again.
  I do what you have told me, and there is another
error.The output is as follows,I omit some output and
replace with "..." :
 
[root@davis gmp-4.1.2]# make 
make  all-recursive
make[1]: Entering directory `/root/yxb/gmp-4.1.2'
Making all in tests
make[2]: Entering directory
`/root/yxb/gmp-4.1.2/tests'
Making all in .
make[3]: Entering directory
`/root/yxb/gmp-4.1.2/tests'
   .
   .
   .
Making all in tune
make[2]: Entering directory `/root/yxb/gmp-4.1.2/tune'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/yxb/gmp-4.1.2/tune'
make[2]: Entering directory `/root/yxb/gmp-4.1.2'
/bin/sh ./libtool --mode=link armv4b-unknown-linux-gcc
 -mbig-endian   

-o libgmp.la -rpath /usr/local/lib  -version-info
6:2:3 assert.lo 

compat.lo (...) scanf/vfscanf.lo scanf/vscanf.lo
scanf/vsscanf.lo 
armv4b-unknown-linux-gcc -shared  .libs/assert.o
.libs/compat.o 
.libs/errno.o (...) /.libs/sscanffuns.o
scanf/.libs/vfscanf.o scanf/.libs/vscanf.o
scanf/.libs/vsscanf.o   -Wl,-soname 

-Wl,libgmp.so.3 -o .libs/libgmp.so.3.3.2
/usr/local/armbe/armv4b-unknown-linux/lib/libc.so.6:
could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [libgmp.la] Error 1
make[2]: Leaving directory `/root/yxb/gmp-4.1.2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/yxb/gmp-4.1.2'
make: *** [all] Error 2

Is there anyway to fix it?
Muth thanks !



_________________________________________________________
Do You Yahoo!? 
"洋节土节都要过,大礼小礼不放过"
http://cn.promo.yahoo.com/holiday/