This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Linking problem
- To: java at gcc dot gnu dot org
- Subject: Linking problem
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Tue, 28 Aug 2001 00:24:06 -0700
- Organization: CodeSourcery, LLC
When trying to link, I get:
/mnt/u2/mitchell/ftp/cb/cckbAvfdjxmain.i(.text+0x1d):
undefined reference to `mainPack__U2f_PhysMain::class$
Sure enough, that symbol does not appear in the .s file gcj generates
from all the .class files. Lots of similar symbols do appear -- but
nothing with the `U2f' bit.
I see that I used the --encoding=UTF-8 option to gcj and that this
flag is not passed through to jvgenmain. Could that be the problem?
Thanks,
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com