From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26887 invoked by alias); 26 Apr 2002 07:09:25 -0000 Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org Received: (qmail 26827 invoked from network); 26 Apr 2002 07:09:17 -0000 Received: from unknown (HELO rumcajs.softax.local) (62.89.75.141) by sources.redhat.com with SMTP; 26 Apr 2002 07:09:17 -0000 Received: from softax.pl (IDENT:rysio@localhost [127.0.0.1]) by rumcajs.softax.local (8.11.0/8.11.0) with ESMTP id g3Q7ADX23226 for ; Fri, 26 Apr 2002 09:10:14 +0200 Message-ID: <3CC8FD55.CA9FA287@softax.pl> Date: Fri, 26 Apr 2002 00:30:00 -0000 From: Ryszard Kabatek Reply-To: Ryszard.Kabatek@softax.pl X-Accept-Language: pl, en MIME-Version: 1.0 To: java@gcc.gnu.org Subject: Problem with AClass.class Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit X-SW-Source: 2002-04/txt/msg00364.txt.bz2 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