From: Andrew Haley <aph@redhat.com>
To: Keith <keith@rhsdplanning.com>
Cc: java@gcc.gnu.org
Subject: Re: link error: undefined reference
Date: Wed, 31 Mar 2010 07:46:00 -0000 [thread overview]
Message-ID: <4BB2FDDB.4000405@redhat.com> (raw)
In-Reply-To: <4BB24285.40204@rhsdplanning.com>
On 30/03/10 19:27, Keith wrote:
> Environment is Windows XP, gcj 4.4.0, compiling under MSYS
> The final error I have is:
>
> C:\DOCUME~1\Keith\LOCALS~1\Temp\ccXVrvPx.o:cc8hZGFd.i:(.text+0x29):
> undefined reference to `com::performanceplanningsystem::ui::PPS::class$'
> collect2: ld returned 1 exit status
This is because you're mixing -findirect-dispatch and
-fno-indirect-dispatch, which doesn't work. Compile the executable
with -findirect-dispatch too.
Andrew.
next prev parent reply other threads:[~2010-03-31 7:46 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-25 18:08 'java.lang.String' has no method Keith
2010-03-25 18:26 ` Andrew Haley
2010-03-26 16:51 ` Keith
2010-03-26 16:55 ` Andrew John Hughes
2010-03-30 18:27 ` link error: undefined reference Keith
2010-03-31 7:46 ` Andrew Haley [this message]
2010-04-01 20:08 ` Keith
2010-04-02 8:47 ` Andrew Haley
[not found] ` <4BB23C24.3030103@rhsdplanning.com>
2010-03-30 18:31 ` 'java.lang.String' has no method Andrew John Hughes
2010-03-30 18:41 ` Keith
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=4BB2FDDB.4000405@redhat.com \
--to=aph@redhat.com \
--cc=java@gcc.gnu.org \
--cc=keith@rhsdplanning.com \
/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).