Skip to content

Instantly share code, notes, and snippets.

@bgrenet
Created May 2, 2016 12:01
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save bgrenet/aa804090a62e52183b4c6545e022cf45 to your computer and use it in GitHub Desktop.
Compiling essai.spyx...
Traceback (most recent call last):
File "/home/bruno/Software/sage/src/bin/sage-run-cython", line 8, in <module>
s = load_cython(sys.argv.pop(1))
File "/home/bruno/Software/sage/local/lib/python2.7/site-packages/sage/repl/load.py", line 65, in load_cython
mod, dir = cython(name, compile_message=True, use_cache=True)
File "/home/bruno/Software/sage/local/lib/python2.7/site-packages/sage/misc/cython.py", line 477, in cython
raise RuntimeError("Error compiling {}:\n{}\n{}".format(filename, log, err))
RuntimeError: Error compiling essai.spyx:
running build
running build_ext
building '_home_bruno_Recherche_Sage_LinearFactors_essai_spyx_0' extension
creating build
creating build/temp.linux-x86_64-2.7
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -fPIC -I/home/bruno/Software/sage/local/include -I/home/bruno/Software/sage/local/include/python2.7 -I/home/bruno/Software/sage/local/lib/python2.7/site-packages/numpy/core/include -I/home/bruno/Software/sage/local/lib/python2.7/site-packages -I/home/bruno/Software/sage/local/lib/python2.7/site-packages/sage/ext -I/home/bruno/Software/sage/local/lib/python2.7/site-packages/cysignals -I -I/home/bruno/Software/sage/local/include/python2.7 -c _home_bruno_Recherche_Sage_LinearFactors_essai_spyx_0.c -o build/temp.linux-x86_64-2.7/_home_bruno_Recherche_Sage_LinearFactors_essai_spyx_0.o -w -O2
In file included from /home/bruno/Software/sage/local/include/factory/factory.h:45:0,
from /home/bruno/Software/sage/local/include/factor.h:8,
from _home_bruno_Recherche_Sage_LinearFactors_essai_spyx_0.c:249:
/home/bruno/Software/sage/local/include/factory/templates/ftmpl_array.h:19:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
template <class T>
^
In file included from /home/bruno/Software/sage/local/include/factory/factory.h:46:0,
from /home/bruno/Software/sage/local/include/factor.h:8,
from _home_bruno_Recherche_Sage_LinearFactors_essai_spyx_0.c:249:
/home/bruno/Software/sage/local/include/factory/templates/ftmpl_afactor.h:18:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
template <class T>
^
/home/bruno/Software/sage/local/include/factory/templates/ftmpl_afactor.h:40:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
template <class T> int
^
In file included from /home/bruno/Software/sage/local/include/factory/factory.h:47:0,
from /home/bruno/Software/sage/local/include/factor.h:8,
from _home_bruno_Recherche_Sage_LinearFactors_essai_spyx_0.c:249:
/home/bruno/Software/sage/local/include/factory/templates/ftmpl_factor.h:20:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
template <class T>
^
/home/bruno/Software/sage/local/include/factory/templates/ftmpl_factor.h:44:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
template <class T> int
^
In file included from /home/bruno/Software/sage/local/include/factory/factory.h:48:0,
from /home/bruno/Software/sage/local/include/factor.h:8,
from _home_bruno_Recherche_Sage_LinearFactors_essai_spyx_0.c:249:
/home/bruno/Software/sage/local/include/factory/templates/ftmpl_list.h:19:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
template <class T>
^
/home/bruno/Software/sage/local/include/factory/templates/ftmpl_list.h:22:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
template <class T>
^
/home/bruno/Software/sage/local/include/factory/templates/ftmpl_list.h:30:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
template <class T>
^
/home/bruno/Software/sage/local/include/factory/templates/ftmpl_list.h:53:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
template <class T>
^
/home/bruno/Software/sage/local/include/factory/templates/ftmpl_list.h:89:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
template <class T>
^
/home/bruno/Software/sage/local/include/factory/templates/ftmpl_list.h:114:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
template <class T>
^
/home/bruno/Software/sage/local/include/factory/templates/ftmpl_list.h:117:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
template <class T>
^
/home/bruno/Software/sage/local/include/factory/templates/ftmpl_list.h:120:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
template <class T>
^
/home/bruno/Software/sage/local/include/factory/templates/ftmpl_list.h:123:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
template <class T>
^
/home/bruno/Software/sage/local/include/factory/templates/ftmpl_list.h:126:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
template <class T>
^
In file included from /home/bruno/Software/sage/local/include/factory/factory.h:49:0,
from /home/bruno/Software/sage/local/include/factor.h:8,
from _home_bruno_Recherche_Sage_LinearFactors_essai_spyx_0.c:249:
/home/bruno/Software/sage/local/include/factory/templates/ftmpl_matrix.h:19:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
template <class T>
^
/home/bruno/Software/sage/local/include/factory/templates/ftmpl_matrix.h:22:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
template <class T>
^
/home/bruno/Software/sage/local/include/factory/templates/ftmpl_matrix.h:30:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
template <class T>
^
/home/bruno/Software/sage/local/include/factory/templates/ftmpl_matrix.h:62:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
template <class T>
^
/home/bruno/Software/sage/local/include/factory/templates/ftmpl_matrix.h:64:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
template <class T>
^
/home/bruno/Software/sage/local/include/factory/templates/ftmpl_matrix.h:66:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
template <class T>
^
/home/bruno/Software/sage/local/include/factory/templates/ftmpl_matrix.h:68:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
template <class T>
^
/home/bruno/Software/sage/local/include/factory/templates/ftmpl_matrix.h:70:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
template <class T>
^
/home/bruno/Software/sage/local/include/factory/templates/ftmpl_matrix.h:73:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
template <class T>
^
In file included from /home/bruno/Software/sage/local/include/factor.h:8:0,
from _home_bruno_Recherche_Sage_LinearFactors_essai_spyx_0.c:249:
/home/bruno/Software/sage/local/include/factory/factory.h:114:1: error: unknown type name 'class'
class CanonicalForm;
^
/home/bruno/Software/sage/local/include/factory/factory.h:116:1: error: unknown type name 'class'
class Variable
^
/home/bruno/Software/sage/local/include/factory/factory.h:117:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
/home/bruno/Software/sage/local/include/factory/factory.h:167:1: error: unknown type name 'Variable'
Variable rootOf( const CanonicalForm &, char name = '@' );
^
/home/bruno/Software/sage/local/include/factory/factory.h:167:38: error: expected ';', ',' or ')' before '&' token
Variable rootOf( const CanonicalForm &, char name = '@' );
^
/home/bruno/Software/sage/local/include/factory/factory.h:169:34: error: expected ';', ',' or ')' before '&' token
inline int level( const Variable & v ) { return v.level(); }
^
/home/bruno/Software/sage/local/include/factory/factory.h:170:34: error: expected ';', ',' or ')' before '&' token
inline char name( const Variable & v ) { return v.name(); }
^
/home/bruno/Software/sage/local/include/factory/factory.h:172:31: error: expected ';', ',' or ')' before '&' token
void setMipo ( const Variable & alpha, const CanonicalForm & mipo);
^
/home/bruno/Software/sage/local/include/factory/factory.h:173:1: error: unknown type name 'CanonicalForm'
CanonicalForm getMipo( const Variable & alpha, const Variable & x );
^
/home/bruno/Software/sage/local/include/factory/factory.h:173:39: error: expected ';', ',' or ')' before '&' token
CanonicalForm getMipo( const Variable & alpha, const Variable & x );
^
/home/bruno/Software/sage/local/include/factory/factory.h:174:1: error: unknown type name 'bool'
bool hasMipo( const Variable & alpha );
^
/home/bruno/Software/sage/local/include/factory/factory.h:174:30: error: expected ';', ',' or ')' before '&' token
bool hasMipo( const Variable & alpha );
^
/home/bruno/Software/sage/local/include/factory/factory.h:181:32: error: expected ';', ',' or ')' before '&' token
void setReduce( const Variable & alpha, bool reduce );
^
/home/bruno/Software/sage/local/include/factory/factory.h:192:1: error: unknown type name 'class'
class InternalCF;
^
/home/bruno/Software/sage/local/include/factory/factory.h:194:38: error: expected ';', ',' or ')' before '*' token
inline int is_imm ( const InternalCF * const ptr )
^
/home/bruno/Software/sage/local/include/factory/factory.h:203:1: error: initializer element is not constant
static int cf_is_initialized_now = initCanonicalForm();
^
/home/bruno/Software/sage/local/include/factory/factory.h:207:1: error: unknown type name 'class'
class CanonicalForm
^
/home/bruno/Software/sage/local/include/factory/factory.h:208:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
In file included from /home/bruno/Software/sage/local/include/factor.h:8:0,
from _home_bruno_Recherche_Sage_LinearFactors_essai_spyx_0.c:249:
/home/bruno/Software/sage/local/include/factory/factory.h:329:11: error: unknown type name 'CanonicalForm'
CF_INLINE CanonicalForm
^
/home/bruno/Software/sage/local/include/factory/factory.h:330:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '+' token
operator + ( const CanonicalForm&, const CanonicalForm& );
^
/home/bruno/Software/sage/local/include/factory/factory.h:332:14: error: unknown type name 'CanonicalForm'
CF_NO_INLINE CanonicalForm
^
/home/bruno/Software/sage/local/include/factory/factory.h:333:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
operator - ( const CanonicalForm&, const CanonicalForm& );
^
/home/bruno/Software/sage/local/include/factory/factory.h:335:11: error: unknown type name 'CanonicalForm'
CF_INLINE CanonicalForm
^
/home/bruno/Software/sage/local/include/factory/factory.h:336:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
operator * ( const CanonicalForm&, const CanonicalForm& );
^
/home/bruno/Software/sage/local/include/factory/factory.h:338:14: error: unknown type name 'CanonicalForm'
CF_NO_INLINE CanonicalForm
^
/home/bruno/Software/sage/local/include/factory/factory.h:339:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '/' token
operator / ( const CanonicalForm&, const CanonicalForm& );
^
/home/bruno/Software/sage/local/include/factory/factory.h:341:14: error: unknown type name 'CanonicalForm'
CF_NO_INLINE CanonicalForm
^
/home/bruno/Software/sage/local/include/factory/factory.h:342:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '%' token
operator % ( const CanonicalForm&, const CanonicalForm& );
^
/home/bruno/Software/sage/local/include/factory/factory.h:344:14: error: unknown type name 'CanonicalForm'
CF_NO_INLINE CanonicalForm
^
/home/bruno/Software/sage/local/include/factory/factory.h:345:26: error: expected ';', ',' or ')' before '&' token
div ( const CanonicalForm&, const CanonicalForm& );
^
/home/bruno/Software/sage/local/include/factory/factory.h:347:14: error: unknown type name 'CanonicalForm'
CF_NO_INLINE CanonicalForm
^
/home/bruno/Software/sage/local/include/factory/factory.h:348:26: error: expected ';', ',' or ')' before '&' token
mod ( const CanonicalForm&, const CanonicalForm& );
^
/home/bruno/Software/sage/local/include/factory/factory.h:352:1: error: unknown type name 'CanonicalForm'
CanonicalForm blcm ( const CanonicalForm & f, const CanonicalForm & g );
^
/home/bruno/Software/sage/local/include/factory/factory.h:352:42: error: expected ';', ',' or ')' before '&' token
CanonicalForm blcm ( const CanonicalForm & f, const CanonicalForm & g );
^
/home/bruno/Software/sage/local/include/factory/factory.h:354:1: error: unknown type name 'CanonicalForm'
CanonicalForm power ( const CanonicalForm & f, int n );
^
/home/bruno/Software/sage/local/include/factory/factory.h:354:43: error: expected ';', ',' or ')' before '&' token
CanonicalForm power ( const CanonicalForm & f, int n );
^
/home/bruno/Software/sage/local/include/factory/factory.h:356:1: error: unknown type name 'CanonicalForm'
CanonicalForm power ( const Variable & v, int n );
^
/home/bruno/Software/sage/local/include/factory/factory.h:356:38: error: expected ';', ',' or ')' before '&' token
CanonicalForm power ( const Variable & v, int n );
^
/home/bruno/Software/sage/local/include/factory/factory.h:360:1: error: unknown type name 'CanonicalForm'
CanonicalForm gcd ( const CanonicalForm&, const CanonicalForm& );
^
/home/bruno/Software/sage/local/include/factory/factory.h:360:40: error: expected ';', ',' or ')' before '&' token
CanonicalForm gcd ( const CanonicalForm&, const CanonicalForm& );
^
/home/bruno/Software/sage/local/include/factory/factory.h:362:1: error: unknown type name 'CanonicalForm'
CanonicalForm gcd_poly ( const CanonicalForm & f, const CanonicalForm & g );
^
/home/bruno/Software/sage/local/include/factory/factory.h:362:46: error: expected ';', ',' or ')' before '&' token
CanonicalForm gcd_poly ( const CanonicalForm & f, const CanonicalForm & g );
^
/home/bruno/Software/sage/local/include/factory/factory.h:364:1: error: unknown type name 'CanonicalForm'
CanonicalForm extgcd ( const CanonicalForm&, const CanonicalForm&, CanonicalForm&, CanonicalForm& );
^
/home/bruno/Software/sage/local/include/factory/factory.h:364:43: error: expected ';', ',' or ')' before '&' token
CanonicalForm extgcd ( const CanonicalForm&, const CanonicalForm&, CanonicalForm&, CanonicalForm& );
^
/home/bruno/Software/sage/local/include/factory/factory.h:366:1: error: unknown type name 'CanonicalForm'
CanonicalForm lcm ( const CanonicalForm&, const CanonicalForm& );
^
/home/bruno/Software/sage/local/include/factory/factory.h:366:40: error: expected ';', ',' or ')' before '&' token
CanonicalForm lcm ( const CanonicalForm&, const CanonicalForm& );
^
/home/bruno/Software/sage/local/include/factory/factory.h:368:1: error: unknown type name 'CanonicalForm'
CanonicalForm pp ( const CanonicalForm& );
^
/home/bruno/Software/sage/local/include/factory/factory.h:368:39: error: expected ';', ',' or ')' before '&' token
CanonicalForm pp ( const CanonicalForm& );
^
/home/bruno/Software/sage/local/include/factory/factory.h:370:1: error: unknown type name 'CanonicalForm'
CanonicalForm content ( const CanonicalForm& );
^
/home/bruno/Software/sage/local/include/factory/factory.h:370:44: error: expected ';', ',' or ')' before '&' token
CanonicalForm content ( const CanonicalForm& );
^
/home/bruno/Software/sage/local/include/factory/factory.h:372:1: error: unknown type name 'CanonicalForm'
CanonicalForm content ( const CanonicalForm&, const Variable& );
^
/home/bruno/Software/sage/local/include/factory/factory.h:372:44: error: expected ';', ',' or ')' before '&' token
CanonicalForm content ( const CanonicalForm&, const Variable& );
^
/home/bruno/Software/sage/local/include/factory/factory.h:374:1: error: unknown type name 'CanonicalForm'
CanonicalForm icontent ( const CanonicalForm & f );
^
/home/bruno/Software/sage/local/include/factory/factory.h:374:46: error: expected ';', ',' or ')' before '&' token
CanonicalForm icontent ( const CanonicalForm & f );
^
/home/bruno/Software/sage/local/include/factory/factory.h:376:1: error: unknown type name 'CanonicalForm'
CanonicalForm vcontent ( const CanonicalForm & f, const Variable & x );
^
/home/bruno/Software/sage/local/include/factory/factory.h:376:46: error: expected ';', ',' or ')' before '&' token
CanonicalForm vcontent ( const CanonicalForm & f, const Variable & x );
^
/home/bruno/Software/sage/local/include/factory/factory.h:380:1: error: unknown type name 'CanonicalForm'
CanonicalForm swapvar ( const CanonicalForm &, const Variable &, const Variable & );
^
/home/bruno/Software/sage/local/include/factory/factory.h:380:45: error: expected ';', ',' or ')' before '&' token
CanonicalForm swapvar ( const CanonicalForm &, const Variable &, const Variable & );
^
/home/bruno/Software/sage/local/include/factory/factory.h:382:1: error: unknown type name 'CanonicalForm'
CanonicalForm replacevar ( const CanonicalForm &, const Variable &, const Variable & );
^
/home/bruno/Software/sage/local/include/factory/factory.h:382:48: error: expected ';', ',' or ')' before '&' token
CanonicalForm replacevar ( const CanonicalForm &, const Variable &, const Variable & );
^
/home/bruno/Software/sage/local/include/factory/factory.h:384:37: error: expected ';', ',' or ')' before '&' token
int getNumVars( const CanonicalForm & f );
^
/home/bruno/Software/sage/local/include/factory/factory.h:386:1: error: unknown type name 'CanonicalForm'
CanonicalForm getVars( const CanonicalForm & f );
^
/home/bruno/Software/sage/local/include/factory/factory.h:386:44: error: expected ';', ',' or ')' before '&' token
CanonicalForm getVars( const CanonicalForm & f );
^
/home/bruno/Software/sage/local/include/factory/factory.h:388:1: error: unknown type name 'CanonicalForm'
CanonicalForm apply ( const CanonicalForm & f, void (*mf)( CanonicalForm &, int & ) );
^
/home/bruno/Software/sage/local/include/factory/factory.h:388:43: error: expected ';', ',' or ')' before '&' token
CanonicalForm apply ( const CanonicalForm & f, void (*mf)( CanonicalForm &, int & ) );
^
/home/bruno/Software/sage/local/include/factory/factory.h:390:1: error: unknown type name 'CanonicalForm'
CanonicalForm mapdomain ( const CanonicalForm & f, CanonicalForm (*mf)( const CanonicalForm & ) );
^
/home/bruno/Software/sage/local/include/factory/factory.h:390:47: error: expected ';', ',' or ')' before '&' token
CanonicalForm mapdomain ( const CanonicalForm & f, CanonicalForm (*mf)( const CanonicalForm & ) );
^
/home/bruno/Software/sage/local/include/factory/factory.h:392:37: error: expected ';', ',' or ')' before '&' token
int * degrees ( const CanonicalForm & f, int * degs = 0 );
^
/home/bruno/Software/sage/local/include/factory/factory.h:394:39: error: expected ';', ',' or ')' before '&' token
int totaldegree ( const CanonicalForm & f );
^
/home/bruno/Software/sage/local/include/factory/factory.h:396:39: error: expected ';', ',' or ')' before '&' token
int totaldegree ( const CanonicalForm & f, const Variable & v1, const Variable & v2 );
^
/home/bruno/Software/sage/local/include/factory/factory.h:398:32: error: expected ';', ',' or ')' before '&' token
int size ( const CanonicalForm & f, const Variable & v );
^
/home/bruno/Software/sage/local/include/factory/factory.h:400:32: error: expected ';', ',' or ')' before '&' token
int size ( const CanonicalForm & f );
^
/home/bruno/Software/sage/local/include/factory/factory.h:402:1: error: unknown type name 'CanonicalForm'
CanonicalForm reduce ( const CanonicalForm& f, const CanonicalForm & M);
^
/home/bruno/Software/sage/local/include/factory/factory.h:402:43: error: expected ';', ',' or ')' before '&' token
CanonicalForm reduce ( const CanonicalForm& f, const CanonicalForm & M);
^
/home/bruno/Software/sage/local/include/factory/factory.h:415:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'lc'
lc ( const CanonicalForm & f ) { return f.lc(); }
^
/home/bruno/Software/sage/local/include/factory/factory.h:418:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Lc'
Lc ( const CanonicalForm & f ) { return f.Lc(); }
^
/home/bruno/Software/sage/local/include/factory/factory.h:421:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'LC'
LC ( const CanonicalForm & f ) { return f.LC(); }
^
/home/bruno/Software/sage/local/include/factory/factory.h:424:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'LC'
LC ( const CanonicalForm & f, const Variable & v ) { return f.LC( v ); }
^
/home/bruno/Software/sage/local/include/factory/factory.h:427:30: error: expected ';', ',' or ')' before '&' token
degree ( const CanonicalForm & f ) { return f.degree(); }
^
/home/bruno/Software/sage/local/include/factory/factory.h:430:30: error: expected ';', ',' or ')' before '&' token
degree ( const CanonicalForm & f, const Variable & v ) { return f.degree( v ); }
^
/home/bruno/Software/sage/local/include/factory/factory.h:433:34: error: expected ';', ',' or ')' before '&' token
taildegree ( const CanonicalForm & f ) { return f.taildegree(); }
^
/home/bruno/Software/sage/local/include/factory/factory.h:436:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tailcoeff'
tailcoeff ( const CanonicalForm & f ) { return f.tailcoeff(); }
^
/home/bruno/Software/sage/local/include/factory/factory.h:439:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tailcoeff'
tailcoeff (const CanonicalForm& f, const Variable& v) { return f.tailcoeff(v); }
^
/home/bruno/Software/sage/local/include/factory/factory.h:442:29: error: expected ';', ',' or ')' before '&' token
level ( const CanonicalForm & f ) { return f.level(); }
^
/home/bruno/Software/sage/local/include/factory/factory.h:444:8: error: unknown type name 'Variable'
inline Variable
^
/home/bruno/Software/sage/local/include/factory/factory.h:445:28: error: expected ';', ',' or ')' before '&' token
mvar ( const CanonicalForm & f ) { return f.mvar(); }
^
/home/bruno/Software/sage/local/include/factory/factory.h:448:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'num'
num ( const CanonicalForm & f ) { return f.num(); }
^
/home/bruno/Software/sage/local/include/factory/factory.h:451:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'den'
den ( const CanonicalForm & f ) { return f.den(); }
^
/home/bruno/Software/sage/local/include/factory/factory.h:454:28: error: expected ';', ',' or ')' before '&' token
sign ( const CanonicalForm & a ) { return a.sign(); }
^
/home/bruno/Software/sage/local/include/factory/factory.h:457:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'deriv'
deriv ( const CanonicalForm & f, const Variable & x ) { return f.deriv( x ); }
^
/home/bruno/Software/sage/local/include/factory/factory.h:460:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sqrt'
sqrt ( const CanonicalForm & a ) { return a.sqrt(); }
^
/home/bruno/Software/sage/local/include/factory/factory.h:463:29: error: expected ';', ',' or ')' before '&' token
ilog2 ( const CanonicalForm & a ) { return a.ilog2(); }
^
/home/bruno/Software/sage/local/include/factory/factory.h:466:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mapinto'
mapinto ( const CanonicalForm & f ) { return f.mapinto(); }
^
/home/bruno/Software/sage/local/include/factory/factory.h:471:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'head'
head ( const CanonicalForm & f )
^
/home/bruno/Software/sage/local/include/factory/factory.h:480:34: error: expected ';', ',' or ')' before '&' token
headdegree ( const CanonicalForm & f ) { return totaldegree( head( f ) ); }
^
/home/bruno/Software/sage/local/include/factory/factory.h:487:6: error: conflicting types for 'setCharacteristic'
void setCharacteristic( int c, int n ); // -> PrimePower
^
/home/bruno/Software/sage/local/include/factory/factory.h:486:6: note: previous declaration of 'setCharacteristic' was here
void setCharacteristic( int c ); // -> Fp && Q
^
/home/bruno/Software/sage/local/include/factory/factory.h:488:6: error: conflicting types for 'setCharacteristic'
void setCharacteristic( int c, int n, char name ); // -> GF(q)
^
/home/bruno/Software/sage/local/include/factory/factory.h:486:6: note: previous declaration of 'setCharacteristic' was here
void setCharacteristic( int c ); // -> Fp && Q
^
/home/bruno/Software/sage/local/include/factory/factory.h:492:1: error: unknown type name 'CanonicalForm'
CanonicalForm getGFGenerator();
^
/home/bruno/Software/sage/local/include/factory/factory.h:496:1: error: unknown type name 'bool'
bool isOn( int );
^
/home/bruno/Software/sage/local/include/factory/factory.h:500:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
typedef AFactor<CanonicalForm> CFAFactor;
^
/home/bruno/Software/sage/local/include/factory/factory.h:501:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
typedef List <CFAFactor> CFAFList;
^
/home/bruno/Software/sage/local/include/factory/factory.h:502:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
typedef ListIterator<CFAFactor> CFAFListIterator;
^
/home/bruno/Software/sage/local/include/factory/factory.h:503:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
typedef Factor<CanonicalForm> CFFactor;
^
/home/bruno/Software/sage/local/include/factory/factory.h:504:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
typedef List<CFFactor> CFFList;
^
/home/bruno/Software/sage/local/include/factory/factory.h:505:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
typedef ListIterator<CFFactor> CFFListIterator;
^
/home/bruno/Software/sage/local/include/factory/factory.h:506:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
typedef List<CanonicalForm> CFList;
^
/home/bruno/Software/sage/local/include/factory/factory.h:507:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
typedef ListIterator<CanonicalForm> CFListIterator;
^
/home/bruno/Software/sage/local/include/factory/factory.h:508:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
typedef Array<CanonicalForm> CFArray;
^
/home/bruno/Software/sage/local/include/factory/factory.h:509:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
typedef Matrix<CanonicalForm> CFMatrix;
^
/home/bruno/Software/sage/local/include/factory/factory.h:516:1: error: unknown type name 'CanonicalForm'
CanonicalForm binomialpower ( const Variable&, const CanonicalForm&, int );
^
/home/bruno/Software/sage/local/include/factory/factory.h:516:45: error: expected ';', ',' or ')' before '&' token
CanonicalForm binomialpower ( const Variable&, const CanonicalForm&, int );
^
/home/bruno/Software/sage/local/include/factory/factory.h:523:1: error: unknown type name 'CanonicalForm'
CanonicalForm psr ( const CanonicalForm & f, const CanonicalForm & g, const Variable & x );
^
/home/bruno/Software/sage/local/include/factory/factory.h:523:41: error: expected ';', ',' or ')' before '&' token
CanonicalForm psr ( const CanonicalForm & f, const CanonicalForm & g, const Variable & x );
^
/home/bruno/Software/sage/local/include/factory/factory.h:525:1: error: unknown type name 'CanonicalForm'
CanonicalForm psq ( const CanonicalForm & f, const CanonicalForm & g, const Variable & x );
^
/home/bruno/Software/sage/local/include/factory/factory.h:525:41: error: expected ';', ',' or ')' before '&' token
CanonicalForm psq ( const CanonicalForm & f, const CanonicalForm & g, const Variable & x );
^
/home/bruno/Software/sage/local/include/factory/factory.h:527:33: error: expected ';', ',' or ')' before '&' token
void psqr ( const CanonicalForm & f, const CanonicalForm & g, CanonicalForm & q, CanonicalForm & r, const Variable & x );
^
/home/bruno/Software/sage/local/include/factory/factory.h:529:1: error: unknown type name 'CanonicalForm'
CanonicalForm bCommonDen ( const CanonicalForm & f );
^
/home/bruno/Software/sage/local/include/factory/factory.h:529:48: error: expected ';', ',' or ')' before '&' token
CanonicalForm bCommonDen ( const CanonicalForm & f );
^
/home/bruno/Software/sage/local/include/factory/factory.h:531:1: error: unknown type name 'bool'
bool fdivides ( const CanonicalForm & f, const CanonicalForm & g );
^
/home/bruno/Software/sage/local/include/factory/factory.h:531:37: error: expected ';', ',' or ')' before '&' token
bool fdivides ( const CanonicalForm & f, const CanonicalForm & g );
^
/home/bruno/Software/sage/local/include/factory/factory.h:533:1: error: unknown type name 'bool'
bool fdivides ( const CanonicalForm & f, const CanonicalForm & g, CanonicalForm& quot );
^
/home/bruno/Software/sage/local/include/factory/factory.h:533:37: error: expected ';', ',' or ')' before '&' token
bool fdivides ( const CanonicalForm & f, const CanonicalForm & g, CanonicalForm& quot );
^
/home/bruno/Software/sage/local/include/factory/factory.h:535:1: error: unknown type name 'bool'
bool tryFdivides ( const CanonicalForm & f, const CanonicalForm & g, const CanonicalForm& M, bool& fail );
^
/home/bruno/Software/sage/local/include/factory/factory.h:535:40: error: expected ';', ',' or ')' before '&' token
bool tryFdivides ( const CanonicalForm & f, const CanonicalForm & g, const CanonicalForm& M, bool& fail );
^
/home/bruno/Software/sage/local/include/factory/factory.h:537:1: error: unknown type name 'CanonicalForm'
CanonicalForm maxNorm ( const CanonicalForm & f );
^
/home/bruno/Software/sage/local/include/factory/factory.h:537:45: error: expected ';', ',' or ')' before '&' token
CanonicalForm maxNorm ( const CanonicalForm & f );
^
/home/bruno/Software/sage/local/include/factory/factory.h:539:1: error: unknown type name 'CanonicalForm'
CanonicalForm euclideanNorm ( const CanonicalForm & f );
^
/home/bruno/Software/sage/local/include/factory/factory.h:539:51: error: expected ';', ',' or ')' before '&' token
CanonicalForm euclideanNorm ( const CanonicalForm & f );
^
/home/bruno/Software/sage/local/include/factory/factory.h:543:45: error: expected ';', ',' or ')' before '&' token
void chineseRemainder ( const CanonicalForm & x1, const CanonicalForm & q1, const CanonicalForm & x2, const CanonicalForm & q2, CanonicalForm & xnew, CanonicalForm & qnew );
^
/home/bruno/Software/sage/local/include/factory/factory.h:545:39: error: expected ';', ',' or ')' before '&' token
void chineseRemainder ( const CFArray & x, const CFArray & q, CanonicalForm & xnew, CanonicalForm & qnew );
^
/home/bruno/Software/sage/local/include/factory/factory.h:547:1: error: unknown type name 'CanonicalForm'
CanonicalForm Farey ( const CanonicalForm & f, const CanonicalForm & q );
^
/home/bruno/Software/sage/local/include/factory/factory.h:547:43: error: expected ';', ',' or ')' before '&' token
CanonicalForm Farey ( const CanonicalForm & f, const CanonicalForm & q );
^
/home/bruno/Software/sage/local/include/factory/factory.h:553:1: error: unknown type name 'bool'
bool isPurePoly(const CanonicalForm & f);
^
/home/bruno/Software/sage/local/include/factory/factory.h:553:37: error: expected ';', ',' or ')' before '&' token
bool isPurePoly(const CanonicalForm & f);
^
/home/bruno/Software/sage/local/include/factory/factory.h:555:1: error: unknown type name 'bool'
bool isPurePoly_m(const CanonicalForm & f);
^
/home/bruno/Software/sage/local/include/factory/factory.h:555:39: error: expected ';', ',' or ')' before '&' token
bool isPurePoly_m(const CanonicalForm & f);
^
/home/bruno/Software/sage/local/include/factory/factory.h:557:1: error: unknown type name 'CFFList'
CFFList factorize ( const CanonicalForm & f, bool issqrfree = false );
^
/home/bruno/Software/sage/local/include/factory/factory.h:557:41: error: expected ';', ',' or ')' before '&' token
CFFList factorize ( const CanonicalForm & f, bool issqrfree = false );
^
/home/bruno/Software/sage/local/include/factory/factory.h:559:1: error: unknown type name 'CFFList'
CFFList factorize ( const CanonicalForm & f, const Variable & alpha );
^
/home/bruno/Software/sage/local/include/factory/factory.h:559:41: error: expected ';', ',' or ')' before '&' token
CFFList factorize ( const CanonicalForm & f, const Variable & alpha );
^
/home/bruno/Software/sage/local/include/factory/factory.h:561:1: error: unknown type name 'CFFList'
CFFList sqrFree ( const CanonicalForm & f, bool sort= false );
^
/home/bruno/Software/sage/local/include/factory/factory.h:561:39: error: expected ';', ',' or ')' before '&' token
CFFList sqrFree ( const CanonicalForm & f, bool sort= false );
^
/home/bruno/Software/sage/local/include/factory/factory.h:563:1: error: unknown type name 'bool'
bool isSqrFree ( const CanonicalForm & f );
^
/home/bruno/Software/sage/local/include/factory/factory.h:563:38: error: expected ';', ',' or ')' before '&' token
bool isSqrFree ( const CanonicalForm & f );
^
/home/bruno/Software/sage/local/include/factory/factory.h:565:1: error: unknown type name 'CanonicalForm'
CanonicalForm homogenize( const CanonicalForm & f, const Variable & x);
^
/home/bruno/Software/sage/local/include/factory/factory.h:565:47: error: expected ';', ',' or ')' before '&' token
CanonicalForm homogenize( const CanonicalForm & f, const Variable & x);
^
/home/bruno/Software/sage/local/include/factory/factory.h:566:1: error: unknown type name 'CanonicalForm'
CanonicalForm homogenize( const CanonicalForm & f, const Variable & x,
^
/home/bruno/Software/sage/local/include/factory/factory.h:566:47: error: expected ';', ',' or ')' before '&' token
CanonicalForm homogenize( const CanonicalForm & f, const Variable & x,
^
/home/bruno/Software/sage/local/include/factory/factory.h:568:1: error: unknown type name 'Variable'
Variable get_max_degree_Variable(const CanonicalForm & f);
^
/home/bruno/Software/sage/local/include/factory/factory.h:568:54: error: expected ';', ',' or ')' before '&' token
Variable get_max_degree_Variable(const CanonicalForm & f);
^
/home/bruno/Software/sage/local/include/factory/factory.h:569:1: error: unknown type name 'CFList'
CFList get_Terms( const CanonicalForm & f );
^
/home/bruno/Software/sage/local/include/factory/factory.h:569:39: error: expected ';', ',' or ')' before '&' token
CFList get_Terms( const CanonicalForm & f );
^
/home/bruno/Software/sage/local/include/factory/factory.h:570:36: error: expected ';', ',' or ')' before '&' token
void getTerms( const CanonicalForm & f, const CanonicalForm & t, CFList & result );
^
/home/bruno/Software/sage/local/include/factory/factory.h:576:1: error: unknown type name 'bool'
bool linearSystemSolve ( CFMatrix & M );
^
/home/bruno/Software/sage/local/include/factory/factory.h:576:35: error: expected ')' before '&' token
bool linearSystemSolve ( CFMatrix & M );
^
/home/bruno/Software/sage/local/include/factory/factory.h:578:1: error: unknown type name 'CanonicalForm'
CanonicalForm determinant ( const CFMatrix & M, int n );
^
/home/bruno/Software/sage/local/include/factory/factory.h:578:44: error: expected ';', ',' or ')' before '&' token
CanonicalForm determinant ( const CFMatrix & M, int n );
^
/home/bruno/Software/sage/local/include/factory/factory.h:582:1: error: unknown type name 'CFArray'
CFArray subResChain ( const CanonicalForm & f, const CanonicalForm & g, const Variable & x );
^
/home/bruno/Software/sage/local/include/factory/factory.h:582:43: error: expected ';', ',' or ')' before '&' token
CFArray subResChain ( const CanonicalForm & f, const CanonicalForm & g, const Variable & x );
^
/home/bruno/Software/sage/local/include/factory/factory.h:584:1: error: unknown type name 'CanonicalForm'
CanonicalForm resultant ( const CanonicalForm & f, const CanonicalForm & g, const Variable & x );
^
/home/bruno/Software/sage/local/include/factory/factory.h:584:47: error: expected ';', ',' or ')' before '&' token
CanonicalForm resultant ( const CanonicalForm & f, const CanonicalForm & g, const Variable & x );
^
/home/bruno/Software/sage/local/include/factory/factory.h:606:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'abs'
abs ( const CanonicalForm & f )
^
/home/bruno/Software/sage/local/include/factory/factory.h:621:1: error: unknown type name 'class'
class Evaluation
^
/home/bruno/Software/sage/local/include/factory/factory.h:622:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
/home/bruno/Software/sage/local/include/factory/factory.h:648:1: error: unknown type name 'class'
class CFGenerator
^
/home/bruno/Software/sage/local/include/factory/factory.h:649:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
/home/bruno/Software/sage/local/include/factory/factory.h:660:1: error: unknown type name 'class'
class FFGenerator : public CFGenerator
^
/home/bruno/Software/sage/local/include/factory/factory.h:660:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
class FFGenerator : public CFGenerator
^
/home/bruno/Software/sage/local/include/factory/factory.h:676:1: error: unknown type name 'class'
class GFGenerator : public CFGenerator
^
/home/bruno/Software/sage/local/include/factory/factory.h:676:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
class GFGenerator : public CFGenerator
^
/home/bruno/Software/sage/local/include/factory/factory.h:692:1: error: unknown type name 'class'
class AlgExtGenerator: public CFGenerator
^
/home/bruno/Software/sage/local/include/factory/factory.h:692:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
class AlgExtGenerator: public CFGenerator
^
/home/bruno/Software/sage/local/include/factory/factory.h:716:1: error: unknown type name 'class'
class CFGenFactory
^
/home/bruno/Software/sage/local/include/factory/factory.h:717:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
/home/bruno/Software/sage/local/include/factory/factory.h:732:1: error: unknown type name 'class'
class term;
^
/home/bruno/Software/sage/local/include/factory/factory.h:733:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
typedef term * termList;
^
/home/bruno/Software/sage/local/include/factory/factory.h:735:1: error: unknown type name 'class'
class CFIterator {
^
/home/bruno/Software/sage/local/include/factory/factory.h:735:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
class CFIterator {
^
/home/bruno/Software/sage/local/include/factory/factory.h:762:1: error: unknown type name 'class'
class CFRandom {
^
/home/bruno/Software/sage/local/include/factory/factory.h:762:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
class CFRandom {
^
/home/bruno/Software/sage/local/include/factory/factory.h:769:1: error: unknown type name 'class'
class GFRandom : public CFRandom
^
/home/bruno/Software/sage/local/include/factory/factory.h:769:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
class GFRandom : public CFRandom
^
/home/bruno/Software/sage/local/include/factory/factory.h:778:1: error: unknown type name 'class'
class FFRandom : public CFRandom
^
/home/bruno/Software/sage/local/include/factory/factory.h:778:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
class FFRandom : public CFRandom
^
/home/bruno/Software/sage/local/include/factory/factory.h:787:1: error: unknown type name 'class'
class IntRandom : public CFRandom
^
/home/bruno/Software/sage/local/include/factory/factory.h:787:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
class IntRandom : public CFRandom
^
/home/bruno/Software/sage/local/include/factory/factory.h:799:1: error: unknown type name 'class'
class AlgExtRandomF : public CFRandom {
^
/home/bruno/Software/sage/local/include/factory/factory.h:799:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
class AlgExtRandomF : public CFRandom {
^
/home/bruno/Software/sage/local/include/factory/factory.h:816:1: error: unknown type name 'class'
class CFRandomFactory {
^
/home/bruno/Software/sage/local/include/factory/factory.h:816:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
class CFRandomFactory {
^
/home/bruno/Software/sage/local/include/factory/factory.h:829:1: error: unknown type name 'CanonicalForm'
CanonicalForm find_irreducible ( int deg, CFRandom & gen, const Variable & x );
^
/home/bruno/Software/sage/local/include/factory/factory.h:829:43: error: unknown type name 'CFRandom'
CanonicalForm find_irreducible ( int deg, CFRandom & gen, const Variable & x );
^
/home/bruno/Software/sage/local/include/factory/factory.h:829:74: error: expected ';', ',' or ')' before '&' token
CanonicalForm find_irreducible ( int deg, CFRandom & gen, const Variable & x );
^
/home/bruno/Software/sage/local/include/factory/factory.h:835:1: error: unknown type name 'class'
class modpk
^
/home/bruno/Software/sage/local/include/factory/factory.h:836:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
/home/bruno/Software/sage/local/include/factory/factory.h:856:1: error: unknown type name 'CanonicalForm'
CanonicalForm replaceLc( const CanonicalForm & f, const CanonicalForm & c );
^
/home/bruno/Software/sage/local/include/factory/factory.h:856:46: error: expected ';', ',' or ')' before '&' token
CanonicalForm replaceLc( const CanonicalForm & f, const CanonicalForm & c );
^
/home/bruno/Software/sage/local/include/factory/factory.h:858:1: error: unknown type name 'CanonicalForm'
CanonicalForm remainder( const CanonicalForm & f, const CanonicalForm & g, const modpk & pk );
^
/home/bruno/Software/sage/local/include/factory/factory.h:858:46: error: expected ';', ',' or ')' before '&' token
CanonicalForm remainder( const CanonicalForm & f, const CanonicalForm & g, const modpk & pk );
^
/home/bruno/Software/sage/local/include/factory/factory.h:860:40: error: expected ';', ',' or ')' before '&' token
void divremainder( const CanonicalForm & f, const CanonicalForm & g, CanonicalForm & quot, CanonicalForm & rem, const modpk & pk );
^
/home/bruno/Software/sage/local/include/factory/factory.h:862:1: error: unknown type name 'bool'
bool Hensel ( const CanonicalForm & U, CFArray & G, const CFArray & lcG, const Evaluation & A, const modpk & bound, const Variable & x );
^
/home/bruno/Software/sage/local/include/factory/factory.h:862:35: error: expected ';', ',' or ')' before '&' token
bool Hensel ( const CanonicalForm & U, CFArray & G, const CFArray & lcG, const Evaluation & A, const modpk & bound, const Variable & x );
^
/home/bruno/Software/sage/local/include/factory/factory.h:866:1: error: unknown type name 'CanonicalForm'
CanonicalForm sum ( const CFArray & a, int f, int l );
^
/home/bruno/Software/sage/local/include/factory/factory.h:866:35: error: expected ';', ',' or ')' before '&' token
CanonicalForm sum ( const CFArray & a, int f, int l );
^
/home/bruno/Software/sage/local/include/factory/factory.h:868:1: error: unknown type name 'CanonicalForm'
CanonicalForm prod ( const CFArray & a, int f, int l );
^
/home/bruno/Software/sage/local/include/factory/factory.h:868:36: error: expected ';', ',' or ')' before '&' token
CanonicalForm prod ( const CFArray & a, int f, int l );
^
/home/bruno/Software/sage/local/include/factory/factory.h:870:1: error: unknown type name 'CanonicalForm'
CanonicalForm sum ( const CFArray & a );
^
/home/bruno/Software/sage/local/include/factory/factory.h:870:35: error: expected ';', ',' or ')' before '&' token
CanonicalForm sum ( const CFArray & a );
^
/home/bruno/Software/sage/local/include/factory/factory.h:872:1: error: unknown type name 'CanonicalForm'
CanonicalForm prod ( const CFArray & a );
^
/home/bruno/Software/sage/local/include/factory/factory.h:872:36: error: expected ';', ',' or ')' before '&' token
CanonicalForm prod ( const CFArray & a );
^
/home/bruno/Software/sage/local/include/factory/factory.h:874:1: error: unknown type name 'CanonicalForm'
CanonicalForm crossprod ( const CFArray & a, const CFArray & b );
^
/home/bruno/Software/sage/local/include/factory/factory.h:874:41: error: expected ';', ',' or ')' before '&' token
CanonicalForm crossprod ( const CFArray & a, const CFArray & b );
^
/home/bruno/Software/sage/local/include/factory/factory.h:899:1: error: unknown type name 'class'
class MapPair
^
/home/bruno/Software/sage/local/include/factory/factory.h:900:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
/home/bruno/Software/sage/local/include/factory/factory.h:919:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
typedef List<MapPair> MPList;
^
/home/bruno/Software/sage/local/include/factory/factory.h:920:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
typedef ListIterator<MapPair> MPListIterator;
^
/home/bruno/Software/sage/local/include/factory/factory.h:936:1: error: unknown type name 'class'
class CFMap
^
/home/bruno/Software/sage/local/include/factory/factory.h:937:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
/home/bruno/Software/sage/local/include/factory/factory.h:957:1: error: unknown type name 'CanonicalForm'
CanonicalForm compress ( const CanonicalForm & f, CFMap & m );
^
/home/bruno/Software/sage/local/include/factory/factory.h:957:46: error: expected ';', ',' or ')' before '&' token
CanonicalForm compress ( const CanonicalForm & f, CFMap & m );
^
/home/bruno/Software/sage/local/include/factory/factory.h:958:31: error: expected ';', ',' or ')' before '&' token
void compress ( const CFArray & a, CFMap & M, CFMap & N );
^
/home/bruno/Software/sage/local/include/factory/factory.h:959:37: error: expected ';', ',' or ')' before '&' token
void compress ( const CanonicalForm & f, const CanonicalForm & g, CFMap & M, CFMap & N );
^
/home/bruno/Software/sage/local/include/factory/factory.h:965:1: error: unknown type name 'class'
class REvaluation : public Evaluation
^
/home/bruno/Software/sage/local/include/factory/factory.h:965:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
class REvaluation : public Evaluation
^
/home/bruno/Software/sage/local/include/factory/factory.h:987:5: error: conflicting types for 'gf_gf2ff'
int gf_gf2ff ( int a );
^
/home/bruno/Software/sage/local/include/factory/factory.h:986:6: note: previous declaration of 'gf_gf2ff' was here
long gf_gf2ff ( long a );
^
/home/bruno/Software/sage/local/include/factory/factory.h:989:1: error: unknown type name 'bool'
bool gf_isff ( long a );
^
/home/bruno/Software/sage/local/include/factory/factory.h:990:1: error: unknown type name 'bool'
bool gf_isff ( int a );
^
/home/bruno/Software/sage/local/include/factory/factory.h:990:6: error: conflicting types for 'gf_isff'
bool gf_isff ( int a );
^
/home/bruno/Software/sage/local/include/factory/factory.h:989:6: note: previous declaration of 'gf_isff' was here
bool gf_isff ( long a );
^
/home/bruno/Software/sage/local/include/factory/factory.h:1011:1: error: unknown type name 'CFMatrix'
CFMatrix* cf_HNF(CFMatrix& A);
^
/home/bruno/Software/sage/local/include/factory/factory.h:1011:26: error: expected ')' before '&' token
CFMatrix* cf_HNF(CFMatrix& A);
^
/home/bruno/Software/sage/local/include/factory/factory.h:1029:1: error: unknown type name 'CFMatrix'
CFMatrix* cf_LLL(CFMatrix& A);
^
/home/bruno/Software/sage/local/include/factory/factory.h:1029:26: error: expected ')' before '&' token
CFMatrix* cf_LLL(CFMatrix& A);
^
/home/bruno/Software/sage/local/include/factory/factory.h:1035:42: error: expected ';', ',' or ')' before '&' token
void gmp_numerator ( const CanonicalForm & f, mpz_ptr result );
^
/home/bruno/Software/sage/local/include/factory/factory.h:1037:44: error: expected ';', ',' or ')' before '&' token
void gmp_denominator ( const CanonicalForm & f, mpz_ptr result );
^
/home/bruno/Software/sage/local/include/factory/factory.h:1039:35: error: expected ';', ',' or ')' before '&' token
int gf_value (const CanonicalForm & f );
^
/home/bruno/Software/sage/local/include/factory/factory.h:1041:1: error: unknown type name 'CanonicalForm'
CanonicalForm make_cf ( const mpz_ptr n );
^
/home/bruno/Software/sage/local/include/factory/factory.h:1043:1: error: unknown type name 'CanonicalForm'
CanonicalForm make_cf ( const mpz_ptr n, const mpz_ptr d, bool normalize );
^
/home/bruno/Software/sage/local/include/factory/factory.h:1043:59: error: unknown type name 'bool'
CanonicalForm make_cf ( const mpz_ptr n, const mpz_ptr d, bool normalize );
^
/home/bruno/Software/sage/local/include/factory/factory.h:1045:1: error: unknown type name 'CanonicalForm'
CanonicalForm make_cf_from_gf ( const int z );
^
/home/bruno/Software/sage/local/include/factory/factory.h:1061:39: error: expected ';', ',' or ')' before '&' token
int probIrredTest (const CanonicalForm& F, ///< [in] some poly over Z/p
^
/home/bruno/Software/sage/local/include/factory/factory.h:1069:1: error: unknown type name 'CFAFList'
CFAFList absFactorize (const CanonicalForm& G ///<[in] poly over Q
^
/home/bruno/Software/sage/local/include/factory/factory.h:1069:43: error: expected ';', ',' or ')' before '&' token
CFAFList absFactorize (const CanonicalForm& G ///<[in] poly over Q
^
In file included from _home_bruno_Recherche_Sage_LinearFactors_essai_spyx_0.c:249:0:
/home/bruno/Software/sage/local/include/factor.h:19:1: error: unknown type name 'CFFList'
CFFList Factorize( const CanonicalForm & F, const CanonicalForm & mipo, int is_SqrFree=0 ) ;
^
/home/bruno/Software/sage/local/include/factor.h:19:40: error: expected ';', ',' or ')' before '&' token
CFFList Factorize( const CanonicalForm & F, const CanonicalForm & mipo, int is_SqrFree=0 ) ;
^
/home/bruno/Software/sage/local/include/factor.h:20:1: error: unknown type name 'CFFList'
CFFList newfactoras( const CanonicalForm & f, const CFList & as, int &success);
^
/home/bruno/Software/sage/local/include/factor.h:20:42: error: expected ';', ',' or ')' before '&' token
CFFList newfactoras( const CanonicalForm & f, const CFList & as, int &success);
^
/home/bruno/Software/sage/local/include/factor.h:21:1: error: unknown type name 'CFFList'
CFFList newcfactor( const CanonicalForm & f, const CFList & as, int &success);
^
/home/bruno/Software/sage/local/include/factor.h:21:41: error: expected ';', ',' or ')' before '&' token
CFFList newcfactor( const CanonicalForm & f, const CFList & as, int &success);
^
/home/bruno/Software/sage/local/include/factor.h:26:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
typedef List<CFList> ListCFList;
^
/home/bruno/Software/sage/local/include/factor.h:27:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
typedef List<int> IntList ;
^
/home/bruno/Software/sage/local/include/factor.h:28:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
typedef ListIterator<int> IntListIterator ;
^
/home/bruno/Software/sage/local/include/factor.h:29:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
typedef List<Variable> Varlist;
^
/home/bruno/Software/sage/local/include/factor.h:30:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
typedef ListIterator<Variable> VarlistIterator;
^
/home/bruno/Software/sage/local/include/factor.h:35:1: error: unknown type name 'class'
class PremForm {
^
/home/bruno/Software/sage/local/include/factor.h:35:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
class PremForm {
^
/home/bruno/Software/sage/local/include/factor.h:48:1: error: unknown type name 'CanonicalForm'
CanonicalForm Prem( const CanonicalForm &f, const CanonicalForm &g );
^
/home/bruno/Software/sage/local/include/factor.h:48:42: error: expected ';', ',' or ')' before '&' token
CanonicalForm Prem( const CanonicalForm &f, const CanonicalForm &g );
^
/home/bruno/Software/sage/local/include/factor.h:49:1: error: unknown type name 'CanonicalForm'
CanonicalForm Prem( const CanonicalForm &f, const CFList &L );
^
/home/bruno/Software/sage/local/include/factor.h:49:42: error: expected ';', ',' or ')' before '&' token
CanonicalForm Prem( const CanonicalForm &f, const CFList &L );
^
/home/bruno/Software/sage/local/include/factor.h:50:1: error: unknown type name 'CFList'
CFList Prem( const CFList &AS, const CFList &L );
^
/home/bruno/Software/sage/local/include/factor.h:50:35: error: expected ';', ',' or ')' before '&' token
CFList Prem( const CFList &AS, const CFList &L );
^
/home/bruno/Software/sage/local/include/factor.h:51:1: error: unknown type name 'CFList'
CFList MCharSetN( const CFList &PS, PremForm & Remembern );
^
/home/bruno/Software/sage/local/include/factor.h:51:36: error: expected ';', ',' or ')' before '&' token
CFList MCharSetN( const CFList &PS, PremForm & Remembern );
^
/home/bruno/Software/sage/local/include/factor.h:52:1: error: unknown type name 'ListCFList'
ListCFList IrrCharSeries( const CFList &PS, int opt=0 );
^
/home/bruno/Software/sage/local/include/factor.h:52:40: error: expected ';', ',' or ')' before '&' token
ListCFList IrrCharSeries( const CFList &PS, int opt=0 );
^
/home/bruno/Software/sage/local/include/factor.h:61:1: error: unknown type name 'Varlist'
Varlist neworder( const CFList & PolyList );
^
/home/bruno/Software/sage/local/include/factor.h:61:33: error: expected ';', ',' or ')' before '&' token
Varlist neworder( const CFList & PolyList );
^
/home/bruno/Software/sage/local/include/factor.h:64:1: error: unknown type name 'CFList'
CFList newordercf(const CFList & PolyList );
^
/home/bruno/Software/sage/local/include/factor.h:64:34: error: expected ';', ',' or ')' before '&' token
CFList newordercf(const CFList & PolyList );
^
/home/bruno/Software/sage/local/include/factor.h:66:1: error: unknown type name 'IntList'
IntList neworderint(const CFList & PolyList );
^
/home/bruno/Software/sage/local/include/factor.h:66:35: error: expected ';', ',' or ')' before '&' token
IntList neworderint(const CFList & PolyList );
^
/home/bruno/Software/sage/local/include/factor.h:80:1: error: unknown type name 'CFList'
CFList reorder( const Varlist & betterorder, const CFList & PS);
^
/home/bruno/Software/sage/local/include/factor.h:80:31: error: expected ';', ',' or ')' before '&' token
CFList reorder( const Varlist & betterorder, const CFList & PS);
^
/home/bruno/Software/sage/local/include/factor.h:81:1: error: unknown type name 'CFFList'
CFFList reorder( const Varlist & betterorder, const CFFList & PS);
^
/home/bruno/Software/sage/local/include/factor.h:81:32: error: expected ';', ',' or ')' before '&' token
CFFList reorder( const Varlist & betterorder, const CFFList & PS);
^
/home/bruno/Software/sage/local/include/factor.h:82:1: error: unknown type name 'ListCFList'
ListCFList reorder(const Varlist & betterorder, const ListCFList & Q);
^
/home/bruno/Software/sage/local/include/factor.h:82:34: error: expected ';', ',' or ')' before '&' token
ListCFList reorder(const Varlist & betterorder, const ListCFList & Q);
^
In file included from /home/bruno/Software/sage/local/include/singular/structs.h:15:0,
from /home/bruno/Software/sage/local/include/libsingular.h:6,
from _home_bruno_Recherche_Sage_LinearFactors_essai_spyx_0.c:251:
/home/bruno/Software/sage/local/include/singular/si_gmp.h:5:22: fatal error: cf_gmp.h: No such file or directory
# include <cf_gmp.h>
^
compilation terminated.
error: command 'gcc' failed with exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment