Hi David,
> I might also expend the effort needed to convert it from
> obsolete MPF to use MPFR instead.
you might first try to include the following two lines before #include <gmp.h>:
#include <mpfr.h>
#include <mpf2mpfr.h>
(see the MPFR manual, "Compatibility With MPF").
Paul Zimmermann