Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

install issue

11 views
Skip to first unread message

B Saunders

unread,
Jun 27, 2018, 2:48:20 PM6/27/18
to linbox...@googlegroups.com
Latest linbox won't build, giving this:

/usa/saunders/sandbox/include/givaro/modular-int32.inl:25:12: error: ambiguous partial specializations of 'Modular<int, int, void>'

/usa/saunders/sandbox/include/givaro/modular-int64.inl:23:13: error: ambiguous partial specializations of 'Modular<long, unsigned long, void>'

/usa/saunders/sandbox/include/givaro/modular-uint32.inl:25:12: error: ambiguous partial specializations of 'Modular<unsigned int, int, void>'

/usa/saunders/sandbox/include/givaro/modular-uint64.inl:23:12: error: ambiguous partial specializations of 'Modular<unsigned long, unsigned long, void>'

68 warnings and 4 errors generated.


Bruno Grenet

unread,
Jun 28, 2018, 3:39:13 AM6/28/18
to linbox...@googlegroups.com

Dear Dave,

The issue is due to the simultaneous merge of PR#64 of Givaro, PR#169 of fflas-ffpack and PR#123 of Linbox. To make it work, there are two things:

1. Make sure you have the three libraries updated
2. Remove old files: for instance by hand you remove all of /usa/saunders/sandbox/include/givaro/ before doing a "make install" in givaro.

