in reply to Perl_croak_xs_usage problem
If you have dumpbin.exe on your system, and you run it against the module named in the very first error message:
Can't load 'C:/Perl/lib/auto/IO/IO.dll' for module IO: load_file: The specified procedure could not be found at C:/Perl/lib/XSLoader.pm +line 70.
You'll find that it attempts to import this entrypoint (amongst many others), from perl510.dll:
C:\test>dumpbin /imports \perl64\lib\auto\IO\IO.dll Microsoft (R) COFF/PE Dumper Version 7.00.9466 Copyright (C) Microsoft Corporation. All rights reserved. Dump of file \perl64\lib\auto\IO\IO.dll File Type: DLL Section contains the following imports: perl510.dll ... 42E Perl_sv_newmortal 21C Perl_croak_xs_usage 8F PerlIO_tmpfile ...
And if you dump the exports from perl510.dll, you should see it there:
C:\test>dumpbin /exports \perl64\bin\perl510.dll | find "usage" 541 21C 00035690 Perl_croak_xs_usage
For it not to be found in the DLL (you'd get a different error if the DLL wasn't found), suggests that the entrypoint is either:
Unlikely if this is a AS install.
Again unlikely as IO.dll comes with the AS distribution.
My guess is that one or other (or both) of those two DLLs is being embedded in your .par and being found instead of those in your current AS distribution.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl_croak_xs_usage problem
by markuhs (Scribe) on Oct 01, 2009 at 15:44 UTC | |
by BrowserUk (Patriarch) on Oct 01, 2009 at 17:10 UTC | |
by Anonymous Monk on Oct 01, 2009 at 20:13 UTC | |
by BrowserUk (Patriarch) on Oct 01, 2009 at 21:00 UTC | |
by markuhs (Scribe) on Oct 02, 2009 at 06:07 UTC | |
| |
by Anonymous Monk on Oct 01, 2009 at 17:03 UTC |