shared libraries working on FreeBSD

Date view Thread view Subject view Author view

From: Alexandre Oliva (oliva@dcc.unicamp.br)
Date: Sat Jan 16 1999 - 22:32:27 EST


On Jan 17, 1999, Alexandre Oliva <oliva@www.transvirtual.com> wrote:

> * kaffe/kaffe/Makefile.am (Kaffe_LDADD_): add libkaffevm before
> -dlopen JAVA_LIBS, so that shared libraries work on FreeBSD

Yes, that's right, I managed to get it working!

The problem looks very much like a bug in `ld': if `-lm' appeared
before `-lkaffevm', it would complain about the lack of
GLOBAL_SYMBOL_TABLE, and the produced binary wouldn't run. By moving
-lm to just after -lkaffevm, it would work.

Enjoy!

-- 
Alexandre Oliva  http://www.dcc.unicamp.br/~oliva  aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:44 EDT