Checking if your kit is complete... Looks good Writing Makefile for Win32API::File cp cFile.pc blib/arch/Win32API/File/cFile.pc cp File.pm blib/lib/Win32API/File.pm /Users/cpanrun/pristine/5.8.7/bin/perl /Users/cpanrun/pristine/5.8.7/lib/5.8.7/ExtUtils/xsubpp -typemap /Users/cpanrun/pristine/5.8.7/lib/5.8.7/ExtUtils/typemap -typemap typemap File.xs > File.xsc && mv File.xsc File.c gcc -c -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 -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -fno-strict-aliasing -pipe -O3 -DVERSION=\"0.1001\" -DXS_VERSION=\"0.1001\" "-I/Users/cpanrun/pristine/5.8.7/lib/5.8.7/darwin-thread-multi-2level/CORE" File.c File.xs:17:21: error: windows.h: No such file or directory File.xs:18:22: error: winioctl.h: No such file or directory File.xs:17:21: error: windows.h: No such file or directory File.xs:18:22: error: winioctl.h: No such file or directory File.xs:79: error: parse error before 'uLastFileErr'File.xs:79: error: parse error before 'uLastFileErr' File.xs:79: warning: data definition has no type or storage class File.xs:82: error: parse error before 'bFailed' File.xs:79: warning: data definition has no type or storage classFile.xs: In function 'SaveErr': File.xs:84: error: 'bFailed' undeclared (first use in this function) File.xs:82: error: parse error before 'bFailed'File.xs:84: error: (Each undeclared identifier is reported only once File.xs:84: error: for each function it appears in.) File.xs: In function 'SaveErr': File.xs:84: error: 'bFailed' undeclared (first use in this function) File.xs:84: error: (Each undeclared identifier is reported only once File.xs:84: error: for each function it appears in.) File.c: In function 'XS_Win32API__File__fileLastError': File.c:112: error: 'DWORD' undeclared (first use in this function) File.c:112: error: parse error before 'uError' File.c:113: error: 'LONG' undeclared (first use in this function) File.c:116: error: 'uError' undeclared (first use in this function) File.c: In function 'XS_Win32API__File__fileLastError': File.c:112: error: 'DWORD' undeclared (first use in this function) File.c:112: error: parse error before 'uError' File.c:113: error: 'LONG' undeclared (first use in this function) File.c:116: error: 'uError' undeclared (first use in this function) File.c:118: error: parse error before numeric constant File.c:118: error: parse error before numeric constant File.xs:101: error: 'RETVAL' undeclared (first use in this function) File.xs:101: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_CloseHandle': File.c:142: error: 'HANDLE' undeclared (first use in this function) File.c:142: error: parse error before 'hObject' File.c:143: error: 'BOOL' undeclared (first use in this function) File.c:145: error: 'hObject' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_CloseHandle': File.c:142: error: 'HANDLE' undeclared (first use in this function) File.c:142: error: parse error before 'hObject' File.c:143: error: 'BOOL' undeclared (first use in this function) File.c:145: error: 'hObject' undeclared (first use in this function) File.c:145: error: parse error before numeric constant File.xs:110: error: 'RETVAL' undeclared (first use in this function) File.c:145: error: parse error before numeric constant File.xs:110: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_CopyFileA': File.c:173: error: 'BOOL' undeclared (first use in this function) File.c:173: error: parse error before 'bFailIfExists' File.c: In function 'XS_Win32API__File_CopyFileA': File.c:173: error: 'BOOL' undeclared (first use in this function) File.c:173: error: parse error before 'bFailIfExists' File.c:186: error: 'bFailIfExists' undeclared (first use in this function) File.c:186: error: 'bFailIfExists' undeclared (first use in this function) File.c:186: error: parse error before numeric constant File.xs:122: error: 'RETVAL' undeclared (first use in this function) File.c:186: error: parse error before numeric constant File.xs:122: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_CopyFileW': File.c:212: error: 'WCHAR' undeclared (first use in this function) File.c:212: error: 'swOldFileName' undeclared (first use in this function) File.c:213: error: 'swNewFileName' undeclared (first use in this function) File.c:214: error: 'BOOL' undeclared (first use in this function) File.c:214: error: parse error before 'bFailIfExists' File.c:220: error: parse error before ')' token File.c: In function 'XS_Win32API__File_CopyFileW': File.c:212: error: 'WCHAR' undeclared (first use in this function) File.c:212: error: 'swOldFileName' undeclared (first use in this function) File.c:213: error: 'swNewFileName' undeclared (first use in this function) File.c:214: error: 'BOOL' undeclared (first use in this function) File.c:225: error: parse error before ')' tokenFile.c:214: error: parse error before 'bFailIfExists' File.c:220: error: parse error before ')' token File.c:227: error: 'bFailIfExists' undeclared (first use in this function) File.c:225: error: parse error before ')' token File.c:227: error: parse error before numeric constant File.c:227: error: 'bFailIfExists' undeclared (first use in this function) File.xs:134: error: 'RETVAL' undeclared (first use in this function) File.c:227: error: parse error before numeric constant File.xs:134: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_CreateFileA': File.c:254: error: 'DWORD' undeclared (first use in this function) File.c:254: error: parse error before 'uAccess' File.c:257: error: parse error before 'uCreate' File.c:259: error: 'HANDLE' undeclared (first use in this function) File.c:267: error: 'uAccess' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_CreateFileA': File.c:254: error: 'DWORD' undeclared (first use in this function) File.c:254: error: parse error before 'uAccess' File.c:257: error: parse error before 'uCreate' File.c:259: error: 'HANDLE' undeclared (first use in this function)File.c:267: error: parse error before numeric constant File.c:269: error: 'uShare' undeclared (first use in this function) File.c:269: error: parse error before numeric constant File.c:276: error: 'uCreate' undeclared (first use in this function) File.c:276: error: parse error before numeric constant File.c:278: error: 'uFlags' undeclared (first use in this function) File.c:278: error: parse error before numeric constant File.c:280: error: 'hModel' undeclared (first use in this function) File.c:280: error: parse error before numeric constant File.xs:150: error: 'RETVAL' undeclared (first use in this function) File.xs:152: error: 'INVALID_HANDLE_VALUE' undeclared (first use in this function) File.c:267: error: 'uAccess' undeclared (first use in this function) File.c:267: error: parse error before numeric constant File.c:269: error: 'uShare' undeclared (first use in this function) File.c:269: error: parse error before numeric constant File.c:276: error: 'uCreate' undeclared (first use in this function) File.c:276: error: parse error before numeric constant File.c:278: error: 'uFlags' undeclared (first use in this function) File.c:278: error: parse error before numeric constant File.c:280: error: 'hModel' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_CreateFileW': File.c:306: error: 'WCHAR' undeclared (first use in this function) File.c:280: error: parse error before numeric constantFile.c:306: error: 'swPath' undeclared (first use in this function) File.c:307: error: 'DWORD' undeclared (first use in this function) File.c:307: error: parse error before 'uAccess' File.c:310: error: parse error before 'uCreate' File.c:312: error: 'HANDLE' undeclared (first use in this function) File.xs:150: error: 'RETVAL' undeclared (first use in this function) File.xs:152: error: 'INVALID_HANDLE_VALUE' undeclared (first use in this function) File.c:318: error: parse error before ')' token File.c:320: error: 'uAccess' undeclared (first use in this function) File.c:320: error: parse error before numeric constant File.c:322: error: 'uShare' undeclared (first use in this function) File.c:322: error: parse error before numeric constant File.c:329: error: 'uCreate' undeclared (first use in this function) File.c:329: error: parse error before numeric constant File.c:331: error: 'uFlags' undeclared (first use in this function) File.c:331: error: parse error before numeric constant File.c: In function 'XS_Win32API__File_CreateFileW': File.c:333: error: 'hModel' undeclared (first use in this function) File.c:306: error: 'WCHAR' undeclared (first use in this function) File.c:306: error: 'swPath' undeclared (first use in this function) File.c:307: error: 'DWORD' undeclared (first use in this function) File.c:307: error: parse error before 'uAccess' File.c:310: error: parse error before 'uCreate' File.c:312: error: 'HANDLE' undeclared (first use in this function) File.c:333: error: parse error before numeric constant File.xs:172: error: 'RETVAL' undeclared (first use in this function) File.xs:174: error: 'INVALID_HANDLE_VALUE' undeclared (first use in this function) File.c:318: error: parse error before ')' token File.c:320: error: 'uAccess' undeclared (first use in this function) File.c:320: error: parse error before numeric constant File.c:322: error: 'uShare' undeclared (first use in this function) File.c:322: error: parse error before numeric constant File.c:329: error: 'uCreate' undeclared (first use in this function) File.c:329: error: parse error before numeric constant File.c:331: error: 'uFlags' undeclared (first use in this function) File.c:331: error: parse error before numeric constant File.c:333: error: 'hModel' undeclared (first use in this function) File.c:333: error: parse error before numeric constant File.c: In function 'XS_Win32API__File_DefineDosDeviceA':File.xs:172: error: 'RETVAL' undeclared (first use in this function) File.c:359: error: 'DWORD' undeclared (first use in this function) File.c:359: error: parse error before 'uFlags' File.xs:174: error: 'INVALID_HANDLE_VALUE' undeclared (first use in this function) File.c:362: error: 'BOOL' undeclared (first use in this function) File.c:362: error: parse error before 'RETVAL' File.c:364: error: 'uFlags' undeclared (first use in this function) File.c:364: error: parse error before numeric constant File.xs:190: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_DefineDosDeviceA': File.c:359: error: 'DWORD' undeclared (first use in this function) File.c:359: error: parse error before 'uFlags' File.c:362: error: 'BOOL' undeclared (first use in this function) File.c:362: error: parse error before 'RETVAL' File.c:364: error: 'uFlags' undeclared (first use in this function) File.c:364: error: parse error before numeric constant File.xs:190: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_DefineDosDeviceW': File.c:400: error: 'DWORD' undeclared (first use in this function) File.c:400: error: parse error before 'uFlags' File.c:401: error: 'WCHAR' undeclared (first use in this function) File.c:401: error: 'swDosDeviceName' undeclared (first use in this function) File.c:402: error: 'swTargetPath' undeclared (first use in this function) File.c:403: error: 'BOOL' undeclared (first use in this function) File.c:403: error: parse error before 'RETVAL' File.c:405: error: 'uFlags' undeclared (first use in this function) File.c:405: error: parse error before numeric constant File.c:410: error: parse error before ')' token File.c:415: error: parse error before ')' token File.xs:202: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_DefineDosDeviceW': File.c:400: error: 'DWORD' undeclared (first use in this function) File.c:400: error: parse error before 'uFlags' File.c:401: error: 'WCHAR' undeclared (first use in this function) File.c:401: error: 'swDosDeviceName' undeclared (first use in this function) File.c:402: error: 'swTargetPath' undeclared (first use in this function) File.c:403: error: 'BOOL' undeclared (first use in this function) File.c:403: error: parse error before 'RETVAL' File.c:405: error: 'uFlags' undeclared (first use in this function) File.c:405: error: parse error before numeric constant File.c:410: error: parse error before ')' token File.c:415: error: parse error before ')' token File.xs:202: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_DeleteFileA': File.c:442: error: 'BOOL' undeclared (first use in this function) File.c:442: error: parse error before 'RETVAL' File.xs:212: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_DeleteFileA': File.c:442: error: 'BOOL' undeclared (first use in this function) File.c:442: error: parse error before 'RETVAL' File.xs:212: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_DeleteFileW': File.c:473: error: 'WCHAR' undeclared (first use in this function) File.c:473: error: 'swFileName' undeclared (first use in this function) File.c:474: error: 'BOOL' undeclared (first use in this function) File.c:474: error: parse error before 'RETVAL'File.c: In function 'XS_Win32API__File_DeleteFileW': File.c:473: error: 'WCHAR' undeclared (first use in this function) File.c:473: error: 'swFileName' undeclared (first use in this function) File.c:474: error: 'BOOL' undeclared (first use in this function) File.c:474: error: parse error before 'RETVAL' File.c:479: error: parse error before ')' token File.xs:222: error: 'RETVAL' undeclared (first use in this function) File.c:479: error: parse error before ')' token File.xs:222: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_DeviceIoControl': File.c:505: error: 'HANDLE' undeclared (first use in this function) File.c:505: error: parse error before 'hDevice' File.c:506: error: 'DWORD' undeclared (first use in this function) File.c:508: error: parse error before 'lInBuf' File.c: In function 'XS_Win32API__File_DeviceIoControl': File.c:505: error: 'HANDLE' undeclared (first use in this function) File.c:505: error: parse error before 'hDevice' File.c:506: error: 'DWORD' undeclared (first use in this function) File.c:508: error: parse error before 'lInBuf' File.c:510: error: parse error before 'lOutBuf' File.c:510: error: parse error before 'lOutBuf' File.c:513: error: 'BOOL' undeclared (first use in this function) File.c:513: error: parse error before 'RETVAL' File.c:515: error: 'hDevice' undeclared (first use in this function) File.c:515: error: parse error before numeric constant File.c:517: error: 'uIoControlCode' undeclared (first use in this function) File.c:513: error: 'BOOL' undeclared (first use in this function) File.c:513: error: parse error before 'RETVAL' File.c:515: error: 'hDevice' undeclared (first use in this function) File.c:517: error: parse error before numeric constant File.c:515: error: parse error before numeric constant File.c:517: error: 'uIoControlCode' undeclared (first use in this function) File.c:524: error: 'olRetBytes' undeclared (first use in this function) File.c:517: error: parse error before numeric constant File.c:524: error: 'olRetBytes' undeclared (first use in this function) File.xs:240: error: 'lInBuf' undeclared (first use in this function) File.xs:240: error: 'lInBuf' undeclared (first use in this function) File.xs:247: error: 'lOutBuf' undeclared (first use in this function) File.xs:248: error: 'RETVAL' undeclared (first use in this function) File.xs:247: error: 'lOutBuf' undeclared (first use in this function) File.xs:248: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_FdGetOsFHandle': File.c:571: error: 'HANDLE' undeclared (first use in this function) File.c:571: error: parse error before 'RETVAL' File.xs:261: error: 'RETVAL' undeclared (first use in this function) File.xs:261: error: parse error before 'win32_get_osfhandle' File.xs:262: error: 'INVALID_HANDLE_VALUE' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_FdGetOsFHandle': File.c:571: error: 'HANDLE' undeclared (first use in this function) File.c:571: error: parse error before 'RETVAL' File.xs:261: error: 'RETVAL' undeclared (first use in this function) File.xs:261: error: parse error before 'win32_get_osfhandle' File.xs:262: error: 'INVALID_HANDLE_VALUE' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_GetDriveTypeA': File.c:595: error: 'DWORD' undeclared (first use in this function) File.c:595: error: parse error before 'RETVAL' File.xs:271: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_GetDriveTypeA': File.c:595: error: 'DWORD' undeclared (first use in this function) File.c:595: error: parse error before 'RETVAL' File.xs:271: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_GetDriveTypeW': File.c:621: error: 'WCHAR' undeclared (first use in this function) File.c:621: error: 'swRootPath' undeclared (first use in this function) File.c:622: error: 'DWORD' undeclared (first use in this function) File.c:622: error: parse error before 'RETVAL' File.c:627: error: parse error before ')' token File.xs:281: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_GetDriveTypeW': File.c:621: error: 'WCHAR' undeclared (first use in this function) File.c:621: error: 'swRootPath' undeclared (first use in this function) File.c:622: error: 'DWORD' undeclared (first use in this function) File.c:622: error: parse error before 'RETVAL' File.c:627: error: parse error before ')' token File.xs:281: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_GetFileAttributesA': File.c:649: error: 'DWORD' undeclared (first use in this function) File.c:649: error: parse error before 'RETVAL' File.xs:291: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_GetFileAttributesA': File.c:649: error: 'DWORD' undeclared (first use in this function) File.c:649: error: parse error before 'RETVAL' File.c: In function 'XS_Win32API__File_GetFileAttributesW': File.c:675: error: 'WCHAR' undeclared (first use in this function) File.c:675: error: 'swPath' undeclared (first use in this function)File.xs:291: error: 'RETVAL' undeclared (first use in this function) File.c:676: error: 'DWORD' undeclared (first use in this function) File.c:676: error: parse error before 'RETVAL' File.c:681: error: parse error before ')' token File.xs:301: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_GetFileAttributesW': File.c:675: error: 'WCHAR' undeclared (first use in this function) File.c:675: error: 'swPath' undeclared (first use in this function) File.c:676: error: 'DWORD' undeclared (first use in this function) File.c:676: error: parse error before 'RETVAL' File.c: In function 'XS_Win32API__File_GetFileType': File.c:702: error: 'HANDLE' undeclared (first use in this function) File.c:702: error: parse error before 'hFile' File.c:703: error: 'DWORD' undeclared (first use in this function) File.c:705: error: 'hFile' undeclared (first use in this function) File.c:681: error: parse error before ')' token File.c:705: error: parse error before numeric constant File.xs:311: error: 'RETVAL' undeclared (first use in this function) File.xs:301: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_GetHandleInformation': File.c:726: error: 'HANDLE' undeclared (first use in this function) File.c:726: error: parse error before 'hObject' File.c:727: error: 'DWORD' undeclared (first use in this function) File.c:727: error: 'ouFlags' undeclared (first use in this function) File.c:728: error: 'BOOL' undeclared (first use in this function) File.c:728: error: parse error before 'RETVAL' File.c:730: error: 'hObject' undeclared (first use in this function) File.c:730: error: parse error before numeric constant File.c: In function 'XS_Win32API__File_GetFileType': File.c:702: error: 'HANDLE' undeclared (first use in this function) File.c:702: error: parse error before 'hFile' File.c:703: error: 'DWORD' undeclared (first use in this function) File.c:705: error: 'hFile' undeclared (first use in this function) File.c:735: error: parse error before ')' token File.c:705: error: parse error before numeric constant File.xs:322: error: 'RETVAL' undeclared (first use in this function) File.xs:311: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_GetHandleInformation': File.c:726: error: 'HANDLE' undeclared (first use in this function) File.c:726: error: parse error before 'hObject' File.c:727: error: 'DWORD' undeclared (first use in this function) File.c:727: error: 'ouFlags' undeclared (first use in this function) File.c:728: error: 'BOOL' undeclared (first use in this function) File.c:728: error: parse error before 'RETVAL' File.c:730: error: 'hObject' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_GetLogicalDrives': File.c:765: error: 'DWORD' undeclared (first use in this function) File.c:765: error: parse error before 'RETVAL' File.xs:332: error: 'RETVAL' undeclared (first use in this function) File.c:730: error: parse error before numeric constant File.c:735: error: parse error before ')' token File.xs:322: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_GetLogicalDriveStringsA': File.c:786: error: 'DWORD' undeclared (first use in this function) File.c:786: error: parse error before 'lBufSize' File.c:788: error: parse error before 'RETVAL' File.c: In function 'XS_Win32API__File_GetLogicalDrives': File.c:765: error: 'DWORD' undeclared (first use in this function) File.c:765: error: parse error before 'RETVAL' File.xs:332: error: 'RETVAL' undeclared (first use in this function) File.xs:343: error: 'lBufSize' undeclared (first use in this function) File.xs:344: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_GetLogicalDriveStringsA': File.c:786: error: 'DWORD' undeclared (first use in this function) File.c:786: error: parse error before 'lBufSize' File.c:788: error: parse error before 'RETVAL' File.xs:343: error: 'lBufSize' undeclared (first use in this function) File.xs:344: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_GetLogicalDriveStringsW': File.c:821: error: 'DWORD' undeclared (first use in this function) File.c:821: error: parse error before 'lwBufSize' File.c:822: error: 'WCHAR' undeclared (first use in this function) File.c:822: error: 'oswBuffer' undeclared (first use in this function) File.c:823: error: parse error before 'RETVAL' File.xs:365: error: parse error before ')' token File.xs:365: error: 'lwBufSize' undeclared (first use in this function) File.xs:366: error: 'RETVAL' undeclared (first use in this function) File.xs:369: error: parse error before ')' token File.c: In function 'XS_Win32API__File_GetLogicalDriveStringsW': File.c:821: error: 'DWORD' undeclared (first use in this function) File.c:821: error: parse error before 'lwBufSize' File.c:822: error: 'WCHAR' undeclared (first use in this function) File.c:822: error: 'oswBuffer' undeclared (first use in this function) File.c:823: error: parse error before 'RETVAL' File.xs:365: error: parse error before ')' token File.xs:365: error: 'lwBufSize' undeclared (first use in this function) File.xs:366: error: 'RETVAL' undeclared (first use in this function) File.xs:369: error: parse error before ')' token File.c: In function 'XS_Win32API__File_GetVolumeInformationA': File.c:858: error: 'DWORD' undeclared (first use in this function) File.c:858: error: parse error before 'lVolName' File.c:863: error: parse error before 'lFsType' File.c:864: error: 'BOOL' undeclared (first use in this function) File.xs:393: error: 'lVolName' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_GetVolumeInformationA': File.c:858: error: 'DWORD' undeclared (first use in this function) File.c:858: error: parse error before 'lVolName' File.xs:394: error: 'lFsType' undeclared (first use in this function) File.c:863: error: parse error before 'lFsType' File.xs:395: error: 'RETVAL' undeclared (first use in this function) File.xs:396: error: 'ouSerialNum' undeclared (first use in this function) File.xs:396: error: 'ouMaxNameLen' undeclared (first use in this function) File.xs:396: error: 'ouFsFlags' undeclared (first use in this function) File.c:864: error: 'BOOL' undeclared (first use in this function) File.xs:393: error: 'lVolName' undeclared (first use in this function) File.xs:394: error: 'lFsType' undeclared (first use in this function) File.xs:395: error: 'RETVAL' undeclared (first use in this function) File.xs:396: error: 'ouSerialNum' undeclared (first use in this function) File.xs:396: error: 'ouMaxNameLen' undeclared (first use in this function) File.xs:396: error: 'ouFsFlags' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_GetVolumeInformationW': File.c:911: error: 'WCHAR' undeclared (first use in this function) File.c:911: error: 'swRootPath' undeclared (first use in this function) File.c:912: error: 'oswVolName' undeclared (first use in this function) File.c:913: error: 'DWORD' undeclared (first use in this function) File.c:913: error: parse error before 'lwVolName' File.c:917: error: 'oswFsType' undeclared (first use in this function) File.c:918: error: parse error before 'lwFsType' File.c:919: error: 'BOOL' undeclared (first use in this function) File.c:924: error: parse error before ')' token File.c: In function 'XS_Win32API__File_GetVolumeInformationW': File.c:911: error: 'WCHAR' undeclared (first use in this function) File.c:911: error: 'swRootPath' undeclared (first use in this function) File.c:912: error: 'oswVolName' undeclared (first use in this function) File.c:913: error: 'DWORD' undeclared (first use in this function) File.c:913: error: parse error before 'lwVolName' File.xs:418: error: parse error before ')' token File.xs:418: error: 'lwVolName' undeclared (first use in this function) File.c:917: error: 'oswFsType' undeclared (first use in this function) File.c:918: error: parse error before 'lwFsType' File.c:919: error: 'BOOL' undeclared (first use in this function) File.xs:419: error: parse error before ')' token File.xs:419: error: 'lwFsType' undeclared (first use in this function) File.c:924: error: parse error before ')' token File.xs:420: error: 'RETVAL' undeclared (first use in this function) File.xs:421: error: 'ouSerialNum' undeclared (first use in this function) File.xs:421: error: 'ouMaxNameLen' undeclared (first use in this function) File.xs:421: error: 'ouFsFlags' undeclared (first use in this function) File.xs:418: error: parse error before ')' token File.xs:418: error: 'lwVolName' undeclared (first use in this function) File.xs:419: error: parse error before ')' token File.xs:419: error: 'lwFsType' undeclared (first use in this function) File.xs:420: error: 'RETVAL' undeclared (first use in this function) File.xs:421: error: 'ouSerialNum' undeclared (first use in this function) File.xs:421: error: 'ouMaxNameLen' undeclared (first use in this function) File.xs:421: error: 'ouFsFlags' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_IsRecognizedPartition': File.c:967: error: 'BOOL' undeclared (first use in this function) File.c:967: error: parse error before 'RETVAL' File.xs:436: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_IsContainerPartition': File.c:996: error: 'BOOL' undeclared (first use in this function) File.c:996: error: parse error before 'RETVAL' File.xs:446: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_IsRecognizedPartition': File.c:967: error: 'BOOL' undeclared (first use in this function) File.c:967: error: parse error before 'RETVAL' File.xs:436: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_MoveFileA': File.c:1026: error: 'BOOL' undeclared (first use in this function) File.c:1026: error: parse error before 'RETVAL' File.c: In function 'XS_Win32API__File_IsContainerPartition': File.c:996: error: 'BOOL' undeclared (first use in this function) File.c:996: error: parse error before 'RETVAL' File.xs:457: error: 'RETVAL' undeclared (first use in this function) File.xs:446: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_MoveFileA': File.c:1026: error: 'BOOL' undeclared (first use in this function) File.c:1026: error: parse error before 'RETVAL' File.c: In function 'XS_Win32API__File_MoveFileW': File.c:1062: error: 'WCHAR' undeclared (first use in this function) File.c:1062: error: 'swOldName' undeclared (first use in this function) File.c:1063: error: 'swNewName' undeclared (first use in this function) File.c:1064: error: 'BOOL' undeclared (first use in this function) File.c:1064: error: parse error before 'RETVAL' File.c:1069: error: parse error before ')' token File.xs:457: error: 'RETVAL' undeclared (first use in this function) File.c:1074: error: parse error before ')' token File.xs:468: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_MoveFileExA': File.c:1102: error: 'DWORD' undeclared (first use in this function) File.c:1102: error: parse error before 'uFlags' File.c:1103: error: 'BOOL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_MoveFileW': File.c:1062: error: 'WCHAR' undeclared (first use in this function) File.c:1062: error: 'swOldName' undeclared (first use in this function) File.c:1063: error: 'swNewName' undeclared (first use in this function) File.c:1064: error: 'BOOL' undeclared (first use in this function) File.c:1064: error: parse error before 'RETVAL' File.c:1069: error: parse error before ')' token File.c:1115: error: 'uFlags' undeclared (first use in this function) File.c:1115: error: parse error before numeric constant File.xs:480: error: 'RETVAL' undeclared (first use in this function) File.c:1074: error: parse error before ')' token File.xs:468: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_MoveFileExA': File.c:1102: error: 'DWORD' undeclared (first use in this function) File.c:1102: error: parse error before 'uFlags' File.c:1103: error: 'BOOL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_MoveFileExW': File.c:1141: error: 'WCHAR' undeclared (first use in this function) File.c:1141: error: 'swOldName' undeclared (first use in this function) File.c:1142: error: 'swNewName' undeclared (first use in this function) File.c:1143: error: 'DWORD' undeclared (first use in this function) File.c:1143: error: parse error before 'uFlags' File.c:1144: error: 'BOOL' undeclared (first use in this function) File.c:1149: error: parse error before ')' token File.c:1115: error: 'uFlags' undeclared (first use in this function) File.c:1154: error: parse error before ')' token File.c:1115: error: parse error before numeric constant File.xs:480: error: 'RETVAL' undeclared (first use in this function) File.c:1156: error: 'uFlags' undeclared (first use in this function) File.c:1156: error: parse error before numeric constant File.xs:492: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_OsFHandleOpenFd': File.c:1183: error: 'DWORD' undeclared (first use in this function) File.c:1183: error: parse error before 'uMode' File.c: In function 'XS_Win32API__File_MoveFileExW': File.c:1141: error: 'WCHAR' undeclared (first use in this function) File.c:1141: error: 'swOldName' undeclared (first use in this function) File.c:1142: error: 'swNewName' undeclared (first use in this function) File.c:1143: error: 'DWORD' undeclared (first use in this function) File.c:1143: error: parse error before 'uFlags' File.c:1144: error: 'BOOL' undeclared (first use in this function) File.c:1188: error: 'uMode' undeclared (first use in this function) File.c:1149: error: parse error before ')' token File.c:1188: error: parse error before numeric constant File.c:1154: error: parse error before ')' token File.c:1156: error: 'uFlags' undeclared (first use in this function) File.c:1156: error: parse error before numeric constant File.xs:492: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_QueryDosDeviceA': File.c:1215: error: 'DWORD' undeclared (first use in this function) File.c:1215: error: parse error before 'lTargetBuf' File.xs:520: error: 'lTargetBuf' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_OsFHandleOpenFd': File.c:1183: error: 'DWORD' undeclared (first use in this function) File.c:1183: error: parse error before 'uMode' File.c:1188: error: 'uMode' undeclared (first use in this function) File.xs:521: error: 'RETVAL' undeclared (first use in this function) File.c:1188: error: parse error before numeric constant File.c: In function 'XS_Win32API__File_QueryDosDeviceA': File.c:1215: error: 'DWORD' undeclared (first use in this function) File.c:1215: error: parse error before 'lTargetBuf' File.c: In function 'XS_Win32API__File_QueryDosDeviceW': File.c:1245: error: 'WCHAR' undeclared (first use in this function) File.c:1245: error: 'swDeviceName' undeclared (first use in this function) File.c:1246: error: 'oswTargetPath' undeclared (first use in this function) File.c:1247: error: 'DWORD' undeclared (first use in this function) File.c:1247: error: parse error before 'lwTargetBuf' File.xs:520: error: 'lTargetBuf' undeclared (first use in this function) File.c:1253: error: parse error before ')' token File.xs:521: error: 'RETVAL' undeclared (first use in this function) File.xs:534: error: parse error before ')' token File.xs:534: error: 'lwTargetBuf' undeclared (first use in this function) File.xs:535: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_QueryDosDeviceW': File.c:1245: error: 'WCHAR' undeclared (first use in this function) File.c:1245: error: 'swDeviceName' undeclared (first use in this function) File.c:1246: error: 'oswTargetPath' undeclared (first use in this function) File.c:1247: error: 'DWORD' undeclared (first use in this function) File.c:1247: error: parse error before 'lwTargetBuf' File.c:1253: error: parse error before ')' token File.c: In function 'XS_Win32API__File_ReadFile': File.c:1277: error: 'HANDLE' undeclared (first use in this function) File.c:1277: error: parse error before 'hFile' File.c:1278: error: 'BYTE' undeclared (first use in this function) File.c:1278: error: 'opBuffer' undeclared (first use in this function) File.c:1279: error: 'DWORD' undeclared (first use in this function) File.c:1279: error: parse error before 'lBytes' File.xs:534: error: parse error before ')' token File.xs:534: error: 'lwTargetBuf' undeclared (first use in this function) File.c:1282: error: 'BOOL' undeclared (first use in this function) File.c:1282: error: parse error before 'RETVAL' File.c:1284: error: 'hFile' undeclared (first use in this function) File.c:1284: error: parse error before numeric constant File.c:1286: error: 'olBytesRead' undeclared (first use in this function) File.xs:535: error: 'RETVAL' undeclared (first use in this function) File.xs:550: error: parse error before ')' token File.xs:550: error: 'lBytes' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_ReadFile': File.c:1277: error: 'HANDLE' undeclared (first use in this function) File.c:1277: error: parse error before 'hFile' File.c:1278: error: 'BYTE' undeclared (first use in this function) File.c:1278: error: 'opBuffer' undeclared (first use in this function) File.c:1279: error: 'DWORD' undeclared (first use in this function) File.c:1279: error: parse error before 'lBytes' File.c:1282: error: 'BOOL' undeclared (first use in this function) File.c:1282: error: parse error before 'RETVAL' File.c:1284: error: 'hFile' undeclared (first use in this function) File.xs:556: error: 'RETVAL' undeclared (first use in this function) File.c:1284: error: parse error before numeric constant File.c:1286: error: 'olBytesRead' undeclared (first use in this function) File.xs:550: error: parse error before ')' token File.xs:550: error: 'lBytes' undeclared (first use in this function) File.xs:556: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_GetOverlappedResult': File.c:1328: error: 'HANDLE' undeclared (first use in this function) File.c:1328: error: parse error before 'hFile' File.c:1329: error: 'LPOVERLAPPED' undeclared (first use in this function) File.c:1330: error: 'LPDWORD' undeclared (first use in this function) File.c:1331: error: 'BOOL' undeclared (first use in this function) File.c:1334: error: 'hFile' undeclared (first use in this function) File.c:1334: error: parse error before numeric constant File.c:1337: error: 'lpOverlapped' undeclared (first use in this function) File.c:1342: error: 'lpNumberOfBytesTransferred' undeclared (first use in this function) File.c:1344: error: parse error before 'Perl_sv_grow' File.c:1346: error: 'bWait' undeclared (first use in this function) File.c:1346: error: parse error before numeric constant File.xs:571: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_GetOverlappedResult': File.c:1328: error: 'HANDLE' undeclared (first use in this function) File.c:1328: error: parse error before 'hFile' File.c:1329: error: 'LPOVERLAPPED' undeclared (first use in this function) File.c:1330: error: 'LPDWORD' undeclared (first use in this function) File.c:1331: error: 'BOOL' undeclared (first use in this function) File.c:1334: error: 'hFile' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_GetFileSize': File.c:1378: error: 'HANDLE' undeclared (first use in this function) File.c:1378: error: parse error before 'hFile' File.c:1334: error: parse error before numeric constant File.c:1379: error: 'LPDWORD' undeclared (first use in this function) File.c:1380: error: 'DWORD' undeclared (first use in this function) File.c:1382: error: 'hFile' undeclared (first use in this function) File.c:1382: error: parse error before numeric constant File.c:1337: error: 'lpOverlapped' undeclared (first use in this function) File.c:1385: error: 'lpFileSizeHigh' undeclared (first use in this function) File.c:1387: error: parse error before 'Perl_sv_grow' File.xs:584: error: 'RETVAL' undeclared (first use in this function) File.xs:585: error: 'NO_ERROR' undeclared (first use in this function) File.c:1342: error: 'lpNumberOfBytesTransferred' undeclared (first use in this function) File.c:1344: error: parse error before 'Perl_sv_grow' File.c:1346: error: 'bWait' undeclared (first use in this function) File.c:1346: error: parse error before numeric constant File.xs:571: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_SetErrorMode': File.c:1411: error: 'UINT' undeclared (first use in this function) File.c:1411: error: parse error before 'uNewMode' File.c:1414: error: 'uNewMode' undeclared (first use in this function) File.c:1414: error: parse error before numeric constant File.c:1416: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_GetFileSize': File.c:1378: error: 'HANDLE' undeclared (first use in this function) File.c:1378: error: parse error before 'hFile' File.c:1379: error: 'LPDWORD' undeclared (first use in this function) File.c:1380: error: 'DWORD' undeclared (first use in this function) File.c:1382: error: 'hFile' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_SetFilePointer': File.c:1433: error: 'HANDLE' undeclared (first use in this function) File.c:1433: error: parse error before 'hFile' File.c:1434: error: 'LONG' undeclared (first use in this function) File.c:1435: error: 'ioivOffsetHigh' undeclared (first use in this function) File.c:1436: error: 'DWORD' undeclared (first use in this function) File.c:1436: error: parse error before 'uFromWhere' File.c:1439: error: 'hFile' undeclared (first use in this function) File.c:1382: error: parse error before numeric constant File.c:1439: error: parse error before numeric constant File.c:1441: error: 'ivOffset' undeclared (first use in this function) File.c:1385: error: 'lpFileSizeHigh' undeclared (first use in this function) File.c:1441: error: parse error before numeric constant File.c:1387: error: parse error before 'Perl_sv_grow' File.xs:584: error: 'RETVAL' undeclared (first use in this function) File.xs:585: error: 'NO_ERROR' undeclared (first use in this function) File.c:1446: error: parse error before ')' token File.c:1448: error: 'uFromWhere' undeclared (first use in this function) File.c:1448: error: parse error before numeric constant File.xs:602: error: 'RETVAL' undeclared (first use in this function) File.xs:603: error: 'NO_ERROR' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_SetErrorMode': File.c:1411: error: 'UINT' undeclared (first use in this function) File.c:1411: error: parse error before 'uNewMode' File.c:1414: error: 'uNewMode' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_SetHandleInformation': File.c:1476: error: 'HANDLE' undeclared (first use in this function) File.c:1476: error: parse error before 'hObject' File.c:1477: error: 'DWORD' undeclared (first use in this function) File.c:1479: error: 'BOOL' undeclared (first use in this function) File.c:1481: error: 'hObject' undeclared (first use in this function) File.c:1414: error: parse error before numeric constant File.c:1416: error: 'RETVAL' undeclared (first use in this function) File.c:1481: error: parse error before numeric constant File.c:1483: error: 'uMask' undeclared (first use in this function) File.c:1483: error: parse error before numeric constant File.c:1485: error: 'uFlags' undeclared (first use in this function) File.c:1485: error: parse error before numeric constant File.xs:621: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_SetFilePointer': File.c:1433: error: 'HANDLE' undeclared (first use in this function) File.c:1433: error: parse error before 'hFile' File.c:1434: error: 'LONG' undeclared (first use in this function) File.c:1435: error: 'ioivOffsetHigh' undeclared (first use in this function) File.c:1436: error: 'DWORD' undeclared (first use in this function) File.c:1436: error: parse error before 'uFromWhere' File.c:1439: error: 'hFile' undeclared (first use in this function) File.c:1439: error: parse error before numeric constant File.c:1441: error: 'ivOffset' undeclared (first use in this function) File.c:1441: error: parse error before numeric constant File.c:1446: error: parse error before ')' token File.c:1448: error: 'uFromWhere' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_WriteFile': File.c:1511: error: 'HANDLE' undeclared (first use in this function) File.c:1511: error: parse error before 'hFile' File.c:1512: error: 'BYTE' undeclared (first use in this function) File.c:1512: error: 'pBuffer' undeclared (first use in this function) File.c:1513: error: 'DWORD' undeclared (first use in this function) File.c:1513: error: parse error before 'lBytes' File.c:1516: error: 'BOOL' undeclared (first use in this function) File.c:1516: error: parse error before 'RETVAL' File.c:1518: error: 'hFile' undeclared (first use in this function) File.c:1518: error: parse error before numeric constant File.c:1523: error: parse error before ')' token File.c:1525: error: 'ouBytesWritten' undeclared (first use in this function) File.c:1448: error: parse error before numeric constant File.xs:602: error: 'RETVAL' undeclared (first use in this function) File.xs:603: error: 'NO_ERROR' undeclared (first use in this function) File.xs:636: error: 'lBytes' undeclared (first use in this function) File.xs:642: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_SetHandleInformation': File.c:1476: error: 'HANDLE' undeclared (first use in this function) File.c:1476: error: parse error before 'hObject' File.c:1477: error: 'DWORD' undeclared (first use in this function) File.c:1479: error: 'BOOL' undeclared (first use in this function) File.c:1481: error: 'hObject' undeclared (first use in this function) File.c:1481: error: parse error before numeric constant File.c:1483: error: 'uMask' undeclared (first use in this function) File.c:1483: error: parse error before numeric constant File.c:1485: error: 'uFlags' undeclared (first use in this function) File.c:1485: error: parse error before numeric constant File.xs:621: error: 'RETVAL' undeclared (first use in this function) File.c: In function 'XS_Win32API__File_WriteFile': File.c:1511: error: 'HANDLE' undeclared (first use in this function) File.c:1511: error: parse error before 'hFile' File.c:1512: error: 'BYTE' undeclared (first use in this function) File.c:1512: error: 'pBuffer' undeclared (first use in this function) File.c:1513: error: 'DWORD' undeclared (first use in this function) File.c:1513: error: parse error before 'lBytes' File.c:1516: error: 'BOOL' undeclared (first use in this function) File.c:1516: error: parse error before 'RETVAL' File.c:1518: error: 'hFile' undeclared (first use in this function) File.c:1518: error: parse error before numeric constant File.c:1523: error: parse error before ')' token File.c:1525: error: 'ouBytesWritten' undeclared (first use in this function) File.xs:636: error: 'lBytes' undeclared (first use in this function) File.xs:642: error: 'RETVAL' undeclared (first use in this function) lipo: can't open input file: /var/tmp//ccKu7VAU.out (No such file or directory) make: *** [File.o] Error 1