undefined reference to `_Jv_FindSymbolInExecutable(char const*)'
Anthony Green
green@redhat.com
Wed Sep 5 18:39:00 GMT 2001
Stefan wrote:
> p2:~#gcj --main=helloworld helloworld.java
> /opt/cross/lib/gcc-lib/powerpc-linux/3.0.1/../../../../powerpc-linux/lib/lib
> gcj.so: undefined reference to `_Jv_FindSymbolInExecutable(char const*)'
> /opt/cross/lib/gcc-lib/powerpc-linux/3.0.1/../../../../powerpc-linux/lib/lib
> gcjgc.so: undefined reference to `dlopen'
> collect2: ld returned 1 exit status
>
> any idea?
Hmm.. if you're really using 3.0.1 you probably don't have this patch...
2001-06-02 Anthony Green <green@redhat.com>
* java/lang/natRuntime.cc (_Jv_FindSymbolInExecutable): Provide an
alternate when USE_LTDL not defined.
I recommend using the top of the GCC development tree for building embedded
cross compilers for now.
AG
More information about the Java
mailing list