Checking if your kit is complete... Looks good Writing Makefile for Win32::StrictFileNames cp lib/Win32/StrictFileNames.pm blib/lib/Win32/StrictFileNames.pm /home/cpanrun/ia64-lp64/build/5.6.1/bin/perl -I/home/cpanrun/ia64-lp64/build/5.6.1/lib/5.6.1/IA64.ARCHREV_0-thread-multi-64all -I/home/cpanrun/ia64-lp64/build/5.6.1/lib/5.6.1 /home/cpanrun/ia64-lp64/build/5.6.1/lib/5.6.1/ExtUtils/xsubpp -typemap /home/cpanrun/ia64-lp64/build/5.6.1/lib/5.6.1/ExtUtils/typemap StrictFileNames.xs > StrictFileNames.xsc && mv StrictFileNames.xsc StrictFileNames.c Please specify prototyping behavior for StrictFileNames.xs (see perlxs manual) gcc -c -I. -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -mlp64 -L/lib/hpux64 -DUINT32_MAX_BROKEN -fPIC -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC -I/home/cpanrun/ia64-lp64/build/5.6.1/lib/5.6.1/IA64.ARCHREV_0-thread-multi-64all/CORE StrictFileNames.c StrictFileNames.xs:7:21: windows.h: No such file or directory StrictFileNames.xs:8:22: ImageHlp.h: No such file or directory StrictFileNames.xs:9:22: tlhelp32.h: No such file or directory StrictFileNames.xs:33: error: parse error before "hDllInstance" StrictFileNames.xs:33: warning: data definition has no type or storage class StrictFileNames.xs:34: error: parse error before "bWarn" StrictFileNames.xs:34: warning: data definition has no type or storage class StrictFileNames.xs:49: error: parse error before "HookAPIOneMod" StrictFileNames.xs:50: error: parse error before "hFromModule" StrictFileNames.xs: In function `HookAPIOneMod': StrictFileNames.xs:56: error: `PROC' undeclared (first use in this function) StrictFileNames.xs:56: error: (Each undeclared identifier is reported only once StrictFileNames.xs:56: error: for each function it appears in.) StrictFileNames.xs:56: error: parse error before "pfnOldFunction" StrictFileNames.xs:57: error: `PIMAGE_DOS_HEADER' undeclared (first use in this function) StrictFileNames.xs:58: error: `PIMAGE_NT_HEADERS' undeclared (first use in this function) StrictFileNames.xs:59: error: `PIMAGE_IMPORT_DESCRIPTOR' undeclared (first use in this function) StrictFileNames.xs:60: error: `PIMAGE_THUNK_DATA' undeclared (first use in this function) StrictFileNames.xs:63: error: `pfnNewFunction' undeclared (first use in this function) StrictFileNames.xs:69: error: `pfnOldFunction' undeclared (first use in this function) StrictFileNames.xs:69: error: `pszFunctionModule' undeclared (first use in this function) StrictFileNames.xs:70: error: `pszOldFunctionName' undeclared (first use in this function) StrictFileNames.xs:78: error: `pDosHeader' undeclared (first use in this function) StrictFileNames.xs:78: error: parse error before "hFromModule" StrictFileNames.xs:79: error: `IMAGE_DOS_HEADER' undeclared (first use in this function) StrictFileNames.xs:83: error: `IMAGE_DOS_SIGNATURE' undeclared (first use in this function) StrictFileNames.xs:89: error: `pNTHeader' undeclared (first use in this function) StrictFileNames.xs:89: error: `DWORD' undeclared (first use in this function) StrictFileNames.xs:92: error: `IMAGE_NT_HEADERS' undeclared (first use in this function) StrictFileNames.xs:96: error: `IMAGE_NT_SIGNATURE' undeclared (first use in this function) StrictFileNames.xs:103: error: `pImportDesc' undeclared (first use in this function) StrictFileNames.xs:103: error: `IMAGE_DIRECTORY_ENTRY_IMPORT' undeclared (first use in this function) StrictFileNames.xs:110: error: parse error before "pNTHeader" StrictFileNames.xs: At top level: StrictFileNames.xs:129: error: `PIMAGE_THUNK_DATA' undeclared here (not in a function) StrictFileNames.xs:129: error: `DWORD' undeclared here (not in a function) StrictFileNames.xs:129: error: `pDosHeader' undeclared here (not in a function) StrictFileNames.xs:129: error: `pImportDesc' undeclared here (not in a function) StrictFileNames.xs:129: warning: data definition has no type or storage class StrictFileNames.xs:133: error: parse error before "while" StrictFileNames.xs:137: warning: data definition has no type or storage class StrictFileNames.xs:140: error: parse error before '&' token StrictFileNames.xs:142: error: request for member `Protect' in something not a structure or union StrictFileNames.xs:142: warning: data definition has no type or storage class StrictFileNames.xs:144: error: parse error before '&=' token StrictFileNames.xs:164: error: parse error before '&' token StrictFileNames.xs:164: error: parse error before '&' token StrictFileNames.xs:180: error: parse error before "pszFunctionModule" StrictFileNames.xs: In function `HookAPIAllMod': StrictFileNames.xs:185: error: `HANDLE' undeclared (first use in this function) StrictFileNames.xs:185: error: parse error before "hModuleSnap" StrictFileNames.xs:186: error: `MODULEENTRY32' undeclared (first use in this function) StrictFileNames.xs:187: error: `BOOL' undeclared (first use in this function) StrictFileNames.xs:190: error: `hModuleSnap' undeclared (first use in this function) StrictFileNames.xs:190: error: `TH32CS_SNAPMODULE' undeclared (first use in this function) StrictFileNames.xs:198: error: `me' undeclared (first use in this function) StrictFileNames.xs:201: error: `fOk' undeclared (first use in this function) StrictFileNames.xs:206: error: `pszFunctionModule' undeclared (first use in this function) StrictFileNames.xs:206: error: `pszOldFunctionName' undeclared (first use in this function) StrictFileNames.xs:206: error: `pfnNewFunction' undeclared (first use in this function) StrictFileNames.xs: At top level: StrictFileNames.xs:225: error: parse error before "CaseFileNameOk" StrictFileNames.xs: In function `CaseFileNameOk': StrictFileNames.xs:227: error: `TCHAR' undeclared (first use in this function) StrictFileNames.xs:227: error: parse error before "LongPath" StrictFileNames.xs:230: error: `pF' undeclared (first use in this function) StrictFileNames.xs:230: error: `pL' undeclared (first use in this function) StrictFileNames.xs:230: error: `pS' undeclared (first use in this function) StrictFileNames.xs:230: error: `pM' undeclared (first use in this function) StrictFileNames.xs:233: error: `len' undeclared (first use in this function) StrictFileNames.xs:233: error: `ShortPath' undeclared (first use in this function) StrictFileNames.xs:233: error: `MAX_PATH' undeclared (first use in this function) StrictFileNames.xs:234: error: `LongPath' undeclared (first use in this function) StrictFileNames.xs:242: error: parse error before ')' token StrictFileNames.xs: At top level: StrictFileNames.xs:306: error: parse error before "WINAPI" StrictFileNames.xs:308: error: parse error before "lpFileName" StrictFileNames.xs: In function `My_CreateFileA': StrictFileNames.xs:317: error: `HANDLE' undeclared (first use in this function) StrictFileNames.xs:317: error: parse error before "hFile" StrictFileNames.xs:319: error: `hFile' undeclared (first use in this function) StrictFileNames.xs:319: error: `lpFileName' undeclared (first use in this function) StrictFileNames.xs:319: error: `dwDesiredAccess' undeclared (first use in this function) StrictFileNames.xs:319: error: `dwShareMode' undeclared (first use in this function) StrictFileNames.xs:319: error: `lpSecurityAttributes' undeclared (first use in this function) StrictFileNames.xs:319: error: `dwCreationDisposition' undeclared (first use in this function) StrictFileNames.xs:319: error: `dwFlagsAndAttributes' undeclared (first use in this function) StrictFileNames.xs:319: error: `hTemplateFile' undeclared (first use in this function) StrictFileNames.xs:322: error: `INVALID_HANDLE_VALUE' undeclared (first use in this function) StrictFileNames.xs:323: error: `ERROR_FILE_NOT_FOUND' undeclared (first use in this function) StrictFileNames.xs: At top level: StrictFileNames.xs:334: error: parse error before "My_stati64" StrictFileNames.xs:334: warning: "struct _stati64" declared inside parameter list StrictFileNames.xs:334: warning: its scope is only this definition or declaration, which is probably not what you want StrictFileNames.xs: In function `My_stati64': StrictFileNames.xs:336: error: `__int64' undeclared (first use in this function) StrictFileNames.xs:336: error: parse error before "status" StrictFileNames.xs:338: error: `status' undeclared (first use in this function) StrictFileNames.xs: At top level: StrictFileNames.xs:355: warning: "struct _stat" declared inside parameter list StrictFileNames.xs:377: error: parse error before "WINAPI" StrictFileNames.xs:378: error: parse error before "lpFileName" StrictFileNames.xs: In function `My_GetFileAttributesA': StrictFileNames.xs:380: error: parse error before "result" StrictFileNames.xs:381: error: `lpFileName' undeclared (first use in this function) StrictFileNames.xs:382: error: `result' undeclared (first use in this function) StrictFileNames.xs:385: error: `ERROR_FILE_NOT_FOUND' undeclared (first use in this function) StrictFileNames.xs: At top level: StrictFileNames.xs:440: error: parse error before "WINAPI" StrictFileNames.xs:440: error: parse error before "hInstance" StrictFileNames.xs: In function `DllMain': StrictFileNames.xs:442: error: `BOOL' undeclared (first use in this function) StrictFileNames.xs:442: error: parse error before "bResult" StrictFileNames.xs:450: error: `dwReason' undeclared (first use in this function) StrictFileNames.xs:452: error: `DLL_PROCESS_ATTACH' undeclared (first use in this function) StrictFileNames.xs:453: error: `hInstance' undeclared (first use in this function) StrictFileNames.xs:455: error: `bResult' undeclared (first use in this function) StrictFileNames.xs:455: error: `PROC' undeclared (first use in this function) StrictFileNames.xs:455: error: parse error before "My_CreateFileA" StrictFileNames.xs:458: error: parse error before "My_GetFileAttributesA" StrictFileNames.xs:463: error: parse error before "My_stati64" StrictFileNames.xs:464: error: parse error before "My_stat" StrictFileNames.xs:465: error: parse error before "My_rmdir" StrictFileNames.xs:466: error: parse error before "My_chdir" StrictFileNames.xs:471: error: `DLL_PROCESS_DETACH' undeclared (first use in this function) make: *** [StrictFileNames.o] Error 1