the INSTALL file is says ,
nmake
nmake test
nmake install
nmake completes successfully.
nmake test fails miserably
nmake install gives following error:
nmake -f Makefile all -nologo
dlltool --def JNI.def --output-exp dll.exp
g++ -o ..\blib\arch\auto\Inline\Java\JNI\JNI.dll -Wl,--base-file -Wl,dll
.base -mdll -L"D:\SoftwareInstallFolder\Perl5.10\lib\CORE" JNI.o -Wl,--image-bas
e,0x2e220000 D:\SoftwareInstallFolder\Perl5.10\lib\CORE\perl510.lib D:\Software
InstallFolder\Dev-Cpp\lib\libkernel32.a D:\SoftwareInstallFolder\Dev-Cpp\lib\lib
user32.a D:\SoftwareInstallFolder\Dev-Cpp\lib\libgdi32.a D:\SoftwareInstallFolde
r\Dev-Cpp\lib\libwinspool.a D:\SoftwareInstallFolder\Dev-Cpp\lib\libcomdlg32.a D
:\SoftwareInstallFolder\Dev-Cpp\lib\libadvapi32.a D:\SoftwareInstallFolder\Dev-C
pp\lib\libshell32.a D:\SoftwareInstallFolder\Dev-Cpp\lib\libole32.a D:\SoftwareI
nstallFolder\Dev-Cpp\lib\liboleaut32.a D:\SoftwareInstallFolder\Dev-Cpp\lib\libn
etapi32.a D:\SoftwareInstallFolder\Dev-Cpp\lib\libuuid.a D:\SoftwareInstallFolde
r\Dev-Cpp\lib\libws2_32.a D:\SoftwareInstallFolder\Dev-Cpp\lib\libmpr.a D:\Softw
areInstallFolder\Dev-Cpp\lib\libwinmm.a D:\SoftwareInstallFolder\Dev-Cpp\lib\lib
version.a D:\SoftwareInstallFolder\Dev-Cpp\lib\libodbc32.a D:\SoftwareInstallFol
der\Dev-Cpp\lib\libodbccp32.a D:\SoftwareInstallFolder\Dev-Cpp\lib\libmsvcrt.a d
ll.exp
JNI.o(.text+0x9ef):JNI.c: undefined reference to `_imp__JNI_GetCreatedJavaVMs@12
'
JNI.o(.text+0xd66):JNI.c: undefined reference to `_imp__JNI_CreateJavaVM@12'
collect2: ld returned 1 exit status
NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0x1'
Stop.
NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0x2'
Stop.
I found that
Inline::Java is only useful when you embed your perl code into java source file.
In my case, there are already written perl scripts and i need to call modules from those scripts through java.
Is there any way to do that?
Thanks..