Re: shared libraries working on FreeBSD

Date view Thread view Subject view Author view

From: Godmar Back (gback@cs.utah.edu)
Date: Sun Jan 17 1999 - 15:14:57 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.
>

Well, I'm glad we exploit libtool technology that already knows about all
these nitty-gritty buggy details and is not so dumb to think that it can
sprinkle -lm's all over the link line.

Btw, Archie, you might want to report the prob to the FreeBSD maintainers.
If they even maintain pre-3.0 build tools anymore.

        - Godmar


Date view Thread view Subject view Author view

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