public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "HK Tan" <kopikosong@gmail.com>
To: "Andrew Haley" <aph@redhat.com>
Cc: gcc-help@gcc.gnu.org
Subject: Re: GCJ on POI
Date: Wed, 06 Aug 2008 02:00:00 -0000	[thread overview]
Message-ID: <221fd3870808051859w4234f2f6ycae5c99e42bba2b2@mail.gmail.com> (raw)
In-Reply-To: <48981DD4.7090207@redhat.com>

I found that the reason is due to the xml-apis.jar not included with gcj
gcj -shared -classpath xml-apis.jar -Lxml-apis.jar.so
poi-3.1-FINAL.jar -o poi-3.1-FINAL.jar.so  -findirect-dispatch
-Bsymbolic

My gcj is 3.4.5

But now I have another problem..

org/apache/poi/hssf/record/formula/functions/XYNumericFunction.java:
In class `org.apache.poi.hssf.record.formula.functions.XYNumericFunction':
org/apache/poi/hssf/record/formula/functions/XYNumericFunction.java:
In method `org.apache.poi.hssf.record.formula.functions.XYNumericFunction.getValues(org.apache.poi.hssf.record.formula.eval.Eval,org.apache.poi.hssf.record.formula.eval.Eval)':
org/apache/poi/hssf/record/formula/functions/XYNumericFunction.java:135:
error: verification error at PC=106
org/apache/poi/hssf/record/formula/functions/XYNumericFunction.java:135:
error: invalid argument type
org/apache/poi/hssf/record/formula/functions/XYNumericFunction.java:135:
error: expected type 'org.apache.poi.hssf.record.formula.eval.Eval[]'
but stack contains 'java.lang.Object[]'
org/apache/poi/hssf/usermodel/HSSFPicture.java: In class
`org.apache.poi.hssf.usermodel.HSSFPicture':
org/apache/poi/hssf/usermodel/HSSFPicture.java: In method
`org.apache.poi.hssf.usermodel.HSSFPicture.getResolution(javax.imageio.ImageReader)':
org/apache/poi/hssf/usermodel/HSSFPicture.java:198: error: cannot find
file for class javax.imageio.ImageReader
org/apache/poi/hssf/usermodel/HSSFPicture.java:198: error: cannot find
file for class javax.imageio.metadata.IIOMetadata
org/apache/poi/hssf/usermodel/HSSFPicture.java:202: error: cannot find
file for class javax.imageio.ImageReader
org/apache/poi/hssf/usermodel/HSSFPicture.java:202: confused by
earlier errors, bailing out




On Tue, Aug 5, 2008 at 5:31 PM, Andrew Haley <aph@redhat.com> wrote:
> HK Tan wrote:
>> Hi I have been trying to get gcj to compile for the for poi.
>> This are the steps that was trying to follow
>> gcj -shared -classpath ../jakarta-poi/lib/commons-logging-1.1.jar
>>    -Lcommons-logging-1.1.jar.so
>>    ../jakarta-poi/build/dist/poi-3.2-alpha1-20080804.jar -o
>>    poi-3.2-alpha1-20080804.jar.so
>>
>>    gcj --classpath=../jakarta-poi/build/dist/poi-3.2-alpha1-20080804.jar
>>    -c HW.java
>>
>>    gcj --main=HW -Lpoi-3.2-alpha1-20080804.jar.so HW.o -o HW
>>
>> But it bombs out on the step by
>> saying
>>
>
> I'd compile everything with -findirect-dispatch -Bsymbolic.
>
> Andrew.
>

      reply	other threads:[~2008-08-06  2:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-05  6:40 HK Tan
2008-08-05  9:32 ` Andrew Haley
2008-08-06  2:00   ` HK Tan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=221fd3870808051859w4234f2f6ycae5c99e42bba2b2@mail.gmail.com \
    --to=kopikosong@gmail.com \
    --cc=aph@redhat.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).