Re: [javaCompiler-users] XML support
Status: Beta
Brought to you by:
soapy
From: john s. <kmk...@ya...> - 2006-09-05 18:29:46
|
Here's the actual error I get when I try to compile with an XML parser. It does this with any SAX parser I try. C:\temp>gcj --main=fsdf -o blahnew blah.o jaxen-core.o jaxen-jdom.o jdom.o saxpa th.o Piccolo.o c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x3030): multiple def inition of `javax::xml::parsers::SAXParserFactory::SAXParserFactory()' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xcb162): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x3050): multiple def inition of `javax::xml::parsers::SAXParserFactory::newInstance()' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xcb1ba): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x37d0): multiple def inition of `javax::xml::parsers::SAXParserFactory::setNamespaceAware(bool)' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xcb33e): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x37f0): multiple def inition of `javax::xml::parsers::SAXParserFactory::setValidating(bool)' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xcb376): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x3810): multiple def inition of `javax::xml::parsers::SAXParserFactory::isNamespaceAware()' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xcb3ae): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x3830): multiple def inition of `javax::xml::parsers::SAXParserFactory::isValidating()' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xcb3d8): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x38c0): multiple def inition of `javax::xml::parsers::SAXParser::SAXParser()' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xca244): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x38e0): multiple def inition of `javax::xml::parsers::SAXParser::parse(java::io::InputStream*, org::x ml::sax::HandlerBase*)' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xca25e): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x3970): multiple def inition of `javax::xml::parsers::SAXParser::parse(java::io::InputStream*, org::x ml::sax::HandlerBase*, java::lang::String*)' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xca33e): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x3a20): multiple def inition of `javax::xml::parsers::SAXParser::parse(java::io::InputStream*, org::x ml::sax::helpers::DefaultHandler*)' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xca458): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x3ab0): multiple def inition of `javax::xml::parsers::SAXParser::parse(java::io::InputStream*, org::x ml::sax::helpers::DefaultHandler*, java::lang::String*)' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xca538): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x3b60): multiple def inition of `javax::xml::parsers::SAXParser::parse(java::lang::String*, org::xml: :sax::HandlerBase*)' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xca652): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x3bf0): multiple def inition of `javax::xml::parsers::SAXParser::parse(java::lang::String*, org::xml: :sax::helpers::DefaultHandler*)' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xca732): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x3c80): multiple def inition of `javax::xml::parsers::SAXParser::parse(java::io::File*, org::xml::sax ::HandlerBase*)' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xca812): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x3d60): multiple def inition of `javax::xml::parsers::SAXParser::parse(java::io::File*, org::xml::sax ::helpers::DefaultHandler*)' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xcaa32): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x3e40): multiple def inition of `javax::xml::parsers::SAXParser::parse(org::xml::sax::InputSource*, o rg::xml::sax::HandlerBase*)' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xcac52): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x3fa0): multiple def inition of `javax::xml::parsers::SAXParser::parse(org::xml::sax::InputSource*, o rg::xml::sax::helpers::DefaultHandler*)' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xcaeda): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x4130): multiple def inition of `javax::xml::parsers::ParserConfigurationException::ParserConfigurati onException()' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xca204): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x4150): multiple def inition of `javax::xml::parsers::ParserConfigurationException::ParserConfigurati onException(java::lang::String*)' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xca21e): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x4170): multiple def inition of `javax::xml::parsers::FactoryConfigurationError::FactoryConfiguration Error()' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xc7bb6): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x4190): multiple def inition of `javax::xml::parsers::FactoryConfigurationError::FactoryConfiguration Error(java::lang::String*)' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xc7bf2): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x41b0): multiple def inition of `javax::xml::parsers::FactoryConfigurationError::FactoryConfiguration Error(java::lang::Exception*)' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xc7c3a): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x41f0): multiple def inition of `javax::xml::parsers::FactoryConfigurationError::FactoryConfiguration Error(java::lang::Exception*, java::lang::String*)' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xc7cae): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x4230): multiple def inition of `javax::xml::parsers::FactoryConfigurationError::getMessage()' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xc7cfc): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x4280): multiple def inition of `javax::xml::parsers::FactoryConfigurationError::getException()' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xc7dd0): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x42b0): multiple def inition of `javax::xml::parsers::DocumentBuilderFactory::DocumentBuilderFactory( )' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xc7712): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x42e0): multiple def inition of `javax::xml::parsers::DocumentBuilderFactory::newInstance()' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xc77e6): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x4a60): multiple def inition of `javax::xml::parsers::DocumentBuilderFactory::setNamespaceAware(bool) ' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xc796a): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x4a80): multiple def inition of `javax::xml::parsers::DocumentBuilderFactory::setValidating(bool)' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xc79a2): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x4aa0): multiple def inition of `javax::xml::parsers::DocumentBuilderFactory::setIgnoringElementConte ntWhitespace(bool)' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xc79da): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x4ac0): multiple def inition of `javax::xml::parsers::DocumentBuilderFactory::setExpandEntityReferenc es(bool)' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xc7a12): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x4ae0): multiple def inition of `javax::xml::parsers::DocumentBuilderFactory::setIgnoringComments(boo l)' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xc7a4a): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x4b00): multiple def inition of `javax::xml::parsers::DocumentBuilderFactory::setCoalescing(bool)' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xc7a82): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x4b20): multiple def inition of `javax::xml::parsers::DocumentBuilderFactory::isNamespaceAware()' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xc7aba): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x4b40): multiple def inition of `javax::xml::parsers::DocumentBuilderFactory::isValidating()' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xc7ae4): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x4b60): multiple def inition of `javax::xml::parsers::DocumentBuilderFactory::isIgnoringElementConten tWhitespace()' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xc7b0e): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x4b80): multiple def inition of `javax::xml::parsers::DocumentBuilderFactory::isExpandEntityReference s()' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xc7b38): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x4ba0): multiple def inition of `javax::xml::parsers::DocumentBuilderFactory::isIgnoringComments()' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xc7b62): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x4bc0): multiple def inition of `javax::xml::parsers::DocumentBuilderFactory::isCoalescing()' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xc7b8c): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x4c50): multiple def inition of `javax::xml::parsers::DocumentBuilder::DocumentBuilder()' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xc721a): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x4c70): multiple def inition of `javax::xml::parsers::DocumentBuilder::parse(java::io::InputStream*)' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xc7234): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x4d00): multiple def inition of `javax::xml::parsers::DocumentBuilder::parse(java::io::InputStream*, java::lang::String*)' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xc730e): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x4da0): multiple def inition of `javax::xml::parsers::DocumentBuilder::parse(java::lang::String*)' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xc7420): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.text+0x4e30): multiple def inition of `javax::xml::parsers::DocumentBuilder::parse(java::io::File*)' Piccolo.o:C:/temp/Piccolo.jar:(.text+0xc74fa): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.data+0x4b40): multiple def inition of `javax::xml::parsers::SAXParserFactory::class$' Piccolo.o:C:/temp/Piccolo.jar:(.data+0xa4e0): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.data+0x5020): multiple def inition of `javax::xml::parsers::SAXParser::class$' Piccolo.o:C:/temp/Piccolo.jar:(.data+0xa2a0): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.data+0x5160): multiple def inition of `javax::xml::parsers::ParserConfigurationException::class$' Piccolo.o:C:/temp/Piccolo.jar:(.data+0x9f60): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.data+0x5340): multiple def inition of `javax::xml::parsers::FactoryConfigurationError::class$' Piccolo.o:C:/temp/Piccolo.jar:(.data+0x9720): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.data+0x5960): multiple def inition of `javax::xml::parsers::DocumentBuilderFactory::class$' Piccolo.o:C:/temp/Piccolo.jar:(.data+0x9580): first defined here c:/gcj/thisiscool-gcc/gcc-4.0/bin/../lib/gcc/i686-pc-mingw32/4.0.2/../../../../i 686-pc-mingw32/lib/libgcj.a(javax-xml.o):ccfIfzI6jx:(.data+0x5c80): multiple def inition of `javax::xml::parsers::DocumentBuilder::class$' Piccolo.o:C:/temp/Piccolo.jar:(.data+0x9260): first defined here C:\temp> __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |