----- Original Message ----- From: "Nicholas Clark" <n...@ccl4.org>

The errors are consistent with not including (at least) perl.h
Or the *right* perl.h


Yikes ... an xs file that doesn't '#include "perl.h"' !!
Hard to envisage that would work anywhere.

Adding the following at the very top of PerlNatives.xs fixes this problem:

#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"

and Inline-Java-0.52 (along with PerlNatives) then builds fine for me. How about for you selva ?

Annoyingly, the PerlNatives test script bails out before running any of the 5 scheduled tests. The error message I'm getting is:

t/02_perl_natives.t .. Unexpected exception of type 'java.lang.UnsatisfiedLinkError': RegisterMethod at C:\_32\comp\Inline-Java-0.52\blib\lib/Inline/Java/Object.pm line 49

Something to look at tomorrow .... thanks Nicholas.

Cheers,
Rob

Reply via email to