This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: undefined reference to `_Jv_FindSymbolInExecutable(char const*)'
- To: "Stefan Wanner" <stefan dot wanner at ymail dot ch>, <java at gcc dot gnu dot org>
- Subject: Re: undefined reference to `_Jv_FindSymbolInExecutable(char const*)'
- From: "Anthony Green" <green at redhat dot com>
- Date: Wed, 5 Sep 2001 18:43:26 -0700
- References: <00e301c1354d$5d89cb30$4c048892@ntb.ch>
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