On 2006-04-05 14:10:53 +0200, Vincent Lefevre wrote: > I've configured GMP 4.2 with: > > ./configure --prefix=$HOME/$ARCHTYPE/gmp-4.2-assert \ > --enable-assert --enable-alloca=debug > > under Linux/x86_64. I get the following error when building GMP: > > [...] > Making all in mpn > make[2]: Entering directory `/cluster/achille/lefevre/software/gmp-4.2/mpn' > /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. > -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo divis | sed 's/_$//'` -O2 -m64 > -mtune=k8 -c -o divis.lo divis.c > gcc -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_divis > -O2 -m64 -mtune=k8 -c divis.c -fPIC -DPIC -o .libs/divis.o > divis.c: In function '__gmpn_divisible_p': > divis.c:76: error: 'TMP_DECL' undeclared (first use in this function) [...]
The gmp-impl.h file seems to be incorrect when WANT_TMP_DEBUG is defined: #if HAVE_STRINGIZE #define TMP_DECL(marker) TMP_DECL_NAME(marker, #marker) #define TMP_MARK(marker) TMP_MARK_NAME(marker, #marker) #define TMP_FREE(marker) TMP_FREE_NAME(marker, #marker) #else #define TMP_DECL(marker) TMP_DECL_NAME(marker, "marker") #define TMP_MARK(marker) TMP_MARK_NAME(marker, "marker") #define TMP_FREE(marker) TMP_FREE_NAME(marker, "marker") #endif but the marker was dropped in GMP 4.2. -- Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/> Work: CR INRIA - computer arithmetic / SPACES project at LORIA _______________________________________________ Bug-gmp mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gmp
