This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: link error: undefined reference


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]