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 /home/cpanrun/ia64/build/5.6.1/bin/perl -I/home/cpanrun/ia64/build/5.6.1/lib/5.6.1/IA64.ARCHREV_0-thread-multi -I/home/cpanrun/ia64/build/5.6.1/lib/5.6.1 /home/cpanrun/ia64/build/5.6.1/lib/5.6.1/ExtUtils/xsubpp -typemap /home/cpanrun/ia64/build/5.6.1/lib/5.6.1/ExtUtils/typemap -typemap typemap ANSI.xs > ANSI.xsc && mv ANSI.xsc ANSI.c gcc -c -I. -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -L/lib/hpux32 -DUINT32_MAX_BROKEN -fPIC -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" -fPIC -I/home/cpanrun/ia64/build/5.6.1/lib/5.6.1/IA64.ARCHREV_0-thread-multi/CORE ANSI.c ANSI.xs:7:21: windows.h: No such file or directory ANSI.xs:8:22: ImageHlp.h: No such file or directory ANSI.xs:9:22: 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:34: error: parse error before "hConOut" 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:59: error: initializer element is not constant ANSI.xs:59: error: (near initialization for `foregroundcolor[1]') ANSI.xs:60: error: `FOREGROUND_GREEN' undeclared here (not in a function) ANSI.xs:60: error: initializer element is not constant ANSI.xs:60: error: (near initialization for `foregroundcolor[2]') ANSI.xs:61: error: initializer element is not constant ANSI.xs:61: error: (near initialization for `foregroundcolor[3]') ANSI.xs:62: error: `FOREGROUND_BLUE' undeclared here (not in a function) ANSI.xs:62: error: initializer element is not constant ANSI.xs:62: error: (near initialization for `foregroundcolor[4]') ANSI.xs:63: error: initializer element is not constant ANSI.xs:63: error: (near initialization for `foregroundcolor[5]') ANSI.xs:64: error: initializer element is not constant ANSI.xs:64: error: (near initialization for `foregroundcolor[6]') ANSI.xs:66: error: initializer element is not constant ANSI.xs:66: error: (near initialization for `foregroundcolor[7]') ANSI.xs:66: warning: data definition has no type or storage class ANSI.xs:68: error: parse error before "backgroundcolor" ANSI.xs:70: error: `BACKGROUND_RED' undeclared here (not in a function) ANSI.xs:70: error: initializer element is not constant ANSI.xs:70: error: (near initialization for `backgroundcolor[1]') ANSI.xs:71: error: `BACKGROUND_GREEN' undeclared here (not in a function) ANSI.xs:71: error: initializer element is not constant ANSI.xs:71: error: (near initialization for `backgroundcolor[2]') ANSI.xs:72: error: initializer element is not constant ANSI.xs:72: error: (near initialization for `backgroundcolor[3]') ANSI.xs:73: error: `BACKGROUND_BLUE' undeclared here (not in a function) ANSI.xs:73: error: initializer element is not constant ANSI.xs:73: error: (near initialization for `backgroundcolor[4]') ANSI.xs:74: error: initializer element is not constant ANSI.xs:74: error: (near initialization for `backgroundcolor[5]') ANSI.xs:75: error: initializer element is not constant ANSI.xs:75: error: (near initialization for `backgroundcolor[6]') ANSI.xs:76: error: initializer element is not constant ANSI.xs:76: error: (near initialization for `backgroundcolor[7]') ANSI.xs:77: warning: data definition has no type or storage class ANSI.xs:80: error: parse error before "foreground" ANSI.xs:80: warning: data definition has no type or storage class ANSI.xs:81: error: parse error before "background" ANSI.xs:81: warning: data definition has no type or storage class ANSI.xs:82: error: parse error before "bold" ANSI.xs:82: warning: data definition has no type or storage class ANSI.xs:83: error: parse error before "underline" ANSI.xs:83: warning: data definition has no type or storage class ANSI.xs:84: error: parse error before "rvideo" ANSI.xs:84: warning: data definition has no type or storage class ANSI.xs:85: error: parse error before "concealed" ANSI.xs:85: warning: data definition has no type or storage class ANSI.xs:86: error: parse error before "conversion_enabled" ANSI.xs:86: warning: data definition has no type or storage class ANSI.xs:87: error: parse error before "Cp_In" ANSI.xs:87: error: `CP_ACP' undeclared here (not in a function) ANSI.xs:87: warning: data definition has no type or storage class ANSI.xs:88: error: parse error before "Cp_Out" 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: error: parse error before "SavePos" ANSI.xs:92: warning: excess elements in scalar initializer ANSI.xs:92: warning: (near initialization for `SavePos') 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:116: error: for each function it appears in.) ANSI.xs:116: error: parse error before "pfnOldFunction" ANSI.xs:117: error: `PIMAGE_DOS_HEADER' 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:129: error: `pfnOldFunction' 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:138: error: `pDosHeader' undeclared (first use in this function) ANSI.xs:138: error: parse error before "hFromModule" 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:149: error: `pNTHeader' 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: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: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:189: error: `pDosHeader' undeclared here (not in a function) ANSI.xs:189: error: `pImportDesc' undeclared here (not in a function) ANSI.xs:189: warning: data definition has no type or storage class ANSI.xs:193: error: parse error before "while" ANSI.xs:197: warning: data definition has no type or storage class ANSI.xs:200: error: parse error before '&' token ANSI.xs:202: error: request for member `Protect' in something not a structure or union ANSI.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:221: error: parse error before '&' token ANSI.xs:221: error: parse error before '&' token 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:243: error: `MODULEENTRY32' undeclared (first use in this function) ANSI.xs:244: error: `BOOL' 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: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:289: error: parse error before "nWritten" 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: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:400: error: `NumberOfCharsWritten' 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: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: 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:778: error: parse error before "ParseAndPrintString" ANSI.xs:778: error: parse error before "hDev" ANSI.xs: In function `ParseAndPrintString': ANSI.xs:784: error: parse error before "i" ANSI.xs:787: error: `hDev' 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: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: 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:892: error: `DummyMode' undeclared (first use in this function) 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:902: error: `lpOverlapped' undeclared (first use in this function) ANSI.xs: At top level: 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: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:919: error: `hInstance' 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: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:926: error: `OPEN_EXISTING' 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:959: error: `CONSOLE_SCREEN_BUFFER_INFO' undeclared (first use in this function) ANSI.xs:959: error: parse error before "Info" ANSI.xs:961: error: `COORD' 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: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:989: error: `COORD' 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: In function `XS_Win32__Console__ANSI_Title': ANSI.xs:1030: warning: passing arg 3 of `Perl_sv_2pv' 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_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:1095: error: `UINT' undeclared (first use in this function) ANSI.c:1095: error: parse error before "RETVAL" 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: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:1110: error: parse error before ')' token ANSI.c: In function `XS_Win32__Console__ANSI__chcp': ANSI.c:1154: error: `UINT' undeclared (first use in this function) ANSI.c:1154: error: parse error before "new_Cp_In" 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:1135: error: `old_Cp_Out' undeclared (first use in this function) ANSI.xs:1136: error: `new_Cp_Out' undeclared (first use in this function) make: *** [ANSI.o] Error 1