MinGW Java Port Broken for Mainline

Ranjit Mathew rmathew@gmail.com
Tue Jun 22 07:29:00 GMT 2004


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/


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /