Am Sonntag, 4. September 2011, 13:51:58 schrieb Martin Helm:
> Am Samstag, 3. September 2011, 23:14:10 schrieb Michael Goffioul:
> > On Sat, Sep 3, 2011 at 9:08 PM, Philip Nienhuis <pr.nienh...@hccnet.nl>
> 
> wrote:
> > > Confirmed with Octave-3.4.2_MinGW (Tatsuro's build) with Java-1.2.8
> > > package.
> > > 
> > >>                According to Martin Helm the code runs fine on linux
> > >>                and
> > >> 
> > >> he suspects it has to do with the java package build for windows.
> > > 
> > > Considering Java's claim and fame for platform-independence, Martin
> > > Helm has a point there.
> > > 
> > >> Can anybody help me out with this?
> > > 
> > > Hopefully the Java package maintainer?
> > 
> > Works fine for me in my MSVC-compiled version. It may mean that the java
> > package hasn't been built properly. The first thing I'd check is the
> > symbols that
> > are exported by __java__.oct. You can use the dependency walker tool for
> > that (see http://www.dependencywalker.com/). There should be a symbol
> > called _Java_org_octave_Octave_call@20
> > 
> > Michael.
> 
> Looking into __java__.oct with the dependency walker (the file lives in the
> libexec\octave\packages\java-1.2.7\i686-pc-mingw32-api-v37 subfolder of
> octave), I can see the function
> 
> Java_org_octave_Octave_call@20
> 
> without a leading underscore. Any ideas how to proceed (my windows
> development skills are incredibly rusty, it is about a decade ago I had to
> do serious native development on windows platforms).
> 
> <snip>

Just a very wild guess, since I remembered that last time I built something on 
windows which needed to be called by JNI, there were some special command line 
switches which had to be set when using mingw
http://www.mingw.org/node/41
I cannot look deeper into that today but hope I find the time during the next 
few days.

------------------------------------------------------------------------------
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