This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Problem with AClass.class
- From: Ryszard Kabatek <Ryszard dot Kabatek at softax dot pl>
- To: java at gcc dot gnu dot org
- Date: Fri, 26 Apr 2002 09:10:13 +0200
- Subject: Problem with AClass.class
- Reply-to: Ryszard dot Kabatek at softax dot pl
gcj (gcc version 3.1 20020325 (prerelease)) on linux
I got a linking error because of using the class member function:
AClass.class.getName()
/tmp/cc3aa1t7.o: In function `main':
/tmp/cc3aa1t7.o(.text+0x1d): undefined reference to `AClass::class$'
collect2: ld returned 1 exit status
What is wrong?
Regards
--
Ryszard Kabatek