Hi,

This part of the interface is actually terrible. In particular, I don't see the rationale for the use of static's here. Hopefully this will be all gone when we'll switch to have LinBox and matrix_modn_dense support use natively the same matrix type (#4258).

But given your compilation error trace, I don't see the error: the static thing is only a warning. isn't the error somewhere earlier in the trace, that you cut off?

Clément

Jaap Spies a écrit :
There seems to be a problem with linbox-sage.C


linbox-sage.C:438:   instantiated from here
linbox-sage.C:312: warning: unused variable ‘k’
linbox-sage.C: At global scope:
linbox-sage.C:72: warning: ‘void linbox_set_modn_matrix(mod_int**, LinBox::DenseMatrix<LinBox::Modular<double> >&, size_t, size_t)’ declared ‘static’ but never defined
make[5]: *** [linbox-sage.lo] Error 1
make[5]: Leaving directory `/export/home/jaap/Downloads/sage-4.3.1.alpha2/spkg/build/linbox-1.1.6.p2/src/interfaces/sage'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/export/home/jaap/Downloads/sage-4.3.1.alpha2/spkg/build/linbox-1.1.6.p2/src/interfaces'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/export/home/jaap/Downloads/sage-4.3.1.alpha2/spkg/build/linbox-1.1.6.p2/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/export/home/jaap/Downloads/sage-4.3.1.alpha2/spkg/build/linbox-1.1.6.p2/src'
Error building linbox

[...]

----------------------------------------------------------------------
Libraries have been installed in:
   /export/home/jaap/Downloads/sage-4.3.1.alpha2/local/lib

[...]

linbox-sage.C:438:   instantiated from here
linbox-sage.C:312: warning: unused variable ‘k’
linbox-sage.C: At global scope:
linbox-sage.C:72: warning: ‘void linbox_set_modn_matrix(mod_int**, LinBox::DenseMatrix<LinBox::Modular<double> >&, size_t, size_t)’ declared ‘static’ but never defined
make[4]: *** [linbox-sage.lo] Error 1
make[4]: Leaving directory `/export/home/jaap/Downloads/sage-4.3.1.alpha2/spkg/build/linbox-1.1.6.p2/src/interfaces/sage'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/export/home/jaap/Downloads/sage-4.3.1.alpha2/spkg/build/linbox-1.1.6.p2/src/interfaces'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/export/home/jaap/Downloads/sage-4.3.1.alpha2/spkg/build/linbox-1.1.6.p2/src'
Error installing linbox

real    0m51.795s
user    0m34.213s
sys     0m15.195s
sage: An error occurred while installing linbox-1.1.6.p2


Thought?

Jaap




-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to