Only thing I can think of that would be useful to know is the version of gcc used.
François > On 16/08/2015, at 18:10, Travis Scrimshaw <tsc...@ucdavis.edu> wrote: > > Okay, now I'm getting this error: > > [ 2/302] gcc -I/usr/include/ncurses -fno-strict-aliasing -g -O2 -DNDEBUG -g > -fwrapv -O3 -Wall -I/home/Travis/sage/local/include > -I/home/Travis/sage/local/include/python2.7 > -I/home/Travis/sage/local/lib/python2.7/site-packages/numpy/core/include > -I/home/Travis/sage/src -I/home/Travis/sage/src/sage/ext > -I/home/Travis/sage/src/build/cythonized > -I/home/Travis/sage/src/build/cythonized/sage/ext > -I/home/Travis/sage/local/include/python2.7 -c > /home/Travis/sage/src/build/cythonized/sage/lfunctions/zero_sums.c -o > build/temp.cygwin-2.2.0-i686-2.7/home/Travis/sage/src/build/cythonized/sage/lfunctions/zero_sums.o > -fno-strict-aliasing -w > In file included from > /home/Travis/sage/local/include/python2.7/unicodeobject.h:57:0, > from /home/Travis/sage/local/include/python2.7/Python.h:85, > from > /home/Travis/sage/src/build/cythonized/sage/lfunctions/zero_sums.c:45: > /home/Travis/sage/src/build/cythonized/sage/lfunctions/zero_sums.c:548:13: > error: expected identifier or ‘(’ before numeric constant > PyObject *_N; > ^ > In file included from /home/Travis/sage/local/include/python2.7/Python.h:80:0, > from > /home/Travis/sage/src/build/cythonized/sage/lfunctions/zero_sums.c:45: > /home/Travis/sage/src/build/cythonized/sage/lfunctions/zero_sums.c: In > function > ‘__pyx_pf_4sage_10lfunctions_9zero_sums_25LFunctionZeroSum_abstract_2level’: > /home/Travis/sage/src/build/cythonized/sage/lfunctions/zero_sums.c:1716:30: > error: expected identifier before numeric constant > __Pyx_INCREF(__pyx_v_self->_N); > ^ > /home/Travis/sage/local/include/python2.7/object.h:769:18: note: in > definition of macro ‘Py_INCREF’ > ((PyObject*)(op))->ob_refcnt++) > ^ > /home/Travis/sage/src/build/cythonized/sage/lfunctions/zero_sums.c:1716:3: > note: in expansion of macro ‘__Pyx_INCREF’ > __Pyx_INCREF(__pyx_v_self->_N); > ^ > In file included from > /home/Travis/sage/local/include/python2.7/unicodeobject.h:57:0, > from /home/Travis/sage/local/include/python2.7/Python.h:85, > from > /home/Travis/sage/src/build/cythonized/sage/lfunctions/zero_sums.c:45: > /home/Travis/sage/src/build/cythonized/sage/lfunctions/zero_sums.c:1717:27: > error: expected identifier before numeric constant > __pyx_r = __pyx_v_self->_N; > ^ > In file included from /home/Travis/sage/local/include/python2.7/Python.h:80:0, > from > /home/Travis/sage/src/build/cythonized/sage/lfunctions/zero_sums.c:45: > /home/Travis/sage/src/build/cythonized/sage/lfunctions/zero_sums.c: In > function > ‘__pyx_pf_4sage_10lfunctions_9zero_sums_30LFunctionZeroSum_EllipticCurve___init__’: > /home/Travis/sage/src/build/cythonized/sage/lfunctions/zero_sums.c:7330:43: > error: expected identifier before numeric constant > __Pyx_DECREF(__pyx_v_self->__pyx_base._N); > ^ > ... > > and I'm at a loss now. I also had to symlink my upstream/python to > upstream/python2. Also here was my change to my previous issue: > > + Extension('sage.combinat.partitions', > + sources = ['sage/combinat/partitions.pyx'], > + libraries = ['ntl']), > > Thoughts? Do you need more info? > > Thanks, > Travis > > > -- > 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. -- 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.