Compile problems on WinXP with Cygwin shell

Paulo Dutra paulo.dutra at xilinx.com
Thu Jul 13 02:28:31 CEST 2006


I'm compiling the 4.2.1 release on WinXP with Cygwin shell. I'm using
the MinGw compiler

 

$ gcc -dumpversion

3.4.2

 

I get the following problem in compilation.

 

make[2]: Entering directory `/cygdrive/c/gmp/gmp-4.2.1/mpn'

/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-D__GMP_WITHI

N_GMP -I.. -DOPERATION_`echo divis | sed 's/_$//'`    -m32 -O2
-fomit-frame-poin

ter -mtune=pentium3 -march=pentium3 -c -o divis.lo divis.c

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I..
-DOPERATION_divis -m32

 -O2 -fomit-frame-pointer -mtune=pentium3 -march=pentium3 -c divis.c -o
divis.o

divis.c: In function `__gmpn_divisible_p':

divis.c:76: error: `TMP_DECL' undeclared (first use in this function)

divis.c:76: error: (Each undeclared identifier is reported only once

divis.c:76: error: for each function it appears in.)

divis.c:141: error: `TMP_MARK' undeclared (first use in this function)

divis.c:154: error: `TMP_FREE' undeclared (first use in this function)

 

I notice that the TMP_DECL is defined in gmp-impl.h.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gmplib.org/list-archives/gmp-discuss/attachments/20060713/499103ea/attachment.html


More information about the gmp-discuss mailing list