> 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.
I have tried this solution (added the -Wl,--kill,-at to the $(MKOCTFILE) in
the Makefile) with Octave-3.4.2 Mingw and I am getting two different issues
on an XP-SP# and on a Win7-x64 systems:
On the XP-SP3, it seems that it solved the symbols exporting problem and I
am getting no errors, however, when the line:
a = jd.setVisible(1);
in test_java.m is executed, it doesn't return for some reason until I close
the slider (I don't know whether this is the expected behavior). When I move
the slider and than close it, it seems that the figure is updated.
On the Win7-x64, for some reason I can't get my system to recognize the JRE.
When the line:
java_invoke ("org.octave.ClassHelper", "addClassPath", new_path);
is executed in by javaaddpath, the following error is printed:
error: unable to find Java Runtime Environment: software\javasoft\java
runtime environment::Currentversion
On this system I have installed x64 version of JDK-1.7.0, and I have both
public JRE in my c:\Program Files\Java\jre7 and private JRE in the
jdk1.7.0\jre folder.
I am getting the same behavior on the Win7-x64 system with Octave-3.2.4 and
java pkg as built and released by Benjamin Lindner.
Any idea what cause these problems ?
------------------------------------------------------------------------------
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