From: <an...@vs...> - 2004-03-25 12:58:48
|
Dear Sir, We have built perl for windows CE .NET 4.20 on x86 . and have ported the perl.exe and dll and executed simple perl scripts successfully. We have copied Perl library files(.pm,.pl, .dll etc) to Windows CE target since we need to run perl modules also. However while running perl modules We are facing the following problems . On executing our perl module code in the target we are getting the following error. "Can't load './auto/IO/IO.dll' for module IO: TCS1 load_file:Error at DynaLoader.pm line 72. at IO/Handle.pm line 260 Compilation failed in require at IO/Handle.pm line 260. BEGIN failed--compilation aborted at IO/Handle.pm line 260. Compilation failed in require at IO/Socket.pm line 11. BEGIN failed--compilation aborted at IO/Socket.pm line 11. Compilation failed in require at HTTP/Daemon.pm line 10. BEGIN failed--compilation aborted at HTTP/Daemon.pm line 10. Compilation failed in require at SOAP/Transport/HTTP.pm line 360." We copied IO.dll from perl library of winXP to the specified path in target CE but it did not work out. We also tried the io.dll fom the precompiled distribution available in perlCE souceforge site but ended up with the same error We found the root cause : in cewin32.c (source file for celib.dll ) LoadLibraryW call inside XCELoadLibraryA returns null. we think windows CE fails to recognise the dll copied from winXP perl. But from the readme.ce it seems that the same xs dlls like cwd.dll,IO.dll, socket.dll are to be copied from perl library of winXP to the specified path in target CE. are we going wrong ? or are we to build the IO.dll etc for target platform ? We did not find the source from which we can build these dlls for target platform. We are stuck at this problem for quite some time now . Can you pls help us in this ? Thank you for giving your precious time. Regards Anirban Gomes |