32 bit version on Opteron

Alok G Singh alokgs at cdacb.ernet.in
Wed Feb 16 08:06:23 CET 2005


I have been trying to build a 32-bit version of GMP-4.1.4 on an Opteron. The compilatiob fails with the following error:
make[2]: Entering directory `/home/alok/lib/32-gmp/mpn'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo mul_fft | sed 's/_$//'`    -m32 -c -o mul_fft.lo `test -f mul_fft.c || echo './'`mul_fft.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_mul_fft -m32 -c mul_fft.c  -fPIC -DPIC -o .libs/mul_fft.o
mul_fft.c: In function `mpn_fft_mul_2exp_modF':
mul_fft.c:168: error: syntax error before "LSYM_PREFIX"
mul_fft.c:168: error: syntax error before "LSYM_PREFIX"
mul_fft.c: In function `mpn_fft_add_modF':
mul_fft.c:183: error: syntax error before "LSYM_PREFIX"
mul_fft.c:183: error: syntax error before "LSYM_PREFIX"
make[2]: *** [mul_fft.lo] Error 1
make[2]: Leaving directory `/home/crypt/lib/32-gmp/mpn'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/crypt/lib/32-gmp'
make: *** [all] Error 2

This is with the unpatched gmp-impl.h. The patched version has the same problem. Is this something that is known. For those who must know, I need a 32-bit gmp because I need to profile my application and Sun Studio 10 is shipped with only the 32 bit versions of their profile tools.

TIA,
Alok

---
I just had my entire INTESTINAL TRACT coated with TEFLON!



More information about the gmp-discuss mailing list