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: MinGW Java Port Broken for Mainline


Mohan Embar wrote:
> Hi People,
> 
> When I get and build the mainline for
> MinGW and try to compile a simple HelloWorld
> application, I get a boatload of unresolved
> symbols referenced by jni.cc. Most of these
> are template functions. I've attached the
> error dump.

The "@4", "@8", etc. suffixes indicate that these
functions are being used as "__stdcall" functions
from user/client code - if you're getting undefined
references for these, it means that for some reason
the definitions are not being compiled as "__stdcall"
functions.

Now look at the end of "jni.cc" for the two structs
that do not carry this annotation for the
members - probably some bug in gcc has been fixed
that let this anomaly pass earlier.

This is just speculation, mind you.

Hope this helps,
Ranjit.

-- 
Ranjit Mathew          Email: rmathew AT gmail DOT com

Bangalore, INDIA.      Web: http://ranjitmathew.tripod.com/


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