diff -Naur Singular-3-0-1/factory/int_poly.cc Singular-3-0-1-new/factory/int_poly.cc --- Singular-3-0-1/factory/int_poly.cc 2005-01-13 09:10:22.000000000 -0600 +++ Singular-3-0-1-new/factory/int_poly.cc 2006-03-16 09:39:36.000000000 -0600 @@ -559,6 +559,9 @@ } } +// forward declaration +bool divremt ( const CanonicalForm&, const CanonicalForm&, CanonicalForm&, CanonicalForm& ); + bool InternalPoly::divremsamet( InternalCF* acoeff, InternalCF*& quot, InternalCF*& rem ) diff -Naur Singular-3-0-1/factory/sm_sparsemod.cc Singular-3-0-1-new/factory/sm_sparsemod.cc --- Singular-3-0-1/factory/sm_sparsemod.cc 2000-04-05 05:03:09.000000000 -0500 +++ Singular-3-0-1-new/factory/sm_sparsemod.cc 2006-03-16 09:40:03.000000000 -0600 @@ -30,6 +30,10 @@ #include "ftmpl_array.h" #include "ftmpl_functions.h" +// forward declaration +Variable rootOf( const CanonicalForm &, char name); + + static CanonicalForm smodgcd( const CanonicalForm & u, const CanonicalForm & v, const CanonicalForm & lcggt, const REvaluation & alpha, CFRandom & gen, int CHAR, const Variable & extension ) { diff -Naur Singular-3-0-1/kernel/clapsing.cc Singular-3-0-1-new/kernel/clapsing.cc --- Singular-3-0-1/kernel/clapsing.cc 2005-11-04 02:44:25.000000000 -0600 +++ Singular-3-0-1-new/kernel/clapsing.cc 2006-03-16 10:25:54.000000000 -0600 @@ -24,6 +24,9 @@ #endif #include "ring.h" +// forward declaration +Variable rootOf( const CanonicalForm &, char name); + // // FACTORY_GCD_TEST: use new gcd instead of old one. Does not work // without new gcd-implementation which is not publicly available. diff -Naur Singular-3-0-1/libfac/charset/alg_factor.cc Singular-3-0-1-new/libfac/charset/alg_factor.cc --- Singular-3-0-1/libfac/charset/alg_factor.cc 2005-10-17 08:16:18.000000000 -0500 +++ Singular-3-0-1-new/libfac/charset/alg_factor.cc 2006-03-16 10:08:11.000000000 -0600 @@ -21,6 +21,9 @@ void out_cf(char *s1,const CanonicalForm &f,char *s2); +// forward declaration +Variable rootOf( const CanonicalForm &, char name); + #ifdef ALGFACTORDEBUG # define DEBUGOUTPUT #else diff -Naur Singular-3-0-1/libfac/factor/Factor.cc Singular-3-0-1-new/libfac/factor/Factor.cc --- Singular-3-0-1/libfac/factor/Factor.cc 2005-12-12 12:02:03.000000000 -0600 +++ Singular-3-0-1-new/libfac/factor/Factor.cc 2006-03-16 10:07:37.000000000 -0600 @@ -47,6 +47,9 @@ void out_cf(char *s1,const CanonicalForm &f,char *s2); +// forward declaration +Variable rootOf( const CanonicalForm &, char name); + /* * a wrapper for factorize over algebraic extensions: * does a sanity check and, if nec., a conversion