compiling GMP under Mac OS

Bálint Miklós balint at inf.ethz.ch
Sun Mar 11 04:11:14 CET 2007


Hi,

I have a Powerbook with Mac OS 10.4.8, and I compiled GMP and the  
make check gave errors to me. Can anybody give me some hints how I  
could compile correctly GMP?
I have gcc version 4.0.1, more exactly i686-apple-darwin8-gcc-4.0.1

Thank you in advance,
Balint

Here is the end of the make check output:

....

creating libtests.la
(cd .libs && rm -f libtests.la && ln -s ../libtests.la libtests.la)
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..    -m32 -O2 -fomit-frame- 
pointer -mtune=pentium3 -march=pentium3 -c t-bswap.c
/bin/sh ../libtool --mode=link gcc  -m32 -O2 -fomit-frame-pointer - 
mtune=pentium3 -march=pentium3   -o t-bswap  t-bswap.o libtests.la ../ 
libgmp.la
gcc -m32 -O2 -fomit-frame-pointer -mtune=pentium3 -march=pentium3 -o  
t-bswap t-bswap.o  ./.libs/libtests.a /Users/balintmiklos/kit/ 
gmp-4.2.1/.libs/libgmp.a ../.libs/libgmp.a
/usr/bin/ld: Undefined symbols:
_calling_conventions_ebp
_calling_conventions_ebx
_calling_conventions_edi
_calling_conventions_eflags
_calling_conventions_esi
_calling_conventions_fenv
_calling_conventions_retaddr
_calling_conventions_save_ebp
_calling_conventions_save_ebx
_calling_conventions_save_edi
_calling_conventions_save_esi
collect2: ld returned 1 exit status
make[4]: *** [t-bswap] Error 1
make[3]: *** [check-am] Error 2
make[2]: *** [check-recursive] Error 1
make[1]: *** [check-recursive] Error 1
make: *** [check] Error 2


More information about the gmp-discuss mailing list