So I'm having trouble getting this library to install on my macbook. It will configure fine but when i got to make it, it spits out this at the end:
ranlib: file: .libs/libgmp.a(mp_clz_tab.o) has no symbols
ranlib: file: .libs/libgmp.a(obprintf.o) has no symbols
ranlib: file: .libs/libgmp.a(obvprintf.o) has no symbols
ranlib: file: .libs/libgmp.a(obprntffuns.o) has no symbols
ranlib: file: .libs/libgmp.a(repl-vsnprintf.o) has no symbols
ranlib .libs/libgmp.a
ranlib: file: .libs/libgmp.a(mp_clz_tab.o) has no symbols
ranlib: file: .libs/libgmp.a(obprintf.o) has no symbols
ranlib: file: .libs/libgmp.a(obvprintf.o) has no symbols
ranlib: file: .libs/libgmp.a(obprntffuns.o) has no symbols
ranlib: file: .libs/libgmp.a(repl-vsnprintf.o) has no symbols
creating libgmp.la
(cd .libs && rm -f libgmp.la && ln -s ../libgmp.la libgmp.la)
Now if I make install it it works fine when I go to use it (or use the NTL library which is dependent on GMP) it spits out errors saying theres no references to certain calls. I'm assume they're caused by the above problem. Anyone know how to fix it?
So I'm having trouble getting this library to install on my macbook. It will configure fine but when i got to make it, it spits out this at the end:
ranlib: file: .libs/libgmp.a(mp_clz_tab.o) has no symbols
ranlib: file: .libs/libgmp.a(obprintf.o) has no symbols
ranlib: file: .libs/libgmp.a(obvprintf.o) has no symbols
ranlib: file: .libs/libgmp.a(obprntffuns.o) has no symbols
ranlib: file: .libs/libgmp.a(repl-vsnprintf.o) has no symbols
ranlib .libs/libgmp.a
ranlib: file: .libs/libgmp.a(mp_clz_tab.o) has no symbols
ranlib: file: .libs/libgmp.a(obprintf.o) has no symbols
ranlib: file: .libs/libgmp.a(obvprintf.o) has no symbols
ranlib: file: .libs/libgmp.a(obprntffuns.o) has no symbols
ranlib: file: .libs/libgmp.a(repl-vsnprintf.o) has no symbols
creating libgmp.la
(cd .libs && rm -f libgmp.la && ln -s ../libgmp.la libgmp.la)
Now if I make install it it works fine when I go to use it (or use the NTL library which is dependent on GMP) it spits out errors saying theres no references to certain calls. I'm assume they're caused by the above problem. Anyone know how to fix it?
ranlib is trying to take a bunch of unlinked object code (various .o files) and add them to a library file (libgmp), and it's complaining that those output files don't contain any symbols -- basically they have nothing useful. So the linker has no work to do for that file, and that's usually a bad thing. So it complains.
In each of those cases, either compilation is failing for those source files (so you would have error messages higher up in the process) or your system was goofy or the source tree sitting on your filesystem was corrupted.
First I would try compiling again. 'make clean' erases all of the compilation work done so far. You might also have to see what 'make install' did, and go rip out whatever broken libraries it installed. So 'make clean' and then start over, and see if it does it again.
If that doesn't work, see if you can capture the entire output of compilation and quote it here, snipping out the parts that look boring and repetitive (or leaving them in -- I don't care.) There's probably a warning up above that's causing something to fail, but strangely not triggering an error that causes the build to stop.
Or if you don't want to do that -- or if you do that and everybody is stumped -- read the documentation and see what versions of what libraries you need, and make sure you really have those versions for those libraries.
mspencer on
MEMBER OF THE PARANOIA GM GUILD
XBL Michael Spencer || Wii 6007 6812 1605 7315 || PSN MichaelSpencerJr || Steam Michael_Spencer || Ham NOØK QRZ || My last known GPS coordinates: FindU or APRS.fi (Car antenna feed line busted -- no ham radio for me X__X )
So I'm having trouble getting this library to install on my macbook. It will configure fine but when i got to make it, it spits out this at the end:
ranlib: file: .libs/libgmp.a(mp_clz_tab.o) has no symbols
ranlib: file: .libs/libgmp.a(obprintf.o) has no symbols
ranlib: file: .libs/libgmp.a(obvprintf.o) has no symbols
ranlib: file: .libs/libgmp.a(obprntffuns.o) has no symbols
ranlib: file: .libs/libgmp.a(repl-vsnprintf.o) has no symbols
ranlib .libs/libgmp.a
ranlib: file: .libs/libgmp.a(mp_clz_tab.o) has no symbols
ranlib: file: .libs/libgmp.a(obprintf.o) has no symbols
ranlib: file: .libs/libgmp.a(obvprintf.o) has no symbols
ranlib: file: .libs/libgmp.a(obprntffuns.o) has no symbols
ranlib: file: .libs/libgmp.a(repl-vsnprintf.o) has no symbols
creating libgmp.la
(cd .libs && rm -f libgmp.la && ln -s ../libgmp.la libgmp.la)
Now if I make install it it works fine when I go to use it (or use the NTL library which is dependent on GMP) it spits out errors saying theres no references to certain calls. I'm assume they're caused by the above problem. Anyone know how to fix it?
ranlib is trying to take a bunch of unlinked object code (various .o files) and add them to a library file (libgmp), and it's complaining that those output files don't contain any symbols -- basically they have nothing useful. So the linker has no work to do for that file, and that's usually a bad thing. So it complains.
In each of those cases, either compilation is failing for those source files (so you would have error messages higher up in the process) or your system was goofy or the source tree sitting on your filesystem was corrupted.
First I would try compiling again. 'make clean' erases all of the compilation work done so far. You might also have to see what 'make install' did, and go rip out whatever broken libraries it installed. So 'make clean' and then start over, and see if it does it again.
If that doesn't work, see if you can capture the entire output of compilation and quote it here, snipping out the parts that look boring and repetitive (or leaving them in -- I don't care.) There's probably a warning up above that's causing something to fail, but strangely not triggering an error that causes the build to stop.
Or if you don't want to do that -- or if you do that and everybody is stumped -- read the documentation and see what versions of what libraries you need, and make sure you really have those versions for those libraries.
That's really weird. Why would someone distribute a package with GNU autoconf if it contains strange CPU-specific operations?
You might have to go Googling. Ideally all software is built with portability in mind, but it's possible this library wasn't and someone will need to spend time porting it. Have you checked if other people have had problems compiling this software?
mspencer on
MEMBER OF THE PARANOIA GM GUILD
XBL Michael Spencer || Wii 6007 6812 1605 7315 || PSN MichaelSpencerJr || Steam Michael_Spencer || Ham NOØK QRZ || My last known GPS coordinates: FindU or APRS.fi (Car antenna feed line busted -- no ham radio for me X__X )
According to the GMP home page, Apple's GCC is broken. I'm inclined to believe the problem is actually in GMP itself, since it's rather rare for any modern version of GCC to compile something incorrectly, but you might try installing a newer version of GCC.
According to my "research" GMP isn't supported on Intel MacBooks. You'd need to use something like MacPorts (which is like the *BSD ports system) if you want to get it installed.
Barrakketh on
Rollers are red, chargers are blue....omae wa mou shindeiru
Posts
In each of those cases, either compilation is failing for those source files (so you would have error messages higher up in the process) or your system was goofy or the source tree sitting on your filesystem was corrupted.
First I would try compiling again. 'make clean' erases all of the compilation work done so far. You might also have to see what 'make install' did, and go rip out whatever broken libraries it installed. So 'make clean' and then start over, and see if it does it again.
If that doesn't work, see if you can capture the entire output of compilation and quote it here, snipping out the parts that look boring and repetitive (or leaving them in -- I don't care.) There's probably a warning up above that's causing something to fail, but strangely not triggering an error that causes the build to stop.
Or if you don't want to do that -- or if you do that and everybody is stumped -- read the documentation and see what versions of what libraries you need, and make sure you really have those versions for those libraries.
XBL Michael Spencer || Wii 6007 6812 1605 7315 || PSN MichaelSpencerJr || Steam Michael_Spencer || Ham NOØK
QRZ || My last known GPS coordinates: FindU or APRS.fi (Car antenna feed line busted -- no ham radio for me X__X )
hers a link to all the errors/output of ./configure,make and make install
http://members.shaw.ca/dweevers/errors.html
You might have to go Googling. Ideally all software is built with portability in mind, but it's possible this library wasn't and someone will need to spend time porting it. Have you checked if other people have had problems compiling this software?
XBL Michael Spencer || Wii 6007 6812 1605 7315 || PSN MichaelSpencerJr || Steam Michael_Spencer || Ham NOØK
QRZ || My last known GPS coordinates: FindU or APRS.fi (Car antenna feed line busted -- no ham radio for me X__X )