Jvo Studer wrote:
> gcc uclpack.o src/libucl.a -o ../uclpack
> ld: archive: src/libucl.a has no table of contents, add one with
> ranlib(1) (can't load from it)
> make[2]: *** [../uclpack] Error 1
> make[1]: *** [uclpack] Error 2
> make: *** [tools] Error 2

I don't have the SH compiler installed on my Mac, but running

make uclpack
ranlib ucl/src/libucl.a
make uclpack

from the tools/ directory seems to produce a working uclpack.

I've also tried adding that ranlib command  - ranlib $(TARGET) - to the
Makefile in tools/ucl/src and that seems to work, both on Darwin and in
Linux.

Can others confirm this would be OK to commit to CVS?

Dave.

Reply via email to