This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: Missing function in libgcj.a (Was: cannot compile libgcj)
- To: mkgardne AT cs.uiuc dot edu
- Subject: Re: Missing function in libgcj.a (Was: cannot compile libgcj)
- From: Anthony Green <green AT cygnus dot com>
- Date: Thu, 16 Sep 1999 10:56:40 -0700 (PDT)
- CC: tromey AT cygnus dot com, mdw AT cs.berkeley dot edu, java-discuss AT sourceware.cygnus dot com
Mark wrote:
> Thanks. Everything is finally compiled. Now I hit the next snag. I
> tried to statically link and the function "terminate" cannot be found.
> Dynamic linking works just fine. I checked and the function is there
> in libgcj.so but not in libgcj.a:
This code is actually in libgcc.a. It appears in the .so because
libgcc.a is always linked into shared libraries.
Try creating a linker mapfile when statically linking to determine
which libgcc.a is being used.
AG
--
Anthony Green Cygnus Solutions
Sunnyvale, California