Karim BELABAS on Thu, 17 Apr 2003 13:23:49 +0200 (MEST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: build broken


On Wed, 16 Apr 2003, Igor Schein wrote:
> On Thu, Apr 17, 2003 at 12:34:32AM +0200, Karim BELABAS wrote:
> > On Wed, 16 Apr 2003, Igor Schein wrote:
> > > using uptodate CVS sources:
> > >
> > > anal.o: In function `constante':
> > > anal.o(.text+0x7ff5): undefined reference to `addumului'
> > > anal.o(.text+0x8092): undefined reference to `addumului'
> >
> > Huh? Can you try it again ? It just worked for me on 3 different machines.
>
> It works --without-gmp.  I was trying --with-gmp.

Drats. Had forgotten about the gmp kernel. It should be fixed now.

What the change did: renamed

    addsmulsi(long a, long b, x)  [ return a + b*|x|, a,b _non-negative_ ]
--> addumului(ulong a, ulong b, x)

since compilers are much better at enforcing this kind of things than
comments.

[ this function is only used to convert base 10 --> base 2^32 in a naïve way
(no divide/conquer). I have documented it ]

    Karim.
-- 
Karim Belabas                     Tel: (+33) (0)1 69 15 57 48
Dép. de Mathématiques, Bât. 425   Fax: (+33) (0)1 69 15 60 19
Université Paris-Sud              http://www.math.u-psud.fr/~belabas/
F-91405 Orsay (France)            http://www.parigp-home.de/  [PARI/GP]