build error on fedora 12

3 views
Skip to first unread message

Thomas Spura

unread,
Nov 19, 2009, 12:12:43 PM11/19/09
to linbox-devel
On Fedora 12 is a build error:

g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I. -I../../linbox -O2 -
DDISABLE_COMMENTATOR -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -
fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -
mtune=generic -I/builddir/build/BUILD/linbox-1.1.6 -I/builddir/build/
BUILD/linbox-1.1.6/linbox -D__LINBOX_HAVE_CBLAS -c lb-blackbox.C -
fPIC -DPIC -o .libs/lb-blackbox.o
In file included from /usr/include/givaro/givpoly1denseops.inl:12,
from /usr/include/givaro/givpoly1.h:35,
from /usr/include/givaro/givpoly1factor.h:17,
from /usr/include/givaro/givgfq.h:23,
from ../../linbox/field/givaro-gfq.h:38,
from ../../linbox/field/givaro-extension.h:24,
from ../../linbox/solutions/rank.h:595,
from lb-rank.C:27:
/usr/include/givaro/givpoly1muldiv.inl: In member function
'givvector<typename Domain::Element, std::allocator<typename
Field::Element> >& Poly1Dom<Domain, Dense>::modin(givvector<typename
Domain::Element, std::allocator<typename Field::Element> >&, const
givvector<typename Domain::Element, std::allocator<typename
Field::Element> >&) const [with Domain =
LinBox::GivaroField<LinBox::Modular<double> >]':
/usr/include/givaro/givextension.h:95: instantiated from 'typename
Poly1FactorDom<BFT, Dense, GivRandom>::Element& Extension<BFT>::init
(typename Poly1FactorDom<BFT, Dense, GivRandom>::Element&, const XXX&)
const [with XXX = long unsigned int, BFT =
LinBox::GivaroField<LinBox::Modular<double> >]'
../../linbox/solutions/rank.h:205: instantiated from 'long unsigned
int& LinBox::rank(long unsigned int&, const Blackbox&, const
LinBox::RingCategories::ModularTag&, const LinBox::WiedemannTraits&)
[with Blackbox =
LinBox::BlasBlackbox<LinBox::GivaroExtension<LinBox::Modular<double> >
>]'
../../linbox/solutions/rank.h:616: instantiated from 'long unsigned
int& LinBox::rank(long unsigned int&, const Blackbox&, const
LinBox::RingCategories::ModularTag&, const LinBox::BlackboxSpecifier&)
[with Blackbox = LinBox::BlasBlackbox<LinBox::Modular<double> >]'
../../linbox/solutions/rank.h:101: instantiated from 'long unsigned
int& LinBox::rank(long unsigned int&, const Blackbox&, const
LinBox::RingCategories::ModularTag&, const LinBox::HybridSpecifier&)
[with Blackbox = LinBox::BlasBlackbox<LinBox::Modular<double> >]'
../../linbox/solutions/rank.h:162: instantiated from 'long unsigned
int& LinBox::rank(long unsigned int&, const Blackbox&, const Method&)
[with Blackbox = LinBox::BlasBlackbox<LinBox::Modular<double> >,
Method = LinBox::HybridSpecifier]'
lb-rank.C:48: instantiated from 'void RankFunctor<Method>::operator()
(long unsigned int&, Blackbox*) const [with Blackbox =
LinBox::BlasBlackbox<LinBox::Modular<double> >, Method =
LinBox::HybridSpecifier]'
./lb-blackbox-data.h:57: instantiated from 'void
BlackboxSpecFunctor<Blackbox, Functor>::operator()(Result&, Domain*)
const [with Domain = LinBox::Modular<double>, Result = long unsigned
int, Blackbox = LinBox::BlasBlackbox, Functor =
RankFunctor<LinBox::HybridSpecifier>]'
./lb-domain-functor.h:44: instantiated from 'void
ApplyDomainFunctorBase<Functor, Result>::apply(const Domain&) [with
Domain = DomainEnvelope<LinBox::Modular<double> >, Functor =
BlackboxSpecFunctor<LinBox::BlasBlackbox,
RankFunctor<LinBox::HybridSpecifier> >, Result = long unsigned int]'
./lb-domain-functor.h:69: instantiated from 'void
LinBoxDomainVisitor<LinBoxTypelist<T, LinBoxDumbType>, Functor,
Result>::visit(const DomainEnvelope<Domain>&) [with T =
LinBox::Modular<double>, Functor =
BlackboxSpecFunctor<LinBox::BlasBlackbox,
RankFunctor<LinBox::HybridSpecifier> >, Result = long unsigned int]'
lb-rank.C:69: instantiated from here
/usr/include/givaro/givpoly1muldiv.inl:247: error: 'const struct
LinBox::GivaroField<LinBox::Modular<double> >' has no member named
'maxpy'
/usr/include/givaro/givpoly1muldiv.inl:252: error: 'const struct
LinBox::GivaroField<LinBox::Modular<double> >' has no member named
'maxpy'
/usr/include/givaro/givpoly1muldiv.inl: In member function
'givvector<typename Domain::Element, std::allocator<typename
Field::Element> >& Poly1Dom<Domain, Dense>::divmod(givvector<typename
Domain::Element, std::allocator<typename Field::Element> >&,
givvector<typename Domain::Element, std::allocator<typename
Field::Element> >&, const givvector<typename Domain::Element,
std::allocator<typename Field::Element> >&, const givvector<typename
Domain::Element, std::allocator<typename Field::Element> >&) const
[with Domain = LinBox::GivaroField<LinBox::Modular<double> >]':
/usr/include/givaro/givpoly1gcd.inl:166: instantiated from
'givvector<typename Domain::Element, std::allocator<typename
Field::Element> >& Poly1Dom<Domain, Dense>::invmod(givvector<typename
Domain::Element, std::allocator<typename Field::Element> >&, const
givvector<typename Domain::Element, std::allocator<typename
Field::Element> >&, const givvector<typename Domain::Element,
std::allocator<typename Field::Element> >&) const [with Domain =
LinBox::GivaroField<LinBox::Modular<double> >]'
/usr/include/givaro/givextension.h:129: instantiated from 'typename
Poly1FactorDom<BFT, Dense, GivRandom>::Element& Extension<BFT>::inv
(typename Poly1FactorDom<BFT, Dense, GivRandom>::Element&, const
typename Poly1FactorDom<BFT, Dense, GivRandom>::Element&) const [with
BFT = LinBox::GivaroField<LinBox::Modular<double> >]'
/usr/include/givaro/givextension.h:163: instantiated from 'typename
Poly1FactorDom<BFT, Dense, GivRandom>::Element& Extension<BFT>::divin
(typename Poly1FactorDom<BFT, Dense, GivRandom>::Element&, const
typename Poly1FactorDom<BFT, Dense, GivRandom>::Element&) const [with
BFT = LinBox::GivaroField<LinBox::Modular<double> >]'
../../linbox/algorithms/massey-domain.h:253: instantiated from 'long
int LinBox::MasseyDomain<Field, Sequence>::massey(Polynomial&, bool)
[with Polynomial = std::vector<givvector<double,
std::allocator<double> >, std::allocator<givvector<double,
std::allocator<double> > > >, Field =
LinBox::GivaroExtension<LinBox::Modular<double> >, Sequence =
LinBox::BlackboxContainerSymmetric<LinBox::GivaroExtension<LinBox::Modular<double>
>,
LinBox::Compose<LinBox::Compose<LinBox::Diagonal<LinBox::GivaroExtension<LinBox::Modular<double>
>, LinBox::VectorCategories::DenseVectorTag>,
LinBox::BlasBlackbox<LinBox::GivaroExtension<LinBox::Modular<double> >
> >, LinBox::Diagonal<LinBox::GivaroExtension<LinBox::Modular<double>
>, LinBox::VectorCategories::DenseVectorTag> >,
GIV_ExtensionrandIter<Extension<LinBox::GivaroField<LinBox::Modular<double>
> >, Integer> >]'
../../linbox/algorithms/massey-domain.h:349: instantiated from 'long
unsigned int LinBox::MasseyDomain<Field, Sequence>::pseudo_minpoly
(Polynomial&, long unsigned int&, bool) [with Polynomial =
std::vector<givvector<double, std::allocator<double> >,
std::allocator<givvector<double, std::allocator<double> > > >, Field =
LinBox::GivaroExtension<LinBox::Modular<double> >, Sequence =
LinBox::BlackboxContainerSymmetric<LinBox::GivaroExtension<LinBox::Modular<double>
>,
LinBox::Compose<LinBox::Compose<LinBox::Diagonal<LinBox::GivaroExtension<LinBox::Modular<double>
>, LinBox::VectorCategories::DenseVectorTag>,
LinBox::BlasBlackbox<LinBox::GivaroExtension<LinBox::Modular<double> >
> >, LinBox::Diagonal<LinBox::GivaroExtension<LinBox::Modular<double>
>, LinBox::VectorCategories::DenseVectorTag> >,
GIV_ExtensionrandIter<Extension<LinBox::GivaroField<LinBox::Modular<double>
> >, Integer> >]'
../../linbox/solutions/rank.h:201: instantiated from 'long unsigned
int& LinBox::rank(long unsigned int&, const Blackbox&, const
LinBox::RingCategories::ModularTag&, const LinBox::WiedemannTraits&)
[with Blackbox =
LinBox::BlasBlackbox<LinBox::GivaroExtension<LinBox::Modular<double> >
>]'
../../linbox/solutions/rank.h:616: instantiated from 'long unsigned
int& LinBox::rank(long unsigned int&, const Blackbox&, const
LinBox::RingCategories::ModularTag&, const LinBox::BlackboxSpecifier&)
[with Blackbox = LinBox::BlasBlackbox<LinBox::Modular<double> >]'
../../linbox/solutions/rank.h:101: instantiated from 'long unsigned
int& LinBox::rank(long unsigned int&, const Blackbox&, const
LinBox::RingCategories::ModularTag&, const LinBox::HybridSpecifier&)
[with Blackbox = LinBox::BlasBlackbox<LinBox::Modular<double> >]'
../../linbox/solutions/rank.h:162: instantiated from 'long unsigned
int& LinBox::rank(long unsigned int&, const Blackbox&, const Method&)
[with Blackbox = LinBox::BlasBlackbox<LinBox::Modular<double> >,
Method = LinBox::HybridSpecifier]'
lb-rank.C:48: instantiated from 'void RankFunctor<Method>::operator()
(long unsigned int&, Blackbox*) const [with Blackbox =
LinBox::BlasBlackbox<LinBox::Modular<double> >, Method =
LinBox::HybridSpecifier]'
./lb-blackbox-data.h:57: instantiated from 'void
BlackboxSpecFunctor<Blackbox, Functor>::operator()(Result&, Domain*)
const [with Domain = LinBox::Modular<double>, Result = long unsigned
int, Blackbox = LinBox::BlasBlackbox, Functor =
RankFunctor<LinBox::HybridSpecifier>]'
./lb-domain-functor.h:44: instantiated from 'void
ApplyDomainFunctorBase<Functor, Result>::apply(const Domain&) [with
Domain = DomainEnvelope<LinBox::Modular<double> >, Functor =
BlackboxSpecFunctor<LinBox::BlasBlackbox,
RankFunctor<LinBox::HybridSpecifier> >, Result = long unsigned int]'
./lb-domain-functor.h:69: instantiated from 'void
LinBoxDomainVisitor<LinBoxTypelist<T, LinBoxDumbType>, Functor,
Result>::visit(const DomainEnvelope<Domain>&) [with T =
LinBox::Modular<double>, Functor =
BlackboxSpecFunctor<LinBox::BlasBlackbox,
RankFunctor<LinBox::HybridSpecifier> >, Result = long unsigned int]'
lb-rank.C:69: instantiated from here
/usr/include/givaro/givpoly1muldiv.inl:331: error: 'const struct
LinBox::GivaroField<LinBox::Modular<double> >' has no member named
'axmyin'
make[3]: *** [lb-rank.lo] Error 1



