bug-gmp
[Top][All Lists]
Advanced

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

Re: GMP on OSX errors


From: glenbo
Subject: Re: GMP on OSX errors
Date: Thu, 21 Dec 2000 13:24:21 -0800 (PST)

ok 'm4 ../config.m4' returns eighteen empty lines then the caron
character.

'ranlib .libs/libgmp.a' returns:

ranlib: archive member: .libs/libgmp.a(diveby3.o) offset in archive not a
multiple of sizeof(unsigned long) (must be since member is an object file)

--glen

01100111 01101100 01100101
01101110 01100010 01101111


On 22 Dec 2000, Kevin Ryde wrote:

> glenbo <address@hidden> writes:
> 
> > the bad character, called a caron I found out, is at the end of the file,
> > and it is not in add_n.asm originally. when add_n.asm becomes tmp-add_n.s
> > the caron is added to the end of the file.
> 
> Hmm.  Do you get it if you just do,
> 
>         cd mpn
>         m4 ../config.m4
> 
> > So, I did it for all 7 .asm files in mpn/. Iknow that's a total
> > kludge, but after the asm files were out of the way it finished
> > compiling with no errors.
> 
> Good.
> 
> > I was happy until I ran 'make check' which didn't work:
> > 
> > /usr/bin/ld: archive: ../../.libs/libgmp.a has no table of contents, add
> > one with ranlib(1) (can't load from it)
> 
> Alas, our libtool snapshot doesn't run ranlib.  This will be fixed in
> the next release.  For now, after the "make" you can do it manually
> 
>         ranlib .libs/libgmp.a
> 
> (and do it to .libs/libmp.a too if you're using --enable-mpbsd).
> 
> You'll need this for your own programs as well as "make check".
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]