Linking problem

Mark Mitchell mark@codesourcery.com
Tue Aug 28 00:24:00 GMT 2001


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



More information about the Java mailing list