This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: undefined union _Jv_word in Class.h
- From: Tom Tromey <tromey at redhat dot com>
- To: "Hemant Mohan" <hemantm at pune dot tcs dot co dot in>
- Cc: java-patches at gcc dot gnu dot org
- Date: 11 Jan 2002 16:57:37 -0700
- Subject: Re: undefined union _Jv_word in Class.h
- References: <OF7EA27E61.C0E366B8-ON65256B3D.004AECEE@pune.tcs.co.in>
- Reply-to: tromey at redhat dot com
>>>>> "Hemant" == Hemant Mohan <hemantm@pune.tcs.co.in> writes:
Hemant> I am trying to compile a C/Java program on my RedHat 7.1. I
Hemant> have gcc 3.0.3 installed alongwith java support. I am getting
Hemant> a compilation error which points to the header file
Hemant> /usr/include/java/lang/Class.h. The union _Jv_word is not
Hemant> defined in this header file. Can anyone please help where can
Hemant> i get the patch for this.
Are you trying to compile a C program that uses JNI?
Do you have a small example of the problem you are encountering?
Can you show me the command line and the compiler error message?
Thanks,
Tom