On Thu, Mar 7, 2019 at 11:05 AM rajat.mittal.mat15 via sage-devel
<[email protected]> wrote:
>
> I am new to sage as well as github,
> I am having a problem in building sage on develop branch using
> ./sage -br
> few days ago I successfully compiled and used sage but today when I made
> certain changes in python file in graph module and the tried to build it
> using ./sage -br , I got following errors:
> [Full file is attatched]
The 1st error in your log file is
[ 1/442] gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3
-Wall -Wno-unused -fPIC -Isage/combinat/matrices -I/home/rajat/sag
e/local/lib/python2.7/site-packages/cysignals
-I/home/rajat/sage/local/include -I/home/rajat/sage/src/sage/ext
-I/home/rajat/sage/local/include/python2.7
-I/home/rajat/sage/local/lib/python2.7/site-packages/numpy/core/include
-Ibuild/cythonized -I/home/rajat/sage/local/include/python2.7 -c
build/cythonized/sage/combinat/matrices/dancing_links.cpp -o
build/temp.linux-x86_64-2.7/build/cythonized/sage/combinat/matrices/dancing_links.o
-fno-strict-aliasing -DCYTHON_CLINE_IN_TRACEBACK=1 -std=c++11
build/cythonized/sage/combinat/matrices/dancing_links.cpp: In function
‘PyObject*
__pyx_gb_4sage_8combinat_8matrices_13dancing_links_20dancing_linksWrapper_28generator(__pyx_CoroutineObject*,
PyThreadState*, PyObject*)’:
build/cythonized/sage/combinat/matrices/dancing_links.cpp:3667:50:
error: ‘class dancing_links’ has no member named ‘search_is_started’
__pyx_t_1 = (__pyx_cur_scope->__pyx_v_self->_x.search_is_started() != 0);
src/build/cythonized/sage/combinat/matrices/dancing_links.cpp
is produced by cython from sage/combinat/matrices/dancing_links.pyx
(as you can see by inspecting
src/build/cythonized/sage/combinat/matrices/dancing_links.cpp
near the line 3667)
So this is an error in the cython file
src/sage/combinat/matrices/dancing_links.pyx
If you have a problem debugging it, please post here the diff
("git diff" should show what you changed)
> Can somebody guide on how to proceed or if I am doing any mistake
>
>
>
> In file included from ./sage/libs/ntl/ntlwrap.h:5:0,
> from build/cythonized/sage/combinat/partitions.cpp:663:
> /home/rajat/sage/local/include/NTL/ZZ.h:774:6: note: candidate: long int
> NTL::GCD(long int, long int)
> long GCD(long a, long b);
> ^
> In file included from build/cythonized/sage/combinat/partitions.cpp:2686:0:
> build/cythonized/sage/combinat/partitions_c.cc: In function ‘void
> mp_a(__mpfr_struct*, unsigned int, unsigned int)’:
> build/cythonized/sage/combinat/partitions_c.cc:918:19: error: call of
> overloaded ‘GCD(unsigned int&, unsigned int&)’ is ambiguous
> if(GCD(h,k) == 1) {
> ^
> build/cythonized/sage/combinat/partitions_c.cc:327:20: note: candidate: long
> int GCD(long int, long int)
> static inline long GCD(long a, long b);
> ^
> In file included from ./sage/libs/ntl/ntlwrap.h:5:0,
> from build/cythonized/sage/combinat/partitions.cpp:663:
> /home/rajat/sage/local/include/NTL/ZZ.h:774:6: note: candidate: long int
> NTL::GCD(long int, long int)
> long GCD(long a, long b);
> ^
> In file included from build/cythonized/sage/combinat/partitions.cpp:2686:0:
> build/cythonized/sage/combinat/partitions_c.cc:935:37: error: call of
> overloaded ‘GCD(unsigned int&, unsigned int&)’ is ambiguous
> unsigned int d = GCD(r,k); //
> cos(
> ^
> build/cythonized/sage/combinat/partitions_c.cc:327:20: note: candidate: long
> int GCD(long int, long int)
> static inline long GCD(long a, long b);
> ^
> In file included from ./sage/libs/ntl/ntlwrap.h:5:0,
> from build/cythonized/sage/combinat/partitions.cpp:663:
> /home/rajat/sage/local/include/NTL/ZZ.h:774:6: note: candidate: long int
> NTL::GCD(long int, long int)
> long GCD(long a, long b);
> ^
> In file included from build/cythonized/sage/combinat/partitions.cpp:2686:0:
> build/cythonized/sage/combinat/partitions_c.cc: In function ‘T a(unsigned
> int, unsigned int)’:
> build/cythonized/sage/combinat/partitions_c.cc:1124:19: error: call of
> overloaded ‘GCD(unsigned int&, unsigned int&)’ is ambiguous
> if(GCD(h,k) == 1) {
> ^
> build/cythonized/sage/combinat/partitions_c.cc:327:20: note: candidate: long
> int GCD(long int, long int)
> static inline long GCD(long a, long b);
> ^
> In file included from ./sage/libs/ntl/ntlwrap.h:5:0,
> from build/cythonized/sage/combinat/partitions.cpp:663:
> /home/rajat/sage/local/include/NTL/ZZ.h:774:6: note: candidate: long int
> NTL::GCD(long int, long int)
> long GCD(long a, long b);
>
>
>
> Thanks
> Rajat
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.