This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Missing function in libgcj.a (Was: cannot compile libgcj)
- To: tromey AT cygnus dot com
- Subject: Missing function in libgcj.a (Was: cannot compile libgcj)
- From: "Mark K. Gardner" <mkgardne AT rtsl3.cs.uiuc dot edu>
- Date: Thu, 16 Sep 1999 12:08:55 -0500
- CC: mdw AT cs.berkeley dot edu, java-discuss AT sourceware.cygnus dot com
- Reply-to: mkgardne AT cs.uiuc dot edu
Tom> You can cd to the libjava build directory and run "make clean" to
Tom> fix it.
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:
@ nm libgcj.so | grep terminate
001046d4 T __default_terminate
001046f0 T __terminate
0015f9a8 D __terminate_func
00105390 T set_terminate__FPFv_v
00105354 T terminate__Fv
@ nm libgcj.a | grep terminate
U terminate__Fv
U terminate__Fv
U terminate__Fv
U terminate__Fv
U terminate__Fv
U terminate__Fv
U terminate__Fv
U terminate__Fv
Try as I might, I could not find the file where terminate is being
defined. Anybody know what's wrong?
Mark
--
Mark K. Gardner (mkgardne@cs.uiuc.edu)
University of Illinois at Urbana-Champaign
Real-Time Systems Laboratory
--