From: Archie Cobbs (archie@whistle.com)
Date: Sun Jan 17 1999 - 16:50:02 EST
Godmar Back writes:
> > 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.
I would be happy to, if Alexandre wouldn't mind putting together
a small test case that shows the problem and a short description
of exactly what is going wrong (I'm not an expert on linking).
Alternately, Alexandre, you can file the PR (problem report)
yourself by going to this web page:
http://www.freebsd.org/send-pr.html
-Archie
___________________________________________________________________________
Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com
This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:44 EDT