Bad patchwork: libgcj.so: undefined reference to `gcj_describe_type_fn'

Martin Egholm Nielsen martin@egholm-nielsen.dk
Wed Mar 15 20:14:00 GMT 2006


Hi,

(For those not reading my desparate attempts on the GC list:)
I'm trying to trace some stuff in the garbage collector being 
responsible for doubling my GC times.
In that attempt Hans Boehm has guided me into using the method 
"gcj_describe_type_fn" defined in "libjava/boehm.cc" - defined for newer 
releases, that is. Now, I'm quite stuck with the 3.4.x branch, hence 
this method is not there.
So I just patched it in from SVN trunk (though removing the 
static'ness), and everything (boehm and libjava) compiles just fine. 
However, the minute I try to compile my own application, I get the 
following error message:

--- 8< 8< 8< ---
lib/libgcj.so: undefined reference to `gcj_describe_type_fn'
collect2: ld returned 1 exit status
--- 8< 8< 8< ---

So I guess I need some more patching, but I have no idea where.

BR,
  Martin Egholm



More information about the Java mailing list