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

Bryce McKinlay mckinlay@redhat.com
Wed Mar 15 21:19:00 GMT 2006


Tom Tromey wrote:
> Martin>           U gcj_describe_type_fn
> Martin>             ^^^^^^^^^^^^^^^^^^^^
> Martin> Looks like it, yes...
> Martin> A bit embarrasing, but could it be a simple matter of not having done
> Martin> a "make clean", but merely a "make install-exec"?
>
> In the GCC tree, the GC is built as a convenience library -- not an
> installed library.  So, 'make install-exec' probably does not cause
> the library to be rebuilt.  Instead use 'make all' in that directory
> and I think things will be ok.
>   

You need to make sure that libgcj.so gets re-linked as well, so that the 
new libgcj_convenience.a is incorporated into it. This should happen 
automatically with a "make all" in the libjava directory, assuming the 
boehm-gc directory was already rebuilt.

Bryce



More information about the Java mailing list