public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
From: Bryce McKinlay <bmckinlay@gmail.com>
To: "java@gcc.gnu.org" <java@gcc.gnu.org>,
	Bucher Fabio <fabio.bucher@ntb.ch>
Subject: Re: compile multiple java files
Date: Tue, 25 Jun 2013 09:20:00 -0000	[thread overview]
Message-ID: <CALUNu-pL0=kyqgESx0sfVcG-=JkwpFSE21zk0Rzafw5=-TY7hw@mail.gmail.com> (raw)
In-Reply-To: <17B34E365AFABC468216733E4B4CC75492AD8193@mail-server.ntb.ch>

On Tue, Jun 25, 2013 at 10:14 AM, Bucher Fabio <fabio.bucher@ntb.ch> wrote:

> gcj --main=MultiThreadTest -I/home/fabio/eclipse-workspace/workspace-gcj/GCJ_Threading_Test/src/ch/ntb/inf/fabio/gcj/ MultiThreadTest.java ThreadPool.java Calcula.java Logger.java -o tada
>
> It gives me this error:
>  /tmp/ccUNvvnJ.o: In function `main':
> ccbV7AOD.i:(.text+0x24): undefined reference to `MultiThreadTest::class$'
>
> What does this error means?

It means you specified "MultiThreadTest" as your main class, but there
is no class called that. Perhaps you forgot the package name?

Bryce

  reply	other threads:[~2013-06-25  9:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-25  9:14 Bucher Fabio
2013-06-25  9:20 ` Bryce McKinlay [this message]
2013-06-25  9:35 Bucher Fabio

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='CALUNu-pL0=kyqgESx0sfVcG-=JkwpFSE21zk0Rzafw5=-TY7hw@mail.gmail.com' \
    --to=bmckinlay@gmail.com \
    --cc=fabio.bucher@ntb.ch \
    --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).