This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: installation and compile problem


On Oct 9, 2003, at 8:06 PM, Ray Auge wrote:

Hello all,

I downloaded the 3.3.1 gcc tarball,

- since I'm on ppc, I set "can_unwind_signal=no" for powerpc*-linux*

You shouldn't need to do that: signal unwinding should work on PPC linux. At least, it used to, and thats why its turned on for that configaration. Is it broken?


As a test, I tired a few simple classes (no imports), worked fine.
I then tried to compile one of the Xerces sample xml parsers (
DocumentTracer.java ) which actually only imports org.xml.sax classes
(does not use any Xerces classes)...

This is what I get:

/usr/local/bin/gcj-3.3.1 -fPIC -fjni -g -O -o DocumentTracer
--main=DocumentTracer DocumentTracer.java
/tmp/ccVDxVEA.o(.text+0x54): In function
`DocumentTracer::DocumentTracer[in-charge]()':
/home/com_/Development/test-code/xerces-samples/samples/sax/ DocumentTracer.java:158: undefined reference to `org::xml::sax::helpers::DefaultHandler::DefaultHandler[in-charge]()'

Looking at our org.xml.sax source, currently libgcj does not have the DefaultHandler class. Thats why you're getting the link error. The SAX stuff is public-domain, right? So we should be able to import an updated version of this from somewhere?


Bryce



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]