This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: MinGW Java Port Broken for Mainline
- From: Ranjit Mathew <rmathew at gmail dot com>
- To: gnustuff at thisiscool dot com
- Cc: java at gcc dot gnu dot org
- Date: Tue, 22 Jun 2004 11:32:36 +0530
- Subject: Re: MinGW Java Port Broken for Mainline
- References: <1Z5382NJNKGFKTOCAQK93IGFQPRQQK.40d6f5db@p733>
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/