Linking problem

Mark Mitchell
Tue Aug 28 00:24:00 GMT 2001

When trying to link, I get:

 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?


Mark Mitchell         
CodeSourcery, LLC     

More information about the Java mailing list