Hello,

I've pulled the branch public/ticket/16942 (see the corresponding ticket 
<http://trac.sagemath.org/ticket/16942>) and I encounter issue during the 
compilation (launched via "sage -b"); I've the impression that part of Pari 
is guilty... 

Here is the log of the involved command : 

gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC 
-I/home/sbesnier/sage/local/include 
-I/home/sbesnier/sage/local/include/csage -I/home/sbesnier/sage/src 
-I/home/sbesnier/sage/src/sage/ext 
-I/home/sbesnier/sage/local/include/python2.7 -c 
build/cythonized/sage/libs/pari/gen.c -o 
build/temp.linux-x86_64-2.7/build/cythonized/sage/libs/pari/gen.o 
-fno-strict-aliasing -w -fno-tree-dominator-opts
build/cythonized/sage/libs/pari/gen.c: In function 
‘__pyx_pf_4sage_4libs_4pari_3gen_3gen_380ellinit’:
build/cythonized/sage/libs/pari/gen.c:26544:39: error: too many arguments 
to function ‘ellinit’
     __pyx_t_3 = ((PyObject *)((struct 
__pyx_vtabstruct_4sage_4libs_4pari_13pari_instance_PariInstance 
*)__pyx_v_4sage_4libs_4pari_3gen_P->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->new_gen(__pyx_v_4sage_4libs_4pari_3gen_P,
 
ellinit(__pyx_v_self->g, NULL, 
__pyx_f_4sage_4libs_4pari_13pari_instance_prec_bits_to_words(__pyx_v_precision, 
0)))); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno 
= 5449; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
                                       ^
In file included from /home/sbesnier/sage/local/include/pari/pari.h:56:0,
                 from build/cythonized/sage/libs/pari/gen.c:349:
/home/sbesnier/sage/local/include/pari/paridecl.h:1373:9: note: declared 
here
 GEN     ellinit(GEN x, long prec);
         ^
build/cythonized/sage/libs/pari/gen.c: In function 
‘__pyx_pf_4sage_4libs_4pari_3gen_3gen_516nfbasis’:
build/cythonized/sage/libs/pari/gen.c:35904:39: error: too few arguments to 
function ‘nfbasis’
     __pyx_t_5 = ((PyObject *)((struct 
__pyx_vtabstruct_4sage_4libs_4pari_13pari_instance_PariInstance 
*)__pyx_v_4sage_4libs_4pari_3gen_P->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->new_gen(__pyx_v_4sage_4libs_4pari_3gen_P,
 
nfbasis(__pyx_v_self->g, NULL, __pyx_v_g0))); if (unlikely(!__pyx_t_5)) 
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 7036; __pyx_clineno = 
__LINE__; goto __pyx_L1_error;}
                                       ^
In file included from /home/sbesnier/sage/local/include/pari/pari.h:56:0,
                 from build/cythonized/sage/libs/pari/gen.c:349:
/home/sbesnier/sage/local/include/pari/paridecl.h:924:9: note: declared here
 GEN     nfbasis(GEN x, GEN *y,long flag,GEN p);
         ^
build/cythonized/sage/libs/pari/gen.c: In function 
‘__pyx_pf_4sage_4libs_4pari_3gen_3gen_518nfbasis_d’:
build/cythonized/sage/libs/pari/gen.c:36177:39: error: too few arguments to 
function ‘nfbasis’
     __pyx_t_5 = ((PyObject *)((struct 
__pyx_vtabstruct_4sage_4libs_4pari_13pari_instance_PariInstance 
*)__pyx_v_4sage_4libs_4pari_3gen_P->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->new_gen_noclear(__pyx_v_4sage_4libs_4pari_3gen_P,
 
nfbasis(__pyx_v_self->g, (&__pyx_v_disc), __pyx_v_g0))); if 
(unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 7076; 
__pyx_clineno = __LINE__; goto __pyx_L1_error;}
                                       ^
In file included from /home/sbesnier/sage/local/include/pari/pari.h:56:0,
                 from build/cythonized/sage/libs/pari/gen.c:349:
/home/sbesnier/sage/local/include/pari/paridecl.h:924:9: note: declared here
 GEN     nfbasis(GEN x, GEN *y,long flag,GEN p);
         ^
build/cythonized/sage/libs/pari/gen.c: In function 
‘__pyx_pf_4sage_4libs_4pari_3gen_3gen_748ellwp’:
build/cythonized/sage/libs/pari/gen.c:50783:39: error: too few arguments to 
function ‘ellwp0’
     __pyx_t_1 = ((PyObject *)((struct 
__pyx_vtabstruct_4sage_4libs_4pari_13pari_instance_PariInstance 
*)__pyx_v_4sage_4libs_4pari_3gen_P->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->new_gen(__pyx_v_4sage_4libs_4pari_3gen_P,
 
ellwp0(__pyx_v_self->g, __pyx_v_g0, __pyx_v_flag, 
__pyx_f_4sage_4libs_4pari_13pari_instance_prec_bits_to_words(__pyx_v_precision, 
0)))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno 
= 9225; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
                                       ^
In file included from /home/sbesnier/sage/local/include/pari/pari.h:56:0,
                 from build/cythonized/sage/libs/pari/gen.c:349:
/home/sbesnier/sage/local/include/pari/paridecl.h:1392:9: note: declared 
here
 GEN     ellwp0(GEN e, GEN z, long flag, long prec, long PREC);
         ^
build/cythonized/sage/libs/pari/gen.c: In function 
‘__pyx_pf_4sage_4libs_4pari_3gen_9PariError_6__str__’:
build/cythonized/sage/libs/pari/gen.c:52292:38: error: ‘e_SYNTAX’ 
undeclared (first use in this function)
     __pyx_t_2 = __Pyx_PyInt_From_int(e_SYNTAX); if (unlikely(!__pyx_t_2)) 
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 9465; __pyx_clineno = 
__LINE__; goto __pyx_L1_error;}
                                      ^
build/cythonized/sage/libs/pari/gen.c:52292:38: note: each undeclared 
identifier is reported only once for each function it appears in
error: command 'gcc' failed with exit status 1
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC 
-I/home/sbesnier/sage/local/include 
-I/home/sbesnier/sage/local/include/csage -I/home/sbesnier/sage/src 
-I/home/sbesnier/sage/src/sage/ext 
-I/home/sbesnier/sage/local/include/python2.7 -c 
build/cythonized/sage/libs/pari/handle_error.c -o 
build/temp.linux-x86_64-2.7/build/cythonized/sage/libs/pari/handle_error.o 
-fno-strict-aliasing -w -fno-tree-dominator-opts
build/cythonized/sage/libs/pari/handle_error.c: In function 
‘__pyx_f_4sage_4libs_4pari_12handle_error__pari_handle_exception’:
build/cythonized/sage/libs/pari/handle_error.c:1047:32: error: ‘e_STACK’ 
undeclared (first use in this function)
   __pyx_t_1 = ((__pyx_v_err == e_STACK) != 0);
                                ^
build/cythonized/sage/libs/pari/handle_error.c:1047:32: note: each 
undeclared identifier is reported only once for each function it appears in
build/cythonized/sage/libs/pari/handle_error.c:1108:32: error: ‘e_USER’ 
undeclared (first use in this function)
   __pyx_t_1 = ((__pyx_v_err == e_USER) != 0);

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to