The reason is that modular-int32.inl (for instance, and others) are not supposed to exist anymore and have been replaced (by modular-integral.inl for the one in the error you mention. But probably these old files still exist in your install and make the compiler doubting about which file to use!

Remark for others: The simplest way to avoid Dave's problems, the simplest way is to do a "make uninstall" in givaro before "git pull" and then "make && make install".

Best,
Bruno

--
You received this message because you are subscribed to the Google Groups "linbox-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linbox-devel...@googlegroups.com.
To post to this group, send email to linbox...@googlegroups.com.
Visit this group at https://groups.google.com/group/linbox-devel.
For more options, visit https://groups.google.com/d/optout.

B Saunders

unread,
Jun 28, 2018, 10:03:26 AM6/28/18
to linbox...@googlegroups.com
I've reinstalled givaro from scratch.  In linbox "make install" I get this:

In file included from diophantine-solver.C:26:

In file included from ../../linbox/algorithms/diophantine-solver.h:29:

In file included from ../../linbox/algorithms/rational-solver.h:43:

In file included from ../../linbox/matrix/dense-matrix.h:79:

In file included from ../../linbox/matrix/densematrix/blas-matrix.h:50:

In file included from ../../linbox/ring/modular.h:62:

../../linbox/ring/modular/modular-int32.h:33:10: fatal error: 

      'givaro/modular-int32.h' file not found


Is linbox/ring/modular-int32.h supposed to have a change (or be replaced)?

On Wed, Jun 27, 2018 at 5:39 PM, Bruno Grenet <bruno....@lirmm.fr> wrote:

Dear Dave,

The issue is due to the simultaneous merge of PR#64 of Givaro, PR#169 of fflas-ffpack and PR#123 of Linbox. To make it work, there are two things:

1. Make sure you have the three libraries updated
2. Remove old files: for instance by hand you remove all of /usa/saunders/sandbox/include/givaro/ before doing a "make install" in givaro.

The reason is that modular-int32.inl (for instance, and others) are not supposed to exist anymore and have been replaced (by modular-integral.inl for the one in the error you mention. But probably these old files still exist in your install and make the compiler doubting about which file to use!

Remark for others: The simplest way to avoid Dave's problems, the simplest way is to do a "make uninstall" in givaro before "git pull" and then "make && make install".

Best,
Bruno


Le 27/06/2018 à 20:48, B Saunders a écrit :
Latest linbox won't build, giving this:

/usa/saunders/sandbox/include/givaro/modular-int32.inl:25:12: error: ambiguous partial specializations of 'Modular<int, int, void>'

/usa/saunders/sandbox/include/givaro/modular-int64.inl:23:13: error: ambiguous partial specializations of 'Modular<long, unsigned long, void>'

/usa/saunders/sandbox/include/givaro/modular-uint32.inl:25:12: error: ambiguous partial specializations of 'Modular<unsigned int, int, void>'

/usa/saunders/sandbox/include/givaro/modular-uint64.inl:23:12: error: ambiguous partial specializations of 'Modular<unsigned long, unsigned long, void>'

68 warnings and 4 errors generated.


--
You received this message because you are subscribed to the Google Groups "linbox-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linbox-devel+unsubscribe@googlegroups.com.

To post to this group, send email to linbox...@googlegroups.com.
Visit this group at https://groups.google.com/group/linbox-devel.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "linbox-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linbox-devel+unsubscribe@googlegroups.com.

Bruno Grenet

unread,
Jun 29, 2018, 4:34:34 AM6/29/18
to linbox...@googlegroups.com, B Saunders
The includes have changed in linbox/ring/modular/modular-int32.h: If you
use the latest master branch, you should not have the error.

The changes in Givaro:

- modular-intXX.h and modular-uintXX.h (for XX = 8, 16, 32, 64) have
been replaced by the single modular-integral.h (and the same for .inl)
- modular-double.h and modular-float.h have been replaced by the single
modular-floating.h (the same for .inl)

So the #include have to be updated. In the current master branches of
fflas-ffpack and linbox, the changes have been done. If you have
personal files not in the git tree, you have to make the changes yourself.

Best,
Bruno


Le 28/06/2018 à 16:03, B Saunders a écrit :
> I've reinstalled givaro from scratch.  In linbox "make install" I get
> this:
>
> In file included from diophantine-solver.C:26:
>
> In file included from ../../linbox/algorithms/diophantine-solver.h:29:
>
> In file included from ../../linbox/algorithms/rational-solver.h:43:
>
> In file included from ../../linbox/matrix/dense-matrix.h:79:
>
> In file included from ../../linbox/matrix/densematrix/blas-matrix.h:50:
>
> In file included from ../../linbox/ring/modular.h:62:
>
> *../../linbox/ring/modular/modular-int32.h:33:10: **fatal error:*
>
> *'givaro/modular-int32.h' file not found*
>> send an email to linbox-devel...@googlegroups.com
>> <mailto:linbox-devel...@googlegroups.com>.
>> To post to this group, send email to
>> linbox...@googlegroups.com <mailto:linbox...@googlegroups.com>.
>> <https://groups.google.com/group/linbox-devel>.
>> For more options, visit https://groups.google.com/d/optout
>> <https://groups.google.com/d/optout>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "linbox-devel" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to linbox-devel...@googlegroups.com
> <mailto:linbox-devel...@googlegroups.com>.
> To post to this group, send email to linbox...@googlegroups.com
> <mailto:linbox...@googlegroups.com>.
> <https://groups.google.com/group/linbox-devel>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "linbox-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to linbox-devel...@googlegroups.com
> <mailto:linbox-devel...@googlegroups.com>.
> To post to this group, send email to linbox...@googlegroups.com
> <mailto:linbox...@googlegroups.com>.
> Visit this group at https://groups.google.com/group/linbox-devel.
> For more options, visit https://groups.google.com/d/optout.

--
Bruno Grenet
Maître de conférences
LIRMM, Université de Montpellier

Email: Bruno....@lirmm.fr
Web: http://www.lirmm.fr/~grenet/
Phone: (+33) 4 67 14 97 59

Clement Pernet

unread,
Jun 29, 2018, 6:03:08 AM6/29/18
to linbox...@googlegroups.com, Bruno Grenet, B Saunders
Hi Dave,
Maybe, the problem is due to the fact that your are working on a branch != master in one of the 3
libraries, hence the update of master did not propagate in this branch.
If this is the case, then just merging master into your working branch shoudl fix it.
Best

Clément

B Saunders

unread,
Jun 29, 2018, 10:59:50 AM6/29/18
to Clement Pernet, linbox...@googlegroups.com, Bruno Grenet
OK.  I'm finally up to date.  A git goofup (merging with master rather than origin/master) and partial uninstalls were to blame.  Thanks for the help!

I note that uninstall is conservative -- library X only deletes what this instance of X installed.  If there is other kruft from earlier installs,it is left there.  I can imagine this being desired, but most of the time "make uninstall" means I want to see the whole include tree disappear.

Best, -dave


    To post to this group, send email to

    --     You received this message because you are subscribed to the Google
    Groups "linbox-devel" group.
    To unsubscribe from this group and stop receiving emails from it,

    To post to this group, send email to linbox...@googlegroups.com

    Visit this group at https://groups.google.com/group/linbox-devel
    <https://groups.google.com/group/linbox-devel>.
    For more options, visit https://groups.google.com/d/optout
    <https://groups.google.com/d/optout>.


--
You received this message because you are subscribed to the Google Groups "linbox-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linbox-devel+unsubscribe@googlegroups.com <mailto:linbox-devel+unsubscrib...@googlegroups.com>.
To post to this group, send email to linbox...@googlegroups.com <mailto:linbox-devel@googlegroups.com>.
Reply all
Reply to author
Forward
0 new messages