----- Original Message ----- From: "selva ganapathy" <ganapathy_se...@yahoo.com>
To: <inline@perl.org>; "Sisyphus" <sisyph...@optusnet.com.au>
Sent: Monday, June 14, 2010 11:51 PM
Subject: Re: Issue with installing Inline::Java


Hi Rob,
Thanks for the input. Yes it should be dmake and when I tried with that I am getting some there issues.
Do you have any idea on this ?

After perl makefile.pl ( I have selected option for JNIextension, PerlNatives extension and PerlInterpreter extension
(here I got warning as Note (probably harmless): No library found for -ljvm
Note (probably harmless): No library found for -ljvm)

=================================

If the jvm library is in fact needed, then its absence will *not* be harmless - and you'll end up getting unresolved references in relation to the symbols resolved by that library. Do you have such a library anywhere in your jdk installation ? (Either jvm or libjvm - with either a .a or .lib extension ?)

Anyway, that's not the problem we're up against at the moment. We need to fix these errors:

PerlNatives.c:271: error: syntax error before "void"
PerlNatives.c:272: error: syntax error before "const"
PerlNatives.c:274: error: syntax error before "void"
PerlNatives.c:275: error: syntax error before "const"

Can you post lines 270 to 275 of  PerlNatives.c.

Also what does 'gcc -v' output, and what does 'perl -v' output.

I don't actually use or build Inline::Java - but we'll see what we can do.

Cheers,
Rob

Reply via email to