Checking if your kit is complete... Looks good Writing Makefile for Win32::Console::ANSI cp lib/Win32/Console/ANSI.pm blib/lib/Win32/Console/ANSI.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 -typemap typemap ANSI.xs > ANSI.xsc && mv ANSI.xsc ANSI.c 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=\"1.00\" -DXS_VERSION=\"1.00\" "-I/Users/cpanrun/build/5.10.0/lib/CORE" ANSI.c ANSI.xs:7:21: error: windows.h: No such file or directory ANSI.xs:7:21: error: windows.h: No such file or directory ANSI.xs:8:22: error: ImageHlp.h: No such file or directory ANSI.xs:8:22: error: ImageHlp.h: No such file or directory ANSI.xs:9:22: error: tlhelp32.h: No such file or directory ANSI.xs:9:22: error: tlhelp32.h: No such file or directory ANSI.xs:33: error: parse error before 'hDllInstance' ANSI.xs:33: warning: data definition has no type or storage class ANSI.xs:33: error: parse error before 'hDllInstance'ANSI.xs:34: error: parse error before 'hConOut' ANSI.xs:34: warning: data definition has no type or storage class ANSI.xs:33: warning: data definition has no type or storage classANSI.xs:35: error: parse error before 'bIsWin9x' ANSI.xs:34: error: parse error before 'hConOut'ANSI.xs:35: warning: data definition has no type or storage class ANSI.xs:34: warning: data definition has no type or storage class ANSI.xs:35: error: parse error before 'bIsWin9x' ANSI.xs:35: warning: data definition has no type or storage class ANSI.xs:57: error: parse error before 'foregroundcolor' ANSI.xs:59: error: 'FOREGROUND_RED' undeclared here (not in a function) ANSI.xs:57: error: parse error before 'foregroundcolor' ANSI.xs:60: error: 'FOREGROUND_GREEN' undeclared here (not in a function) ANSI.xs:62: error: 'FOREGROUND_BLUE' undeclared here (not in a function) ANSI.xs:59: error: 'FOREGROUND_RED' undeclared here (not in a function) ANSI.xs:60: error: 'FOREGROUND_GREEN' undeclared here (not in a function)ANSI.xs:66: warning: data definition has no type or storage class ANSI.xs:62: error: 'FOREGROUND_BLUE' undeclared here (not in a function)ANSI.xs:68: error: parse error before 'backgroundcolor' ANSI.xs:70: error: 'BACKGROUND_RED' undeclared here (not in a function) ANSI.xs:66: warning: data definition has no type or storage classANSI.xs:71: error: 'BACKGROUND_GREEN' undeclared here (not in a function) ANSI.xs:68: error: parse error before 'backgroundcolor'ANSI.xs:73: error: 'BACKGROUND_BLUE' undeclared here (not in a function) ANSI.xs:77: warning: data definition has no type or storage class ANSI.xs:70: error: 'BACKGROUND_RED' undeclared here (not in a function)ANSI.xs:80: error: parse error before 'foreground' ANSI.xs:71: error: 'BACKGROUND_GREEN' undeclared here (not in a function) ANSI.xs:80: warning: data definition has no type or storage class ANSI.xs:73: error: 'BACKGROUND_BLUE' undeclared here (not in a function)ANSI.xs:81: error: parse error before 'background' ANSI.xs:81: warning: data definition has no type or storage classANSI.xs:77: warning: data definition has no type or storage class ANSI.xs:82: error: parse error before 'bold'ANSI.xs:80: error: parse error before 'foreground' ANSI.xs:80: warning: data definition has no type or storage class ANSI.xs:82: warning: data definition has no type or storage class ANSI.xs:81: error: parse error before 'background' ANSI.xs:83: error: parse error before 'underline' ANSI.xs:81: warning: data definition has no type or storage class ANSI.xs:83: warning: data definition has no type or storage class ANSI.xs:82: error: parse error before 'bold' ANSI.xs:84: error: parse error before 'rvideo' ANSI.xs:82: warning: data definition has no type or storage class ANSI.xs:84: warning: data definition has no type or storage class ANSI.xs:83: error: parse error before 'underline' ANSI.xs:85: error: parse error before 'concealed' ANSI.xs:83: warning: data definition has no type or storage class ANSI.xs:84: error: parse error before 'rvideo'ANSI.xs:85: warning: data definition has no type or storage class ANSI.xs:86: error: parse error before 'conversion_enabled'ANSI.xs:84: warning: data definition has no type or storage class ANSI.xs:86: warning: data definition has no type or storage classANSI.xs:85: error: parse error before 'concealed' ANSI.xs:87: error: parse error before 'Cp_In' ANSI.xs:85: warning: data definition has no type or storage class ANSI.xs:87: error: 'CP_ACP' undeclared here (not in a function)ANSI.xs:86: error: parse error before 'conversion_enabled' ANSI.xs:87: warning: data definition has no type or storage class ANSI.xs:88: error: parse error before 'Cp_Out' ANSI.xs:86: warning: data definition has no type or storage class ANSI.xs:88: error: 'CP_OEMCP' undeclared here (not in a function) ANSI.xs:87: error: parse error before 'Cp_In' ANSI.xs:88: warning: data definition has no type or storage class ANSI.xs:87: error: 'CP_ACP' undeclared here (not in a function)ANSI.xs:89: error: parse error before 'SaveCP' ANSI.xs:87: warning: data definition has no type or storage classANSI.xs:89: warning: data definition has no type or storage class ANSI.xs:88: error: parse error before 'Cp_Out'ANSI.xs:92: error: parse error before 'SavePos' ANSI.xs:88: error: 'CP_OEMCP' undeclared here (not in a function) ANSI.xs:88: warning: data definition has no type or storage class ANSI.xs:89: error: parse error before 'SaveCP' ANSI.xs:89: warning: data definition has no type or storage class ANSI.xs:92: warning: excess elements in scalar initializer ANSI.xs:92: error: parse error before 'SavePos' ANSI.xs:92: warning: (near initialization for 'SavePos') ANSI.xs:92: warning: data definition has no type or storage class ANSI.xs:92: warning: excess elements in scalar initializer ANSI.xs:109: error: parse error before 'HookAPIOneMod'ANSI.xs:92: warning: (near initialization for 'SavePos') ANSI.xs:110: error: parse error before 'hFromModule'ANSI.xs:92: warning: data definition has no type or storage class ANSI.xs:109: error: parse error before 'HookAPIOneMod' ANSI.xs:110: error: parse error before 'hFromModule' ANSI.xs: In function 'HookAPIOneMod': ANSI.xs:116: error: 'PROC' undeclared (first use in this function) ANSI.xs:116: error: (Each undeclared identifier is reported only once ANSI.xs: In function 'HookAPIOneMod':ANSI.xs:116: error: for each function it appears in.) ANSI.xs:116: error: 'PROC' undeclared (first use in this function)ANSI.xs:116: error: parse error before 'pfnOldFunction' ANSI.xs:116: error: (Each undeclared identifier is reported only once ANSI.xs:117: error: 'PIMAGE_DOS_HEADER' undeclared (first use in this function) ANSI.xs:116: error: for each function it appears in.) ANSI.xs:118: error: 'PIMAGE_NT_HEADERS' undeclared (first use in this function)ANSI.xs:116: error: parse error before 'pfnOldFunction' ANSI.xs:119: error: 'PIMAGE_IMPORT_DESCRIPTOR' undeclared (first use in this function)ANSI.xs:117: error: 'PIMAGE_DOS_HEADER' undeclared (first use in this function) ANSI.xs:120: error: 'PIMAGE_THUNK_DATA' undeclared (first use in this function)ANSI.xs:118: error: 'PIMAGE_NT_HEADERS' undeclared (first use in this function) ANSI.xs:119: error: 'PIMAGE_IMPORT_DESCRIPTOR' undeclared (first use in this function) ANSI.xs:120: error: 'PIMAGE_THUNK_DATA' undeclared (first use in this function)ANSI.xs:123: error: 'pfnNewFunction' undeclared (first use in this function) ANSI.xs:123: error: 'pfnNewFunction' undeclared (first use in this function) ANSI.xs:129: error: 'pfnOldFunction' undeclared (first use in this function)ANSI.xs:129: error: 'pfnOldFunction' undeclared (first use in this function) ANSI.xs:129: error: 'pszFunctionModule' undeclared (first use in this function) ANSI.xs:129: error: 'pszFunctionModule' undeclared (first use in this function) ANSI.xs:130: error: 'pszOldFunctionName' undeclared (first use in this function) ANSI.xs:130: error: 'pszOldFunctionName' undeclared (first use in this function) ANSI.xs:138: error: 'pDosHeader' undeclared (first use in this function) ANSI.xs:138: error: 'pDosHeader' undeclared (first use in this function)ANSI.xs:138: error: parse error before 'hFromModule' ANSI.xs:138: error: parse error before 'hFromModule' ANSI.xs:139: error: 'IMAGE_DOS_HEADER' undeclared (first use in this function) ANSI.xs:139: error: 'IMAGE_DOS_HEADER' undeclared (first use in this function) ANSI.xs:143: error: 'IMAGE_DOS_SIGNATURE' undeclared (first use in this function) ANSI.xs:143: error: 'IMAGE_DOS_SIGNATURE' undeclared (first use in this function) ANSI.xs:149: error: 'pNTHeader' undeclared (first use in this function) ANSI.xs:149: error: 'DWORD' undeclared (first use in this function)ANSI.xs:149: error: 'pNTHeader' undeclared (first use in this function) ANSI.xs:152: error: 'IMAGE_NT_HEADERS' undeclared (first use in this function)ANSI.xs:149: error: 'DWORD' undeclared (first use in this function) ANSI.xs:152: error: 'IMAGE_NT_HEADERS' undeclared (first use in this function) ANSI.xs:156: error: 'IMAGE_NT_SIGNATURE' undeclared (first use in this function) ANSI.xs:156: error: 'IMAGE_NT_SIGNATURE' undeclared (first use in this function) ANSI.xs:163: error: 'pImportDesc' undeclared (first use in this function) ANSI.xs:163: error: 'pImportDesc' undeclared (first use in this function) ANSI.xs:163: error: 'IMAGE_DIRECTORY_ENTRY_IMPORT' undeclared (first use in this function) ANSI.xs:163: error: 'IMAGE_DIRECTORY_ENTRY_IMPORT' undeclared (first use in this function) ANSI.xs:170: error: parse error before 'pNTHeader' ANSI.xs:170: error: parse error before 'pNTHeader' ANSI.xs: At top level: ANSI.xs:189: error: 'PIMAGE_THUNK_DATA' undeclared here (not in a function) ANSI.xs:189: error: 'DWORD' undeclared here (not in a function)ANSI.xs: At top level: ANSI.xs:189: error: 'pDosHeader' undeclared here (not in a function)ANSI.xs:189: error: 'PIMAGE_THUNK_DATA' undeclared here (not in a function) ANSI.xs:189: error: 'pImportDesc' undeclared here (not in a function)ANSI.xs:189: error: 'DWORD' undeclared here (not in a function) ANSI.xs:189: error: 'pDosHeader' undeclared here (not in a function)ANSI.xs:189: warning: data definition has no type or storage class ANSI.xs:189: error: 'pImportDesc' undeclared here (not in a function)ANSI.xs:193: error: parse error before 'while' ANSI.xs:189: warning: data definition has no type or storage class ANSI.xs:197: warning: data definition has no type or storage classANSI.xs:193: error: parse error before 'while' ANSI.xs:200: error: parse error before '&' token ANSI.xs:197: warning: data definition has no type or storage classANSI.xs:202: error: request for member 'Protect' in something not a structure or union ANSI.xs:200: error: parse error before '&' tokenANSI.xs:202: warning: data definition has no type or storage class ANSI.xs:204: error: parse error before '&=' token ANSI.xs:202: error: request for member 'Protect' in something not a structure or union ANSI.xs:209: error: parse error before '&' tokenANSI.xs:202: warning: data definition has no type or storage class ANSI.xs:204: error: parse error before '&=' token ANSI.xs:209: error: parse error before '&' token ANSI.xs:209: error: parse error before '&' token ANSI.xs:209: error: parse error before '&' token ANSI.xs:221: error: parse error before '&' token ANSI.xs:221: error: parse error before '&' tokenANSI.xs:221: error: parse error before '&' token ANSI.xs:221: error: parse error before '&' tokenANSI.xs:237: error: parse error before 'pszFunctionModule' ANSI.xs:237: error: parse error before 'pszFunctionModule' ANSI.xs: In function 'HookAPIAllMod': ANSI.xs:242: error: 'HANDLE' undeclared (first use in this function) ANSI.xs:242: error: parse error before 'hModuleSnap'ANSI.xs: In function 'HookAPIAllMod': ANSI.xs:242: error: 'HANDLE' undeclared (first use in this function)ANSI.xs:243: error: 'MODULEENTRY32' undeclared (first use in this function) ANSI.xs:242: error: parse error before 'hModuleSnap' ANSI.xs:244: error: 'BOOL' undeclared (first use in this function) ANSI.xs:243: error: 'MODULEENTRY32' undeclared (first use in this function)ANSI.xs:247: error: 'hModuleSnap' undeclared (first use in this function) ANSI.xs:244: error: 'BOOL' undeclared (first use in this function)ANSI.xs:247: error: 'TH32CS_SNAPMODULE' undeclared (first use in this function) ANSI.xs:247: error: 'hModuleSnap' undeclared (first use in this function) ANSI.xs:247: error: 'TH32CS_SNAPMODULE' undeclared (first use in this function) ANSI.xs:255: error: 'me' undeclared (first use in this function) ANSI.xs:258: error: 'fOk' undeclared (first use in this function) ANSI.xs:255: error: 'me' undeclared (first use in this function) ANSI.xs:263: error: 'pszFunctionModule' undeclared (first use in this function)ANSI.xs:258: error: 'fOk' undeclared (first use in this function) ANSI.xs:263: error: 'pszOldFunctionName' undeclared (first use in this function) ANSI.xs:263: error: 'pfnNewFunction' undeclared (first use in this function) ANSI.xs:263: error: 'pszFunctionModule' undeclared (first use in this function) ANSI.xs:263: error: 'pszOldFunctionName' undeclared (first use in this function) ANSI.xs:263: error: 'pfnNewFunction' undeclared (first use in this function) ANSI.xs: At top level: ANSI.xs:280: error: parse error before 'WcBuffer' ANSI.xs:280: warning: data definition has no type or storage class ANSI.xs: In function 'FlushBuffer':ANSI.xs: At top level: ANSI.xs:289: error: parse error before 'nWritten'ANSI.xs:280: error: parse error before 'WcBuffer' ANSI.xs:280: warning: data definition has no type or storage class ANSI.xs: In function 'FlushBuffer': ANSI.xs:289: error: parse error before 'nWritten' ANSI.xs:295: error: 'nWritten' undeclared (first use in this function) ANSI.xs:295: error: 'nWritten' undeclared (first use in this function) ANSI.xs: In function 'InterpretEscSeq': ANSI.xs:332: error: 'WORD' undeclared (first use in this function) ANSI.xs:332: error: parse error before 'attribut' ANSI.xs:333: error: 'CONSOLE_SCREEN_BUFFER_INFO' undeclared (first use in this function) ANSI.xs:335: error: 'COORD' undeclared (first use in this function) ANSI.xs:336: error: 'SMALL_RECT' undeclared (first use in this function) ANSI.xs:337: error: 'CHAR_INFO' undeclared (first use in this function) ANSI.xs: In function 'InterpretEscSeq': ANSI.xs:332: error: 'WORD' undeclared (first use in this function) ANSI.xs:340: error: 'Info' undeclared (first use in this function)ANSI.xs:332: error: parse error before 'attribut' ANSI.xs:333: error: 'CONSOLE_SCREEN_BUFFER_INFO' undeclared (first use in this function) ANSI.xs:335: error: 'COORD' undeclared (first use in this function) ANSI.xs:336: error: 'SMALL_RECT' undeclared (first use in this function) ANSI.xs:337: error: 'CHAR_INFO' undeclared (first use in this function) ANSI.xs:340: error: 'Info' undeclared (first use in this function) ANSI.xs:382: error: 'attribut' undeclared (first use in this function) ANSI.xs:384: error: 'FOREGROUND_INTENSITY' undeclared (first use in this function) ANSI.xs:385: error: 'BACKGROUND_INTENSITY' undeclared (first use in this function)ANSI.xs:382: error: 'attribut' undeclared (first use in this function) ANSI.xs:384: error: 'FOREGROUND_INTENSITY' undeclared (first use in this function) ANSI.xs:385: error: 'BACKGROUND_INTENSITY' undeclared (first use in this function) ANSI.xs:400: error: 'NumberOfCharsWritten' undeclared (first use in this function) ANSI.xs:400: error: 'NumberOfCharsWritten' undeclared (first use in this function) ANSI.xs:412: error: 'Pos' undeclared (first use in this function) ANSI.xs:412: error: 'Pos' undeclared (first use in this function) ANSI.xs:513: error: 'Rect' undeclared (first use in this function) ANSI.xs:513: error: 'Rect' undeclared (first use in this function) ANSI.xs:519: error: 'CharInfo' undeclared (first use in this function) ANSI.xs:519: error: 'CharInfo' undeclared (first use in this function) ANSI.xs:723: error: request for member 'X' in something not a structure or union ANSI.xs:724: error: request for member 'Y' in something not a structure or union ANSI.xs:723: error: request for member 'X' in something not a structure or union ANSI.xs:724: error: request for member 'Y' in something not a structure or union ANSI.xs: At top level: ANSI.xs:766: error: parse error before 'hCurrentDev' ANSI.xs:766: warning: data definition has no type or storage class ANSI.xs: At top level:ANSI.xs:778: error: parse error before 'ParseAndPrintString' ANSI.xs:766: error: parse error before 'hCurrentDev' ANSI.xs:778: error: parse error before 'hDev' ANSI.xs:766: warning: data definition has no type or storage class ANSI.xs:778: error: parse error before 'ParseAndPrintString'ANSI.xs: In function 'ParseAndPrintString': ANSI.xs:784: error: parse error before 'i'ANSI.xs:778: error: parse error before 'hDev' ANSI.xs:787: error: 'hDev' undeclared (first use in this function) ANSI.xs: In function 'ParseAndPrintString': ANSI.xs:791: error: 'i' undeclared (first use in this function)ANSI.xs:784: error: parse error before 'i' ANSI.xs:791: error: 'nNumberOfBytesToWrite' undeclared (first use in this function) ANSI.xs:787: error: 'hDev' undeclared (first use in this function)ANSI.xs:791: error: 'lpBuffer' undeclared (first use in this function) ANSI.xs:791: error: 'i' undeclared (first use in this function) ANSI.xs:791: error: 'nNumberOfBytesToWrite' undeclared (first use in this function) ANSI.xs:791: error: 'lpBuffer' undeclared (first use in this function) ANSI.xs:796: error: 'CONSOLE_SCREEN_BUFFER_INFO' undeclared (first use in this function) ANSI.xs:796: error: parse error before 'Info' ANSI.xs:797: error: 'COORD' undeclared (first use in this function) ANSI.xs:798: error: 'SMALL_RECT' undeclared (first use in this function) ANSI.xs:799: error: 'CHAR_INFO' undeclared (first use in this function) ANSI.xs:802: error: 'Info' undeclared (first use in this function)ANSI.xs:796: error: 'CONSOLE_SCREEN_BUFFER_INFO' undeclared (first use in this function) ANSI.xs:796: error: parse error before 'Info' ANSI.xs:797: error: 'COORD' undeclared (first use in this function) ANSI.xs:809: error: 'Rect' undeclared (first use in this function) ANSI.xs:798: error: 'SMALL_RECT' undeclared (first use in this function) ANSI.xs:799: error: 'CHAR_INFO' undeclared (first use in this function) ANSI.xs:813: error: 'CharInfo' undeclared (first use in this function) ANSI.xs:802: error: 'Info' undeclared (first use in this function) ANSI.xs:819: error: 'Pos' undeclared (first use in this function) ANSI.xs:809: error: 'Rect' undeclared (first use in this function) ANSI.xs:813: error: 'CharInfo' undeclared (first use in this function) ANSI.xs:819: error: 'Pos' undeclared (first use in this function) ANSI.xs:877: error: 'lpNumberOfBytesWritten' undeclared (first use in this function) ANSI.xs:877: error: 'lpNumberOfBytesWritten' undeclared (first use in this function) ANSI.xs: At top level: ANSI.xs:888: error: parse error before 'WINAPI' ANSI.xs:888: error: parse error before 'hFile' ANSI.xs: In function 'MyWriteFile': ANSI.xs:891: error: parse error before 'DummyMode' ANSI.xs:892: error: 'hFile' undeclared (first use in this function)ANSI.xs: At top level: ANSI.xs:892: error: 'DummyMode' undeclared (first use in this function)ANSI.xs:888: error: parse error before 'WINAPI' ANSI.xs:888: error: parse error before 'hFile' ANSI.xs:894: error: 'lpBuffer' undeclared (first use in this function) ANSI.xs:895: error: 'nNumberOfBytesToWrite' undeclared (first use in this function) ANSI.xs:896: error: 'lpNumberOfBytesWritten' undeclared (first use in this function) ANSI.xs: In function 'MyWriteFile': ANSI.xs:902: error: 'lpOverlapped' undeclared (first use in this function)ANSI.xs:891: error: parse error before 'DummyMode' ANSI.xs:892: error: 'hFile' undeclared (first use in this function) ANSI.xs:892: error: 'DummyMode' undeclared (first use in this function) ANSI.xs: At top level: ANSI.xs:894: error: 'lpBuffer' undeclared (first use in this function)ANSI.xs:913: error: parse error before 'WINAPI' ANSI.xs:895: error: 'nNumberOfBytesToWrite' undeclared (first use in this function) ANSI.xs:913: error: parse error before 'hInstance' ANSI.xs:896: error: 'lpNumberOfBytesWritten' undeclared (first use in this function) ANSI.xs: In function 'DllMain':ANSI.xs:902: error: 'lpOverlapped' undeclared (first use in this function) ANSI.xs:915: error: 'BOOL' undeclared (first use in this function) ANSI.xs:915: error: parse error before 'bResult' ANSI.xs:916: error: 'dwReason' undeclared (first use in this function) ANSI.xs:918: error: 'DLL_PROCESS_ATTACH' undeclared (first use in this function) ANSI.xs: At top level: ANSI.xs:919: error: 'hInstance' undeclared (first use in this function)ANSI.xs:913: error: parse error before 'WINAPI' ANSI.xs:913: error: parse error before 'hInstance' ANSI.xs: In function 'DllMain': ANSI.xs:915: error: 'BOOL' undeclared (first use in this function)ANSI.xs:923: error: 'GENERIC_READ' undeclared (first use in this function) ANSI.xs:915: error: parse error before 'bResult'ANSI.xs:923: error: 'GENERIC_WRITE' undeclared (first use in this function) ANSI.xs:924: error: 'FILE_SHARE_READ' undeclared (first use in this function)ANSI.xs:916: error: 'dwReason' undeclared (first use in this function) ANSI.xs:924: error: 'FILE_SHARE_WRITE' undeclared (first use in this function) ANSI.xs:918: error: 'DLL_PROCESS_ATTACH' undeclared (first use in this function) ANSI.xs:926: error: 'OPEN_EXISTING' undeclared (first use in this function)ANSI.xs:919: error: 'hInstance' undeclared (first use in this function) ANSI.xs:930: error: 'VER_PLATFORM_WIN32_NT' undeclared (first use in this function)ANSI.xs:923: error: 'GENERIC_READ' undeclared (first use in this function) ANSI.xs:923: error: 'GENERIC_WRITE' undeclared (first use in this function) ANSI.xs:935: error: 'bResult' undeclared (first use in this function) ANSI.xs:924: error: 'FILE_SHARE_READ' undeclared (first use in this function) ANSI.xs:924: error: 'FILE_SHARE_WRITE' undeclared (first use in this function) ANSI.xs:935: error: 'PROC' undeclared (first use in this function) ANSI.xs:926: error: 'OPEN_EXISTING' undeclared (first use in this function)ANSI.xs:935: error: parse error before 'MyWriteFile' ANSI.xs:938: error: 'DLL_PROCESS_DETACH' undeclared (first use in this function) ANSI.xs:930: error: 'VER_PLATFORM_WIN32_NT' undeclared (first use in this function) ANSI.xs:935: error: 'bResult' undeclared (first use in this function) ANSI.xs:935: error: 'PROC' undeclared (first use in this function) ANSI.xs:935: error: parse error before 'MyWriteFile' ANSI.xs:938: error: 'DLL_PROCESS_DETACH' undeclared (first use in this function) ANSI.xs: In function 'XS_Win32__Console__ANSI_Cls':ANSI.xs: In function 'XS_Win32__Console__ANSI_Cls': ANSI.xs:959: error: 'CONSOLE_SCREEN_BUFFER_INFO' undeclared (first use in this function)ANSI.xs:959: error: 'CONSOLE_SCREEN_BUFFER_INFO' undeclared (first use in this function) ANSI.xs:959: error: parse error before 'Info'ANSI.xs:959: error: parse error before 'Info' ANSI.xs:961: error: 'COORD' undeclared (first use in this function)ANSI.xs:961: error: 'COORD' undeclared (first use in this function) ANSI.xs:962: error: 'Pos' undeclared (first use in this function)ANSI.xs:962: error: 'Pos' undeclared (first use in this function) ANSI.xs:964: error: 'Info' undeclared (first use in this function) ANSI.xs:964: error: 'Info' undeclared (first use in this function) ANSI.xs:970: error: 'NumberOfCharsWritten' undeclared (first use in this function) ANSI.xs:970: error: 'NumberOfCharsWritten' undeclared (first use in this function) ANSI.xs: In function 'XS_Win32__Console__ANSI_Cursor': ANSI.xs:988: error: 'CONSOLE_SCREEN_BUFFER_INFO' undeclared (first use in this function) ANSI.xs:988: error: parse error before 'Info'ANSI.xs: In function 'XS_Win32__Console__ANSI_Cursor': ANSI.xs:989: error: 'COORD' undeclared (first use in this function)ANSI.xs:988: error: 'CONSOLE_SCREEN_BUFFER_INFO' undeclared (first use in this function) ANSI.xs:988: error: parse error before 'Info' ANSI.xs:989: error: 'COORD' undeclared (first use in this function) ANSI.xs:995: error: 'Info' undeclared (first use in this function) ANSI.xs:995: error: 'Info' undeclared (first use in this function) ANSI.xs:999: error: 'dwNewCurPos' undeclared (first use in this function) ANSI.xs:999: error: 'dwNewCurPos' undeclared (first use in this function) ANSI.xs: In function 'XS_Win32__Console__ANSI_Title': ANSI.xs:1030: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type ANSI.xs: In function 'XS_Win32__Console__ANSI_Title': ANSI.xs:1030: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type ANSI.xs: In function 'XS_Win32__Console__ANSI_XYMax': ANSI.xs:1045: error: 'CONSOLE_SCREEN_BUFFER_INFO' undeclared (first use in this function) ANSI.xs:1045: error: parse error before 'Info' ANSI.xs:1046: error: 'Info' undeclared (first use in this function) ANSI.xs: In function 'XS_Win32__Console__ANSI_XYMax': ANSI.xs:1045: error: 'CONSOLE_SCREEN_BUFFER_INFO' undeclared (first use in this function) ANSI.xs:1045: error: parse error before 'Info' ANSI.xs:1046: error: 'Info' undeclared (first use in this function) ANSI.xs: In function 'XS_Win32__Console__ANSI_SetConsoleSize': ANSI.xs:1062: error: 'COORD' undeclared (first use in this function) ANSI.xs:1062: error: parse error before 'Size' ANSI.xs:1063: error: 'Size' undeclared (first use in this function)ANSI.xs: In function 'XS_Win32__Console__ANSI_SetConsoleSize': ANSI.xs:1062: error: 'COORD' undeclared (first use in this function) ANSI.xs:1062: error: parse error before 'Size' ANSI.xs:1063: error: 'Size' undeclared (first use in this function) ANSI.c: In function 'XS_Win32__Console__ANSI_ScriptCP': ANSI.c:1143: error: 'UINT' undeclared (first use in this function) ANSI.c:1143: error: parse error before 'RETVAL' ANSI.c: In function 'XS_Win32__Console__ANSI_ScriptCP': ANSI.c:1143: error: 'UINT' undeclared (first use in this function) ANSI.c:1143: error: parse error before 'RETVAL' ANSI.xs:1079: error: 'RETVAL' undeclared (first use in this function) ANSI.xs:1079: error: 'RETVAL' undeclared (first use in this function) ANSI.xs: In function 'XS_Win32__Console__ANSI__ScreenDump': ANSI.xs:1096: error: 'COORD' undeclared (first use in this function) ANSI.xs:1096: error: parse error before 'coords' ANSI.xs:1099: error: 'CONSOLE_SCREEN_BUFFER_INFO' undeclared (first use in this function) ANSI.xs:1099: error: parse error before 'Info' ANSI.xs:1100: error: 'Info' undeclared (first use in this function) ANSI.xs: In function 'XS_Win32__Console__ANSI__ScreenDump':ANSI.xs:1101: error: 'size' undeclared (first use in this function) ANSI.xs:1096: error: 'COORD' undeclared (first use in this function) ANSI.xs:1096: error: parse error before 'coords' ANSI.xs:1103: error: 'CHAR_INFO' undeclared (first use in this function) ANSI.xs:1099: error: 'CONSOLE_SCREEN_BUFFER_INFO' undeclared (first use in this function) ANSI.xs:1099: error: parse error before 'Info' ANSI.xs:1100: error: 'Info' undeclared (first use in this function) ANSI.xs:1101: error: 'size' undeclared (first use in this function) ANSI.xs:1103: error: 'CHAR_INFO' undeclared (first use in this function) ANSI.xs:1105: error: 'coords' undeclared (first use in this function) ANSI.xs:1105: error: 'coords' undeclared (first use in this function) ANSI.xs:1110: error: parse error before ')' token ANSI.xs:1110: error: parse error before ')' token ANSI.c: In function 'XS_Win32__Console__ANSI__chcp':ANSI.c: In function 'XS_Win32__Console__ANSI__chcp': ANSI.c:1218: error: 'UINT' undeclared (first use in this function)ANSI.c:1218: error: 'UINT' undeclared (first use in this function) ANSI.c:1218: error: parse error before 'new_Cp_In'ANSI.c:1218: error: parse error before 'new_Cp_In' ANSI.xs:1133: error: 'old_Cp_In' undeclared (first use in this function)ANSI.xs:1133: error: 'old_Cp_In' undeclared (first use in this function) ANSI.xs:1134: error: 'new_Cp_In' undeclared (first use in this function)ANSI.xs:1134: error: 'new_Cp_In' undeclared (first use in this function) ANSI.xs:1135: error: 'old_Cp_Out' undeclared (first use in this function)ANSI.xs:1135: error: 'old_Cp_Out' undeclared (first use in this function) ANSI.xs:1136: error: 'new_Cp_Out' undeclared (first use in this function) ANSI.xs:1136: error: 'new_Cp_Out' undeclared (first use in this function) lipo: can't open input file: /var/tmp//ccPsc32n.out (No such file or directory) make: *** [ANSI.o] Error 1