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]

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


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