<div dir="ltr"><div><div><div><div><div><div><div><div><div><div>Greetings,<br></div> I have been forced to install ginac on a windows machine and I ran into unexpected problems. Everything I found on the web is quite old, e.g.:<br>

<a href="http://www.ginac.de/pipermail/cln-list/2006-August/000212.html">http://www.ginac.de/pipermail/cln-list/2006-August/000212.html</a><br></div>and this ( <a href="http://www.richelbilderbeek.nl/CppClnInstallCygwin.htm">http://www.richelbilderbeek.nl/CppClnInstallCygwin.htm</a> ) claims that <br>

</div>./configure<br></div>make <br></div>make check<br></div>make install<br> <br></div>should do the trick, even in cygwin.<br><br></div>So, where might I get help when I see something like this(?):<br><br>~~~<br>$ make<br>

Making all in src<br>make[1]: Entering directory '/home/andrei/cln-1.3.3/src'<br>/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../autoconf  -I../include -I../src -I../include -I../src   -g -O2 -MT cl_2DS_div.lo -MD -MP -MF .deps/cl_2DS_div.Tpo -c -o cl_2DS_div.lo `test -f 'base/digitseq/cl_2DS_div.cc' || echo './'`base/digitseq/cl_2DS_div.cc<br>

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../autoconf -I../include -I../src -I../include -I../src -g -O2 -MT cl_2DS_div.lo -MD -MP -MF .deps/cl_2DS_div.Tpo -c base/digitseq/cl_2DS_div.cc -o cl_2DS_div.o<br>In file included from base/digitseq/cl_2DS_div.cc:13:0:<br>

./base/digitseq/cl_DS.h: In function 'uintD cln::add_loop_up(const uintD*, const uintD*, uintD*, uintC)':<br>./base/digitseq/cl_DS.h:378:54: error: invalid conversion from 'uintD* {aka long unsigned int*}' to 'mp_ptr {aka long long unsigned int*}' [-fpermissive]<br>

  return mpn_add_n(destptr,sourceptr1,sourceptr2,count);<br><br></div><div>[...lots more...]<br></div><div><br>In file included from ./base/digitseq/cl_DS.h:360:0,<br>                 from base/digitseq/cl_2DS_div.cc:13:<br>

/usr/include/gmp.h:1496:26: error:   initializing argument 3 of 'mp_limb_t __gmpn_divrem_1(mp_ptr, mp_size_t, mp_srcptr, mp_size_t, mp_limb_t)' [-fpermissive]<br> __GMP_DECLSPEC mp_limb_t mpn_divrem_1 (mp_ptr, mp_size_t, mp_srcptr, mp_size_t, mp_limb_t);<br>

                          ^<br>Makefile:2672: recipe for target 'cl_2DS_div.lo' failed<br>make[1]: *** [cl_2DS_div.lo] Error 1<br>make[1]: Leaving directory '/home/andrei/cln-1.3.3/src'<br>Makefile:665: recipe for target 'all-recursive' failed<br>

make: *** [all-recursive] Error 1<br>~~~<br><br></div>Best,<br></div>Andrei<br></div>