NTL 6.0.0

80 views
Skip to first unread message

Volker Braun

unread,
Jul 10, 2013, 2:07:36 PM7/10/13
to libsingu...@googlegroups.com
I get build failures of Singular with the new ntl-6.0.0. The new ntl version now uses proper C++ template classes for matrices instead of some #define hack. It seems like I'm missing template instantiations:


/home/vbraun/opt/sage-ncurses/sage-5.11.beta3/local/lib/libsingcf.a(cf_factor.o): In function `Vec':
/home/vbraun/opt/sage-ncurses/sage-5.11.beta3/spkg/build/singular-3-1-5.p7/src/factory/../../../../../local/include/NTL/vector.h:101: undefined reference to `NTL::Vec<NTL::Pair<NTL::GF2EX, long> >::operator=(NTL::Vec<NTL::Pair<NTL::GF2EX, long> > const&)'
/home/vbraun/opt/sage-ncurses/sage-5.11.beta3/spkg/build/singular-3-1-5.p7/src/factory/../../../../../local/include/NTL/vector.h:101: undefined reference to `NTL::Vec<NTL::Pair<NTL::zz_pEX, long> >::operator=(NTL::Vec<NTL::Pair<NTL::zz_pEX, long> > const&)'
/home/vbraun/opt/sage-ncurses/sage-5.11.beta3/spkg/build/singular-3-1-5.p7/src/factory/../../../../../local/include/NTL/vector.h:101: undefined reference to `NTL::Vec<NTL::Pair<NTL::zz_pX, long> >::operator=(NTL::Vec<NTL::Pair<NTL::zz_pX, long> > const&)'
/home/vbraun/opt/sage-ncurses/sage-5.11.beta3/spkg/build/singular-3-1-5.p7/src/factory/../../../../../local/include/NTL/vector.h:101: undefined reference to `NTL::Vec<NTL::Pair<NTL::GF2X, long> >::operator=(NTL::Vec<NTL::Pair<NTL::GF2X, long> > const&)'
/home/vbraun/opt/sage-ncurses/sage-5.11.beta3/spkg/build/singular-3-1-5.p7/src/factory/../../../../../local/include/NTL/vector.h:101: undefined reference to `NTL::Vec<NTL::Pair<NTL::ZZX, long> >::operator=(NTL::Vec<NTL::Pair<NTL::ZZX, long> > const&)'
/home/vbraun/opt/sage-ncurses/sage-5.11.beta3/local/lib/libsingcf.a(cf_map_ext.o): In function `operator==':
/home/vbraun/opt/sage-ncurses/sage-5.11.beta3/spkg/build/singular-3-1-5.p7/src/factory/../../../../../local/include/NTL/lzz_pX.h:340: undefined reference to `long NTL::operator==<NTL::zz_p>(NTL::Vec<NTL::zz_p> const&, NTL::Vec<NTL::zz_p> const&)'
/home/vbraun/opt/sage-ncurses/sage-5.11.beta3/local/lib/libsingcf.a(facFqBivar.o): In function `Vec':
/home/vbraun/opt/sage-ncurses/sage-5.11.beta3/spkg/build/singular-3-1-5.p7/src/factory/../../../../../local/include/NTL/vector.h:101: undefined reference to `NTL::Vec<NTL::Pair<NTL::zz_pEX, long> >::operator=(NTL::Vec<NTL::Pair<NTL::zz_pEX, long> > const&)'
/home/vbraun/opt/sage-ncurses/sage-5.11.beta3/spkg/build/singular-3-1-5.p7/src/factory/../../../../../local/include/NTL/vector.h:101: undefined reference to `NTL::Vec<NTL::Pair<NTL::zz_pEX, long> >::operator=(NTL::Vec<NTL::Pair<NTL::zz_pEX, long> > const&)'
/home/vbraun/opt/sage-ncurses/sage-5.11.beta3/spkg/build/singular-3-1-5.p7/src/factory/../../../../../local/include/NTL/vector.h:101: undefined reference to `NTL::Vec<NTL::Pair<NTL::GF2EX, long> >::operator=(NTL::Vec<NTL::Pair<NTL::GF2EX, long> > const&)'
/home/vbraun/opt/sage-ncurses/sage-5.11.beta3/spkg/build/singular-3-1-5.p7/src/factory/../../../../../local/include/NTL/vector.h:101: undefined reference to `NTL::Vec<NTL::Pair<NTL::zz_pX, long> >::operator=(NTL::Vec<NTL::Pair<NTL::zz_pX, long> > const&)'
/home/vbraun/opt/sage-ncurses/sage-5.11.beta3/spkg/build/singular-3-1-5.p7/src/factory/../../../../../local/include/NTL/vector.h:101: undefined reference to `NTL::Vec<NTL::Pair<NTL::GF2EX, long> >::operator=(NTL::Vec<NTL::Pair<NTL::GF2EX, long> > const&)'
/home/vbraun/opt/sage-ncurses/sage-5.11.beta3/spkg/build/singular-3-1-5.p7/src/factory/../../../../../local/include/NTL/vector.h:101: undefined reference to `NTL::Vec<NTL::Pair<NTL::GF2X, long> >::operator=(NTL::Vec<NTL::Pair<NTL::GF2X, long> > const&)'
/home/vbraun/opt/sage-ncurses/sage-5.11.beta3/local/lib/libsingcf.a(facFqBivar.o): In function `earlyReconstructionAndLifting(CanonicalForm const&, NTL::Mat<NTL::zz_p> const&, CanonicalForm&, List<CanonicalForm>&, int&, int&, bool, Matrix<CanonicalForm>&, Array<CanonicalForm>&, List<CanonicalForm>&, bool, CanonicalForm const&)':
/home/vbraun/opt/sage-ncurses/sage-5.11.beta3/spkg/build/singular-3-1-5.p7/src/factory/facFqBivar.cc:4273: undefined reference to `NTL::Mat<NTL::zz_p>::Mat(NTL::Mat<NTL::zz_p> const&)'
/home/vbraun/opt/sage-ncurses/sage-5.11.beta3/local/lib/libsingcf.a(facFqBivar.o): In function `earlyReconstructionAndLifting(CanonicalForm const&, NTL::Mat<NTL::zz_pE> const&, CanonicalForm&, List<CanonicalForm>&, int&, int&, bool, Matrix<CanonicalForm>&, Array<CanonicalForm>&, List<CanonicalForm>&, bool, CanonicalForm const&)':
/home/vbraun/opt/sage-ncurses/sage-5.11.beta3/spkg/build/singular-3-1-5.p7/src/factory/facFqBivar.cc:4417: undefined reference to `NTL::Mat<NTL::zz_pE>::Mat(NTL::Mat<NTL::zz_pE> const&)'
/home/vbraun/opt/sage-ncurses/sage-5.11.beta3/local/lib/libsingcf.a(facFqBivar.o): In function `extEarlyReconstructionAndLifting(CanonicalForm const&, NTL::Mat<NTL::zz_p> const&, CanonicalForm&, List<CanonicalForm>&, int&, int&, bool, Matrix<CanonicalForm>&, Array<CanonicalForm>&, List<CanonicalForm>&, ExtensionInfo const&, CanonicalForm const&)':
/home/vbraun/opt/sage-ncurses/sage-5.11.beta3/spkg/build/singular-3-1-5.p7/src/factory/facFqBivar.cc:4563: undefined reference to `NTL::Mat<NTL::zz_p>::Mat(NTL::Mat<NTL::zz_p> const&)'

han...@mathematik.uni-kl.de

unread,
Jul 10, 2013, 2:18:21 PM7/10/13
to libsingu...@googlegroups.com
On Wed, Jul 10, 2013 at 11:07:36AM -0700, Volker Braun wrote:
> I get build failures of Singular with the new ntl-6.0.0. The new ntl
> version now uses proper C++ template classes for matrices instead of some
> #define hack. It seems like I'm missing template instantiations:
>
This is fixed in the current Singular version
(https://github.com/Singular/Sources/) for both master and spielwiese
branch.

Hans

han...@mathematik.uni-kl.de

unread,
Jul 11, 2013, 4:05:46 AM7/11/13
to libsingu...@googlegroups.com
On Wed, Jul 10, 2013 at 08:18:21PM +0200, han...@mathematik.uni-kl.de wrote:
> On Wed, Jul 10, 2013 at 11:07:36AM -0700, Volker Braun wrote:
> > I get build failures of Singular with the new ntl-6.0.0. The new ntl
> > version now uses proper C++ template classes for matrices instead of some
> > #define hack. It seems like I'm missing template instantiations:
> >
Here are the changes:
http://www.singular.uni-kl.de:8002/trac/changeset/ddb348e97a991972e5dfee690a66663ba0418f40/git

Hans
Reply all
Reply to author
Forward
0 new messages