This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
undefined references
- From: "Santosh Cheler" <csk4you at hotmail dot com>
- To: <java at gcc dot gnu dot org>
- Date: Sun, 13 Jan 2002 14:36:30 +0530
- Subject: undefined references
Hi
I get the following error when compiling a class:
$gcj -I ../xerces.jar --main=Parser -o Parser Parser.java
/tmp/cc10KIkW.o: In function 'main':
undefined reference to 'Parser::class$'
collect2: ld returned 1 exit status.
Qstns:
1. What is the above error? how do I get rid of it?
2. Does this compile all the classes in xerces.jar and statically
link them in the output executable? If yes, my executable will
then be very big if I use large number of jar files.
3. Can gcj be used for production, ie., is it well-tested and stable?
thanks,
Santosh