On Sun, Sep 4, 2011 at 4:13 PM, Martin Helm <mar...@mhelm.de> wrote:
>> pkg load java
>> java_invoke ('java.lang.System', 'getProperty', 'octave.java.path')
>> ans =
>> C:\Octave\3.2.4_gcc-4.4.0\libexec\octave\packages\java-1.2.7\i686-pc-mingw
>> 32-api-v37
>
> Sorry, I pressed  send too early. This path really contains the oct file
>
> dir  
> C:\Octave\3.2.4_gcc-4.4.0\libexec\octave\packages\java-1.2.7\i686-pc-mingw32-api-v37
> .             ..            PKG_ADD       PKG_DEL       __java__.oct

OK, so everything looks fine. It really seems the __java__.oct does not
export the expected symbol names. Looking on the web, I found this
link 
(http://osgeo-org.1803224.n2.nabble.com/Building-GDAL-JNI-bindings-using-MinGW-td2030871.html)
which mentions that you need to use the --kill-at linker flag with MinGW.
This makes sense with what that flag is doing (http://linux.die.net/man/1/ld)
and is in sync with the link you reported on the MinGW site.

So the bottom line is: the java package is miscompiled. The Makefile or
configure script should probably be adapted to handle MinGW specific
case.

Michael.

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to