Selva123 has asked for the wisdom of the Perl Monks concerning the following question:
PATH varaible appended with C:\Program Files\Java\jdk1.6.0_20\jre\bin\server C:\Program Files\Java\jdk1.6.0_20\jre\lib\deploy\jqs\ie C:\Program Files\Java\jdk1.6.0_20\jre\bin Inline::java version -Inline-Java-0.52 perl -v This is perl, v5.8.9 built for MSWin32-x86-multi-thread gcc version 3.4.5 (mingw-vista special r3)
while dmake, I am getting error with C:\Perl\site\lib\Inline-Java-0.52\Java\PerlNatives\PerlNatives.c as follows ----------------------------------------- Error part alone given ----------------------------------------Thx in adavnce. As I am plannng for a demo on JAVA+PERL, this help willbe much usefulcp Callback.pod ..\blib\lib\Inline\Java\Callback.pod cp JVM.pm ..\blib\lib\Inline\Java\JVM.pm cp sources\org\perl\inline\java/InlineJavaPerlCaller.java ..\blib\lib\ +Inline\Jav a\sources\org\perl\inline\java\InlineJavaPerlCaller.java cp Object.pm ..\blib\lib\Inline\Java\Object.pm cp Callback.pm ..\blib\lib\Inline\Java\Callback.pm cp sources\org\perl\inline\java/InlineJavaHandle.java ..\blib\lib\Inli +ne\Java\so urces\org\perl\inline\java\InlineJavaHandle.java cp sources\org\perl\inline\java/InlineJavaUtils.java ..\blib\lib\Inlin +e\Java\sou rces\org\perl\inline\java\InlineJavaUtils.java cp JNI.pm ..\blib\lib\Inline\Java\JNI.pm cp PerlNatives.pm ..\..\blib\lib\Inline\Java\PerlNatives.pm cp PerlNatives.pod ..\..\blib\lib\Inline\Java\PerlNatives.pod C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils\xsubpp -typemap C:\Perl\lib +\ExtUtils\ typemap PerlNatives.xs > PerlNatives.xsc && C:\Perl\bin\perl.exe -MEx +tUtils::Co mmand -e mv PerlNatives.xsc PerlNatives.c C:/Perl/site/bin/gcc.exe -c "-IC:\Program Files\Java\jdk1.6.0_20\incl +ude" "-IC: \Program Files\Java\jdk1.6.0_20\include\win32" -DNDEBUG -DWIN32 -D_CO +NSOLE -DNO _STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPRIVLIB +_LAST_IN_I NC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSV +CRT_READFI X -DHASATTRIBUTE -fno-strict-aliasing -mms-bitfields -O2 -DVE +RSION=\"0. 52\" -DXS_VERSION=\"0.52\" "-IC:\Perl\lib\CORE" PerlNatives.c 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" PerlNatives.c: In function `S_croak_xs_usage': PerlNatives.c:277: error: syntax error before '*' token PerlNatives.c:279: error: `cv' undeclared (first use in this fu PerlNatives.c:279: error: (Each undeclared identifier is report PerlNatives.c:279: error: for each function it appears in.) PerlNatives.c:279: error: `params' undeclared (first use in thi PerlNatives.c:281: error: `gv' undeclared (first use in this fu PerlNatives.c:282: warning: initialization makes pointer from i cast PerlNatives.c:283: error: syntax error before '*' token PerlNatives.c:284: error: `stash' undeclared (first use in this PerlNatives.c:287: error: `aTHX_' undeclared (first use in this PerlNatives.c:287: error: syntax error before string constant PerlNatives.c:287: error: syntax error before ')' token PerlNatives.c:292: error: syntax error before string constant dmake.exe: Error code 129, while making 'PerlNatives.o' dmake.exe: Error code 255, while making 'subdirs' dmake.exe: Error code 255, while making 'subdirs'
|
|---|