gcj on apache poi

kopikosong <[email protected]>
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
I am trying to compile gcj as a shared libaray which I can load from my
applications
I have included xml-apis.jar as I have a compilation error for
javax.xml.parsers.DocumentBuilderFactory

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
-- 
View this message in context: http://www.nabble.com/gcj-on-apache-poi-tp18843403p18843403.html
Sent from the gcc - java mailing list archive at Nabble.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.