public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
From: Ryszard Kabatek <Ryszard.Kabatek@softax.pl>
To: Bryce McKinlay <bryce@waitaki.otago.ac.nz>
Cc: java@gcc.gnu.org
Subject: Re: Problem with AClass.class
Date: Fri, 26 Apr 2002 08:39:00 -0000	[thread overview]
Message-ID: <3CC941F9.FB5A8151@softax.pl> (raw)
In-Reply-To: <3CC925E4.1060900@waitaki.otago.ac.nz>

Bryce McKinlay wrote:
> 
> Ryszard Kabatek wrote:
> 
> >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?
> >
> 
> Given that the undefined reference is in "main", it seems like you
> specified an incorrect --main class, or forgot to link in AClass?
> 
> regards
> 
> Bryce.

Hm, AClass is the --main class.
-- 
Ryszard Kabatek

Tel. (Softax) +48 (22) 517 38 31
Tel. kom. (Softax) +48 606 609 363

  reply	other threads:[~2002-04-26 12:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-26  0:30 Ryszard Kabatek
2002-04-26  3:43 ` Bryce McKinlay
2002-04-26  8:39   ` Ryszard Kabatek [this message]
2002-04-26 10:09     ` Tom Tromey
2002-04-29  1:10       ` Ryszard Kabatek
2002-04-29  2:13         ` Bryce McKinlay
2002-04-29  8:02           ` Ryszard Kabatek
2002-04-29 13:14             ` Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3CC941F9.FB5A8151@softax.pl \
    --to=ryszard.kabatek@softax.pl \
    --cc=bryce@waitaki.otago.ac.nz \
    --cc=java@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).