[Ecls-list] Fwd: eclgmp on osx?

Rick Taube taube at uiuc.edu
Wed Feb 14 16:08:16 UTC 2007

I just tried to build ecl cvs on two different machines here at the  
university. both of them are 10.4.8 ppc, and both end with that same  
error. I removed libeclgmp.a and did make libeclgmp.a. ranlib is  
being called and reports no symbols. here is the trace:
thanks for your help...

rm libeclgmp.a
make libeclgmp.a
test -z "/usr/local/src/ecl/build/doc" || /usr/local/src/ecl/src/gmp/ 
install-sh -d "/usr/local/src/ecl/build/doc"
/opt/local/bin//ginstall -c -m 644 '/usr/local/src/ecl/src/gmp/doc/ 
gmp.info' '/usr/local/src/ecl/build/doc/gmp.info'
/opt/local/bin//ginstall -c -m 644 '/usr/local/src/ecl/src/gmp/doc/ 
gmp.info-1' '/usr/local/src/ecl/build/doc/gmp.info-1'
/opt/local/bin//ginstall -c -m 644 '/usr/local/src/ecl/src/gmp/doc/ 
gmp.info-2' '/usr/local/src/ecl/build/doc/gmp.info-2'
install-info --info-dir='/usr/local/src/ecl/build/doc' '/usr/local/ 
test -z "/usr/local/src/ecl/build" || /usr/local/src/ecl/src/gmp/ 
install-sh -d "/usr/local/src/ecl/build"
/bin/sh ./libtool --mode=install /opt/local/bin//ginstall -c   
'libgmp.la' '/usr/local/src/ecl/build/libgmp.la'
/opt/local/bin//ginstall -c .libs/libgmp.lai /usr/local/src/ecl/build/ 
/opt/local/bin//ginstall -c .libs/libgmp.a /usr/local/src/ecl/build/ 
ranlib /usr/local/src/ecl/build/libgmp.a
ranlib: file: /usr/local/src/ecl/build/libgmp.a(mp_clz_tab.o) has no  
ranlib: file: /usr/local/src/ecl/build/libgmp.a(obprintf.o) has no  
ranlib: file: /usr/local/src/ecl/build/libgmp.a(obvprintf.o) has no  
ranlib: file: /usr/local/src/ecl/build/libgmp.a(obprntffuns.o) has no  
ranlib: file: /usr/local/src/ecl/build/libgmp.a(repl-vsnprintf.o) has  
no symbols
chmod 644 /usr/local/src/ecl/build/libgmp.a
Libraries have been installed in:

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
    - add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable
      during execution

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
test -z "/usr/local/src/ecl/build/include" || /usr/local/src/ecl/src/ 
gmp/install-sh -d "/usr/local/src/ecl/build/include"
/opt/local/bin//ginstall -c -m 644 'gmp.h' '/usr/local/src/ecl/build/ 
test -z "/usr/local/src/ecl/build/ecl" || /usr/local/src/ecl/src/gmp/ 
install-sh -d "/usr/local/src/ecl/build/ecl"
make  install-data-hook

| CAUTION:                                                    |
|                                                             |
| If you have not already run "make check", then we strongly  |
| recommend you do so.                                        |
|                                                             |
| GMP has been carefully tested by its authors, but compilers |
| are all too often released with serious bugs.  GMP tends to |
| explore interesting corners in compilers and has hit bugs   |
| on quite a few occasions.                                   |
|                                                             |

here is the error

if [ -f CROSS-COMPILER ]; then \
         touch ecl_min; \
else \
         gcc  -o ecl_min cinit.o c/all_symbols.o -L./ libeclmin.a - 
leclgmp -leclgc  -lpthread   -lm  ;\
/usr/bin/ld: truncated or malformed archive: .//libeclgmp.a (ranlib  
structures in table of contents extends past the end of the table of  
contents, can't load from it)

More information about the ecl-devel mailing list