Hi,
I am updating Mandriva sagemath package to 4.5.3, and had an issue with calls to gmp_numerator
and gmp_denominator and gmp_numerator in singular 3-1-1.
My solution was to not install factory-3-1-1.tar.gz, factory-doc.tar.gz and libfac-3-1-1.tar.gz in the
build, like I previously did. The problem is the calls in clapconv.cc:
Code:
$ grep -r gmp_numerator Singular-3-1-1
Singular-3-1-1/factory/cf_factor.cc: MP_INT m=gmp_numerator(f);
Singular-3-1-1/factory/cf_factor.cc: MP_INT m=gmp_numerator(f);
Singular-3-1-1/factory/int_int.h: friend MP_INT gmp_numerator ( const CanonicalForm & f );
Singular-3-1-1/factory/int_rat.h: friend MP_INT gmp_numerator ( const CanonicalForm & f );
Singular-3-1-1/factory/singext.h:MP_INT gmp_numerator ( const CanonicalForm & f );
Singular-3-1-1/factory/singext.cc:gmp_numerator ( const CanonicalForm & f )
Singular-3-1-1/factory/winnt/factory.h:MP_INT gmp_numerator ( const CanonicalForm & f );
Singular-3-1-1/kernel/clapconv.cc: gmp_numerator( n, z->z );
Singular-3-1-1/kernel/clapconv.cc: gmp_numerator( f, z->z );
Singular-3-1-1/kernel/clapconv.cc: gmp_numerator( f, z->z );
as it calls with two arguments.
Thanks,
Paulo