public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
From: Keith <keith@rhsdplanning.com>
To: java@gcc.gnu.org
Subject: link error: undefined reference
Date: Tue, 30 Mar 2010 18:27:00 -0000	[thread overview]
Message-ID: <4BB24285.40204@rhsdplanning.com> (raw)
In-Reply-To: <17c6771e1003260954q21babf04v1f4f22139c692d94@mail.gmail.com>

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

The compile line is

gcj -fjni --main=com.performanceplanningsystem.ui.PPS 
--classpath=/Croot/jprojects/pps/dist/lib/pps.jar:/Croot/jprojects/pps/dist/lib/pentium.jar:/Croot/jprojects/pps/dist/lib/org.eclipse.ui.workbench_3.5.0.I20090603-2000.jar:/Croot/jprojects/pps/dist/lib/org.eclipse.swt.win32.win32.x86_3.5.0.v3550b.jar:/Croot/jprojects/pps/dist/lib/org.eclipse.osgi_3.5.0.v20090520.jar:/Croot/jprojects/pps/dist/lib/org.eclipse.jface_3.5.0.I20090525-2000.jar:/Croot/jprojects/pps/dist/lib/org.eclipse.equinox.common_3.5.0.v20090520-1800.jar:/Croot/jprojects/pps/dist/lib/org.eclipse.core.runtime_3.5.0.v20090525.jar:/Croot/jprojects/pps/dist/lib/org.eclipse.core.commands_3.5.0.I20090525-2000.jar:/Croot/jprojects/pps/dist/lib/mail.jar:/Croot/jprojects/pps/dist/lib/jRegistryKey.jar:/Croot/jprojects/pps/dist/lib/ArciMathEval.jar:/Croot/jprojects/pps/dist/lib/activation.jar:/Croot/eclipse-SDK-3.5-win32/eclipse/plugins/org.eclipse.equinox.registry_3.4.100.v20090520-1800.jar:/Croot/eclipse-SDK-3.5-win32/eclipse/plugins/org.eclipse.core.expressions_3.4.100.v20090429-1800.jar:/Croot/eclipse-SDK-3.5-win32/eclipse/plugins/org.eclipse.core.jobs_3.4.100.v20090429-1800.jar:/Croot/eclipse-SDK-3.5-win32/eclipse/plugins/org.eclipse.equinox.preferences_3.2.300.v20090520-1800.jar:/Croot/eclipse-SDK-3.5-win32/eclipse/plugins/com.ibm.icu_4.0.1.v20090415.jar:/Croot/eclipse-SDK-3.5-win32/eclipse/plugins/org.eclipse.core.databinding.property_1.2.0.I20090526-2000.jar:/Croot/eclipse-SDK-3.5-win32/eclipse/plugins/org.eclipse.help_3.4.0.v20090526.jar:/Croot/eclipse-SDK-3.5-win32/eclipse/plugins/org.eclipse.jface.databinding_1.3.0.I20090525-2000.jar:/Croot/eclipse-SDK-3.5-win32/eclipse/plugins/org.eclipse.core.databinding.observable_1.2.0.I20090604-2000.jar:/Croot/eclipse-SDK-3.5-win32/eclipse/plugins/org.eclipse.core.contenttype_3.4.0.v20090429-1800.jar:/Croot/eclipse-SDK-3.5-win32/eclipse/plugins/org.eclipse.core.runtime.compatibility.auth_3.2.100.v20090413.jar:/Croot/eclipse-SDK-3.5-win32/eclipse/plugins/org.eclipse.equinox.app_1.2.0.v20090520-1800.jar:/Croot/eclipse-SDK-3.5-win32/eclipse/plugins/org.eclipse.core.databinding_1.2.0.I20090604-2000.jar 
-o PPS.exe -L./lib -llibpps -lunikey -ldwg  -llibactivation 
-llibjRegistryKey -llibmail -llibpentium 
-lliborg.eclipse.jface_3.5.0.I20090525-2000 -llibswtimageloader 
-lliborg.eclipse.swt.win32.win32.x86_3.5.0.v3550b 
-lliborg.eclipse.ui.workbench_3.5.0.I20090603-2000 
-lliborg.eclipse.osgi_3.5.0.v20090520 
-lliborg.eclipse.core.commands_3.5.0.I20090525-2000-lliborg.eclipse.core.databinding.property_1.2.0.I20090526-2000 
-lliborg.eclipse.core.runtime_3.5.0.v20090525 
-lliborg.eclipse.equinox.common_3.5.0.v20090520-1800-lliborg.eclipse.equinox.registry_3.4.100
.v20090520-1800 -lliborg.eclipse.core.expressions_3.4.100.v20090429-1800 
-lliborg.eclipse.core.jobs_3.4.100.v20090429-1800 
-lliborg.eclipse.equinox.preferences_3.2.300.v20090520-1800 
-llibcom.ibm.icu_4.0.1.v20090415-lliborg.eclipse.core.databinding.property_1.2.0.I20090526-2000 
-lliborg.eclipse.help_3.4.0.v20090526 
-lliborg.eclipse.jface.databinding_1.3.0.I20090525-2000 
-lliborg.eclipse.core.databinding.observable_1.2.0.I20090604-2000 
-lliborg.eclipse.core.contenttype_3.4.0.v20090429-1800 
-lliborg.eclipse.core.runtime.compatibility.auth_3.2.100.v20090413 
-lliborg.eclipse.equinox.app_1.2.0.v20090520-1800 
-lliborg.eclipse.core.databinding_1.2.0.I20090604-2000 -mwindows 
-Wl,--enable-auto-import

com/performanceplanningsystem/ui/PPS.class is compiled into 
com_performanceplanningsystem_ui_PPS.o
and archived in lib/libPPS.lib

The compile flags for PPS.class are  -O0 -m32 -fjni -findirect-dispatch

Do you have any suggestions about what I should change or look for to 
find my error?


  reply	other threads:[~2010-03-30 18:27 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     ` Keith [this message]
2010-03-31  7:46       ` link error: undefined reference Andrew Haley
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=4BB24285.40204@rhsdplanning.com \
    --to=keith@rhsdplanning.com \
    --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).