Checking if your kit is complete... Looks good Writing Makefile for Win32::StrictFileNames cp lib/Win32/StrictFileNames.pm blib/lib/Win32/StrictFileNames.pm /Users/cpanrun/build/5.10.0/bin/perl /Users/cpanrun/build/5.10.0/lib/ExtUtils/xsubpp -typemap /Users/cpanrun/build/5.10.0/lib/ExtUtils/typemap StrictFileNames.xs > StrictFileNames.xsc && mv StrictFileNames.xsc StrictFileNames.c Please specify prototyping behavior for StrictFileNames.xs (see perlxs manual) gcc -c -I. -fno-common -DPERL_DARWIN -no-cpp-precomp -arch ppc -arch i386 -nostdinc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc -isystem/Developer/SDKs/MacOSX10.4u.sdk/usr/include -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks -mmacosx-version-min=10.3 -DPRIVLIB_LAST_IN_INC -fno-strict-aliasing -pipe -O3 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" "-I/Users/cpanrun/build/5.10.0/lib/CORE" StrictFileNames.c StrictFileNames.xs:7:21:StrictFileNames.xs:7:21: error: error: windows.h: No such file or directorywindows.h: No such file or directory StrictFileNames.xs:8:22: StrictFileNames.xs:8:22:error: ImageHlp.h: No such file or directoryerror: ImageHlp.h: No such file or directory StrictFileNames.xs:9:22: StrictFileNames.xs:9:22:error: tlhelp32.h: No such file or directoryerror: tlhelp32.h: No such file or directory StrictFileNames.xs:33: error: parse error before 'hDllInstance' StrictFileNames.xs:33: error: parse error before 'hDllInstance' StrictFileNames.xs:33: warning: data definition has no type or storage class StrictFileNames.xs:33: warning: data definition has no type or storage class StrictFileNames.xs:34: error: parse error before 'bWarn' StrictFileNames.xs:34: error: parse error before 'bWarn' StrictFileNames.xs:34: warning: data definition has no type or storage class StrictFileNames.xs:34: warning: data definition has no type or storage class StrictFileNames.xs:49: error: parse error before 'HookAPIOneMod' StrictFileNames.xs:49: error: parse error before 'HookAPIOneMod' StrictFileNames.xs:50: error: parse error before 'hFromModule' StrictFileNames.xs:50: error: parse error before 'hFromModule' StrictFileNames.xs: In function 'HookAPIOneMod':StrictFileNames.xs: In function 'HookAPIOneMod': StrictFileNames.xs:56: error: 'PROC' undeclared (first use in this function)StrictFileNames.xs:56: error: 'PROC' undeclared (first use in this function) StrictFileNames.xs:56: error: (Each undeclared identifier is reported only onceStrictFileNames.xs:56: error: (Each undeclared identifier is reported only once StrictFileNames.xs:56: error: for each function it appears in.)StrictFileNames.xs:56: error: for each function it appears in.) StrictFileNames.xs:56: error: parse error before 'pfnOldFunction'StrictFileNames.xs:56: error: parse error before 'pfnOldFunction' StrictFileNames.xs:57: error: 'PIMAGE_DOS_HEADER' undeclared (first use in this function)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: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: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:60: error: 'PIMAGE_THUNK_DATA' undeclared (first use in this function) StrictFileNames.xs:63: error: 'pfnNewFunction' 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: 'pfnOldFunction' undeclared (first use in this function)StrictFileNames.xs:69: error: 'pszFunctionModule' 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: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: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:83: error: 'IMAGE_DOS_SIGNATURE' undeclared (first use in this function) StrictFileNames.xs:89: error: 'pNTHeader' 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:89: error: 'DWORD' undeclared (first use in this function)StrictFileNames.xs:110: error: parse error before 'pNTHeader' 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: 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:103: error: 'pImportDesc' undeclared (first use in this 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:103: error: 'IMAGE_DIRECTORY_ENTRY_IMPORT' undeclared (first use in this function) StrictFileNames.xs:129: warning: data definition has no type or storage class StrictFileNames.xs:110: error: parse error before 'pNTHeader'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: 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:164: error: parse error before '&' tokenStrictFileNames.xs:129: error: 'pImportDesc' undeclared here (not in a function) StrictFileNames.xs:129: warning: data definition has no type or storage classStrictFileNames.xs:164: error: parse error before '&' token StrictFileNames.xs:133: error: parse error before 'while' StrictFileNames.xs:180: error: parse error before 'pszFunctionModule' StrictFileNames.xs:137: warning: data definition has no type or storage class StrictFileNames.xs:140: error: parse error before '&' token StrictFileNames.xs: In function 'HookAPIAllMod': StrictFileNames.xs:185: error: 'HANDLE' undeclared (first use in this function) StrictFileNames.xs:142: error: request for member 'Protect' in something not a structure or unionStrictFileNames.xs:185: error: parse error before 'hModuleSnap' StrictFileNames.xs:142: warning: data definition has no type or storage class StrictFileNames.xs:186: error: 'MODULEENTRY32' undeclared (first use in this function) StrictFileNames.xs:144: error: parse error before '&=' token 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:164: error: parse error before '&' token StrictFileNames.xs:164: error: parse error before '&' tokenStrictFileNames.xs:198: error: 'me' undeclared (first use in this function) StrictFileNames.xs:201: error: 'fOk' undeclared (first use in this function) StrictFileNames.xs:180: error: parse error before 'pszFunctionModule' StrictFileNames.xs: In function 'HookAPIAllMod': StrictFileNames.xs:206: error: 'pszFunctionModule' undeclared (first use in this function)StrictFileNames.xs:185: error: 'HANDLE' undeclared (first use in this function) StrictFileNames.xs:206: error: 'pszOldFunctionName' undeclared (first use in this function)StrictFileNames.xs:185: error: parse error before 'hModuleSnap' StrictFileNames.xs:206: error: 'pfnNewFunction' undeclared (first use in this function) 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: At top level: StrictFileNames.xs:225: error: parse error before 'CaseFileNameOk' StrictFileNames.xs:201: error: 'fOk' undeclared (first use in this function) StrictFileNames.xs: In function 'CaseFileNameOk': StrictFileNames.xs:227: error: 'TCHAR' undeclared (first use in this function) StrictFileNames.xs:206: error: 'pszFunctionModule' undeclared (first use in this function)StrictFileNames.xs:227: error: parse error before 'LongPath' StrictFileNames.xs:206: error: 'pszOldFunctionName' undeclared (first use in this function) StrictFileNames.xs:230: error: 'pF' undeclared (first use in this function)StrictFileNames.xs:206: error: 'pfnNewFunction' 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: At top level: StrictFileNames.xs:225: error: parse error before 'CaseFileNameOk' StrictFileNames.xs:242: error: parse error before ')' token 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: At top level:StrictFileNames.xs:322: error: 'INVALID_HANDLE_VALUE' undeclared (first use in this function) StrictFileNames.xs:306: error: parse error before 'WINAPI' StrictFileNames.xs:323: error: 'ERROR_FILE_NOT_FOUND' undeclared (first use in this function) StrictFileNames.xs:308: error: parse error before 'lpFileName' StrictFileNames.xs: In function 'My_CreateFileA':StrictFileNames.xs: At top level: StrictFileNames.xs:317: error: 'HANDLE' undeclared (first use in this function)StrictFileNames.xs:334: error: parse error before 'My_stati64' StrictFileNames.xs:317: error: parse error before 'hFile' StrictFileNames.xs:319: error: 'hFile' undeclared (first use in this function) StrictFileNames.xs:334: warning: 'struct _stati64' declared inside parameter list StrictFileNames.xs:319: error: 'lpFileName' undeclared (first use in this function) StrictFileNames.xs:334: warning: its scope is only this definition or declaration, which is probably not what you want StrictFileNames.xs:319: error: 'dwDesiredAccess' undeclared (first use in this function) StrictFileNames.xs:319: error: 'dwShareMode' undeclared (first use in this function)StrictFileNames.xs: In function 'My_stati64': StrictFileNames.xs:319: error: 'lpSecurityAttributes' undeclared (first use in this function)StrictFileNames.xs:336: error: '__int64' undeclared (first use in this function) StrictFileNames.xs:319: error: 'dwCreationDisposition' undeclared (first use in this function)StrictFileNames.xs:336: error: parse error before 'status' StrictFileNames.xs:319: error: 'dwFlagsAndAttributes' undeclared (first use in this function)StrictFileNames.xs:338: error: 'status' 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: At top level: StrictFileNames.xs:334: error: parse error before 'My_stati64'StrictFileNames.xs:355: warning: 'struct _stat' declared inside parameter list 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: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: At top level: StrictFileNames.xs:381: error: 'lpFileName' undeclared (first use in this function)StrictFileNames.xs:355: warning: 'struct _stat' declared inside parameter list 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: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: At top level: StrictFileNames.xs:455: error: 'bResult' undeclared (first use in this function) StrictFileNames.xs:440: error: parse error before 'WINAPI' StrictFileNames.xs:455: error: 'PROC' undeclared (first use in this function)StrictFileNames.xs:440: error: parse error before 'hInstance' StrictFileNames.xs:455: error: parse error before 'My_CreateFileA' StrictFileNames.xs:458: error: parse error before 'My_GetFileAttributesA'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:463: error: parse error before 'My_stati64' StrictFileNames.xs:464: error: parse error before 'My_stat' StrictFileNames.xs:450: error: 'dwReason' undeclared (first use in this function) StrictFileNames.xs:465: error: parse error before 'My_rmdir' StrictFileNames.xs:452: error: 'DLL_PROCESS_ATTACH' undeclared (first use in this function) StrictFileNames.xs:466: error: parse error before 'My_chdir'StrictFileNames.xs:453: error: 'hInstance' undeclared (first use in this function) StrictFileNames.xs:455: error: 'bResult' undeclared (first use in this function) StrictFileNames.xs:471: error: 'DLL_PROCESS_DETACH' 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) lipo: can't open input file: /var/tmp//ccARstRw.out (No such file or directory) make: *** [StrictFileNames.o] Error 1