Do you have an idea, how to resolve this?
This could be a problem, the maintainer needs to know about.
(Please cc me, when ansering to this post...)

Thomas

Jean-Guillaume Dumas

unread,
Nov 19, 2009, 12:18:27 PM11/19/09
to linbox...@googlegroups.com, tom...@fedoraproject.org
Thomas Spura wrote:
> On Fedora 12 is a build error:
>
> [...]
> /usr/include/givaro/givpoly1muldiv.inl:331: error: 'const struct
> LinBox::GivaroField<LinBox::Modular<double> >' has no member named
> 'axmyin'
> make[3]: *** [lb-rank.lo] Error 1
>
>
>
> Do you have an idea, how to resolve this?
> This could be a problem, the maintainer needs to know about.
> (Please cc me, when ansering to this post...
Dear Thomas,
it looks like a version depency to me.
There has been an API change in Givaro (axmyin, maxpy etc.) since
givaro-3.3.0,
linbox-1.1.6 can not deal with this change.
Best,

--
Jean-Guillaume Dumas.
____________________________________________________
Jean-Guill...@imag.fr T�l.: +353 1 716 5318
Universit� Joseph Fourier Grenoble, France.
Claude Shannon Institute, University College Dublin,
CASL 1J, Belfield, Dublin 4, Ireland.
http://ljk.imag.fr/membres/Jean-Guillaume.Dumas
____________________________________________________

Jean-Guillaume Dumas

unread,
Nov 19, 2009, 1:57:54 PM11/19/09
to Thomas Spura, linbox...@googlegroups.com
Thomas Spura wrote:
>> Dear Thomas,
>> it looks like a version depency to me.
>> There has been an API change in Givaro (axmyin, maxpy etc.) since
>> givaro-3.3.0,
>> linbox-1.1.6 can not deal with this change.
>> Best,
>>
> Will it in the future? givaro-3.3.0 is in fedora..
Sure, the svn version of LinBox does use givaro >= 3.3
and next linbox release will do too.
Best,

--
Jean-Guillaume Dumas.
____________________________________________________
Jean-Guill...@imag.fr Tél.: +353 1 716 5318
Université Joseph Fourier Grenoble, France.
Reply all
Reply to author
Forward
0 new messages