This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Xerces2-j compile errors
- From: Tom Tromey <tromey at redhat dot com>
- To: Alex Lee <aintaer at aintaer dot com>
- Cc: java at gcc dot gnu dot org
- Date: 02 Nov 2004 16:09:04 -0700
- Subject: Re: Xerces2-j compile errors
- References: <4187D5E3.3060301@aintaer.com>
- Reply-to: tromey at redhat dot com
>>>>> "Alex" == Alex Lee <aintaer@aintaer.com> writes:
Alex> I'm writing a parsing relay server for handling XML messages from
Alex> XMLSocket object in Flash 6. However, my webmaster tells me he will
Alex> absolutely not install java runtime on the server.
Alex> So I'm trying to use GCJ to make an executable out of it.
Nice!
Alex> `CSClient::CSClient(CommServer*, java::net::Socket*)':
Alex> : undefined reference to
Alex> `javax::xml::parsers::SAXParserFactory::newInstance()'
Alex> So I'm wondering, do I have to compile xerces first as libraries, then
Alex> include them? Or is there something fundamentally broken?
Compiling with gcj is like compiling a C program. The libraries you
depend on also have to be compiled and linked in.
Tom