Hi, I just tried to build MPIR 2.5.1 on Linux and it fails to compile.
I used the following command to build: ./configure --prefix=/opt/local The error message is: /bin/sh ../libtool --mode=compile --tag=CC ../strip_fPIC.sh ../yasm/yasm -I .. -f elf64 -o redc_1.lo `test -f 'redc_1.as' || echo './'`redc_1.as libtool: compile: ../strip_fPIC.sh ../yasm/yasm -I .. -f elf64 redc_1.as -fPIC -DPIC -o .libs/redc_1.o ../yasm/yasm -I .. -f elf64 redc_1.as -D PIC -o .libs/redc_1.o libtool: compile: ../strip_fPIC.sh ../yasm/yasm -I .. -f elf64 redc_1.as -o redc_1.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo redc_2 | sed 's/_$//'` -O2 -m64 -march=core2 -mtune=core2 -c -o redc_2.lo redc_2.c libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_redc_2 -O2 -m64 -march=core2 -mtune=core2 -c redc_2.c -fPIC -DPIC -o .libs/redc_2.o redc_2.c:24:17: fatal error: gmp.h: No such file or directory compilation terminated. make[2]: *** [redc_2.lo] Error 1 make[2]: Leaving directory `/home/case/src/mpir-2.5.1/mpn' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/case/src/mpir-2.5.1' make: *** [all] Error 2 If I change #include "gmp.h" to #include "mpir.h", the compilation succeeds. Regards, casevh -- You received this message because you are subscribed to the Google Groups "mpir-devel" group. To post to this group, send email to mpir-devel@googlegroups.com. To unsubscribe from this group, send email to mpir-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/mpir-devel?hl=en.