Error while linking

Tom Tromey tromey@redhat.com
Thu Jan 4 22:47:00 GMT 2007


>>>>> ">" == Goel, Mudit \(Mudit\) <Goel> writes:

>> I am using gcj for powerpc-750 built using crosstool on a
>> Linux(host) for a card with IBM 750Fx processors.

>> org/acplt/oncrpc/OncRpcHttpClient.java:254: error: cannot find file for
>> class org.acplt.oncrpc.web.HttpClientConnection

This doesn't look like a link error to me... my guess is that one of
your jars depends on classes from one of the other jars, and you're
hitting some gcj bug. I think historically gcj hasn't done too well
if you try to compile multiple jars at once.
>> This is the command that I am using to link the object file : 

I suggest compiling each .jar separately to a .o. You may need to
add the other jars to the classpath for each gcj invocation for this
to work. Then, link the .o files in a separate step.
Tom


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /