From: <cha...@ya...> - 2004-03-30 09:32:59
|
Hi, Thanks for your help. we think that io.dll,socket.dll etc has to be rebuilt for the wince4.20 x86 platform for running perl modules on perlCE. But it seems that the makefile.ce does not build those files. (Pls see our modified makefile attached below.) We need the source file & makefile for cosscompiling io.dll,socket.dll,cwd.dll etc for porting perlce to WinCE 4.20 x86 platform to run perl modules. Can anyone please help us on this ? We are stuck with the error message -- "cann't load io.dll" (126 -ERROR_MOD_NOT_FOUND) although the specified dll is in specified path. The other error is "cann't load cwd.dll" (193 - ERROR_BAD_EXE_FORMAT). We also found from the debug log of platform builder that "DoImport Failed! Unable to import Library 'WINSOCKM.dll' for 'IO.dll' " but there is no file named winsockm.dll !! Another error coming in platform builder debug log is -- " ERROR: function @ Ordinal 8934 missing in Module 'coredll.dll' " Can you please tell us where we are going wrong. Thanks and Regards, Anirban Dhiman --- Eruhim Watman <wa...@sp...> wrote: > DLL's are not compatible between WinCE and WinXP. > > For example, font files (TTF) are compatible but > executables are not. > > you must build them properly during common > cross-compilation process > and go. > > Could you please share your resulting makefile BTW? > > Best regards, > Vadim. > > avn> Dear Sir, > avn> We have built perl for windows CE .NET 4.20 on > x86 . > avn> and have ported the perl.exe and dll and > executed simple > avn> perl scripts successfully. > avn> We have copied Perl library files(.pm,.pl, .dll > etc) to Windows CE target since we need to run perl > modules also. > > avn> However while running perl modules We are > facing the following problems . > > avn> On executing our perl module code in the target > we are getting the following error. > > avn> "Can't load './auto/IO/IO.dll' for module IO: > TCS1 load_file:Error at DynaLoader.pm line 72. > avn> at IO/Handle.pm line 260 > > avn> Compilation failed in require at IO/Handle.pm > line 260. > avn> BEGIN failed--compilation aborted at > IO/Handle.pm line 260. > avn> Compilation failed in require at IO/Socket.pm > line 11. > avn> BEGIN failed--compilation aborted at > IO/Socket.pm line 11. > avn> Compilation failed in require at HTTP/Daemon.pm > line 10. > avn> BEGIN failed--compilation aborted at > HTTP/Daemon.pm line 10. > avn> Compilation failed in require at > SOAP/Transport/HTTP.pm line 360." > > avn> We copied IO.dll from perl library of winXP to > the specified > avn> path in target CE but it did not work out. > avn> We also tried the io.dll fom the precompiled > avn> distribution available in perlCE souceforge > site but ended up with the same error > > avn> We found the root cause : in cewin32.c (source > file for celib.dll ) > avn> LoadLibraryW call inside XCELoadLibraryA > returns null. > avn> we think windows CE fails to recognise the dll > copied from winXP perl. > avn> But from the readme.ce it seems that the same > xs dlls like cwd.dll,IO.dll, > avn> socket.dll are to be copied from perl library > of winXP to the specified > avn> path in target CE. > avn> are we going wrong ? or are we to build the > IO.dll etc for target platform ? > avn> We did not find the source from which we can > build these dlls for target platform. > > avn> We are stuck at this problem for quite some > time now . Can you pls help us in this ? > > avn> Thank you for giving your precious time. > > avn> Regards > avn> Anirban Gomes > > ________________________________________________________________________ Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more. Go to: http://in.insurance.yahoo.com/licspecial/index.html |