on 02-16-2008 8:19 PM
Hi,
I've installed the pre-compiled sapnwrfc-0.08 on perl 5.8.8 build 822. I retrieved and unpacked NWRFC_1-2007217. When I try to run the test scripts I get
Can't load 'C:/Perl/site/lib/auto/SAPNW/Connection/Connection.dll' for module SAPNW::Connection: load_file:This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem at
:/Perl/lib/DynaLoader.pm line 229.
at C:/Perl/site/lib/sapnwrfc.pm line 11
Compilation failed in require at C:/Perl/site/lib/sapnwrfc.pm line 11.
BEGIN failed--compilation aborted at C:/Perl/site/lib/sapnwrfc.pm line 11.
Compilation failed in require at 01conn.t line 4.
BEGIN failed--compilation aborted at 01conn.t line 4.
I have run Dependency Walker against it and resolved everything but MPR.dll which appears to be present in Windows\system32.
Any thoughts on where to go from here?
Thanks,
Russ
Hi,
I had the same issue on the same system
I tried this solution :
- I copied a *.lib in Perl/Lib/Core (you habe a possility to found this lib in Visual Studi (exemple of path C:\Program Files\Microsoft Visual Studio 9.0\VC\lib)
- I put my new folder NWRFCSDK in the same directory of sapnwrfc-016
- and then i compil Make.PL with this command
perl Makefile.PL --source /nwrfcsdk --addlibs --embed-manifest
In my case it's works fine.
I hope that help you
Best regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
While building the same module i am getting following error:
C:\SAP\sapnwrfc-0.24>nmake
Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.
"D:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe" -f Makef
ile all -nologo
cl -c -I"C:\nwrfcsdk\include" -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DW
IN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX
-MD -Zi -DNDEBUG -O1 -DVERSION=\"0.24\" -DXS_VERSION=\"0.24\" "-IC:\Perl\li
b\CORE" -DWIN32 -D_CONSOLE -DUNICODE -D_UNICODE -DSAPwithUNICODE -DSAPonNT -D
SAP_PLATFORM_MAKENAME=ntintel Connection.c
Connection.c
Connection.xs(1002) : warning C4018: '<' : signed/unsigned mismatch
Connection.xs(2964) : warning C4018: '<' : signed/unsigned mismatch
Running Mkbootstrap for SAPNW::Connection ()
C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 Connection.bs
C:\Perl\bin\perl.exe -MExtUtils::Mksymlists -e "Mksymlists('NAME'=>\"SA
PNW::Connection\", 'DLBASE' => 'Connection', 'DL_FUNCS' => { }, 'FUNCLIST' => [
], 'IMPORTS' => { }, 'DL_VARS' => []);"
link -out:..\..\blib\arch\auto\SAPNW\Connection\Connection.dll -dll -nol
ogo -nodefaultlib -debug -opt:ref,icf -libpath:"C:\Perl\lib\CORE" -machine:x86
Connection.obj C:\Perl\lib\CORE\perl58.lib C:\nwrfcsdk\lib\sapnwrfc.lib C:\nw
rfcsdk\lib\libsapucum.lib C:\Perl\lib\CORE\oldnames.lib C:\Perl\lib\CORE\msvcrt.
lib -def:Connection.def
Creating library ..\..\blib\arch\auto\SAPNW\Connection\Connection.lib and obj
ect ..\..\blib\arch\auto\SAPNW\Connection\Connection.exp
msvcrt.lib(crtdll.obj) : error LNK2019: unresolved external symbol __imp__Interl
ockedExchange@8 referenced in function __CRT_INIT@12
msvcrt.lib(crtdll.obj) : error LNK2019: unresolved external symbol __imp__Sleep@
4 referenced in function __CRT_INIT@12
msvcrt.lib(crtdll.obj) : error LNK2019: unresolved external symbol __imp__Interl
ockedCompareExchange@12 referenced in function __CRT_INIT@12
msvcrt.lib(gs_report.obj) : error LNK2019: unresolved external symbol __imp__Ter
minateProcess@8 referenced in function ___report_gsfailure
msvcrt.lib(gs_report.obj) : error LNK2019: unresolved external symbol __imp__Get
CurrentProcess@0 referenced in function ___report_gsfailure
msvcrt.lib(gs_report.obj) : error LNK2019: unresolved external symbol __imp__Unh
andledExceptionFilter@4 referenced in function ___report_gsfailure
msvcrt.lib(gs_report.obj) : error LNK2019: unresolved external symbol __imp__Set
UnhandledExceptionFilter@4 referenced in function ___report_gsfailure
msvcrt.lib(gs_report.obj) : error LNK2019: unresolved external symbol __imp__IsD
ebuggerPresent@0 referenced in function ___report_gsfailure
msvcrt.lib(dllmain.obj) : error LNK2019: unresolved external symbol __imp__Disab
leThreadLibraryCalls@4 referenced in function _DllMain@12
msvcrt.lib(gs_support.obj) : error LNK2019: unresolved external symbol __imp__Qu
eryPerformanceCounter@4 referenced in function ___security_init_cookie
msvcrt.lib(gs_support.obj) : error LNK2019: unresolved external symbol __imp__Ge
tTickCount@0 referenced in function ___security_init_cookie
msvcrt.lib(gs_support.obj) : error LNK2019: unresolved external symbol __imp__Ge
tCurrentThreadId@0 referenced in function ___security_init_cookie
msvcrt.lib(gs_support.obj) : error LNK2019: unresolved external symbol __imp__Ge
tCurrentProcessId@0 referenced in function ___security_init_cookie
msvcrt.lib(gs_support.obj) : error LNK2019: unresolved external symbol __imp__Ge
tSystemTimeAsFileTime@4 referenced in function ___security_init_cookie
..\..\blib\arch\auto\SAPNW\Connection\Connection.dll : fatal error LNK1120: 14 u
nresolved externals
NMAKE : fatal error U1077: '"D:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
\link.EXE"' : return code '0x460'
Stop.
NMAKE : fatal error U1077: '"D:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
\nmake.exe"' : return code '0x2'
Stop.
Any idea how to resolve this issue?
Thanks,
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.