DEFAULT BUILD OPTIONS - W/O 3PLibs (SET ANY ARGUMENT TO INVOKE THE PROMPT!) Checking if your kit is complete... Looks good Unrecognized argument in LIBS ignored: 'Delayimp.lib' Writing Makefile for Win32::Printer cp Printer/Direct.pm blib/lib/Win32/Printer/Direct.pm cp Printer/Enum.pm blib/lib/Win32/Printer/Enum.pm cp Printer.pm blib/lib/Win32/Printer.pm /home/cpanrun/ia64/build/5.8.2/bin/perl /home/cpanrun/ia64/build/5.8.2/lib/5.8.2/ExtUtils/xsubpp -typemap /home/cpanrun/ia64/build/5.8.2/lib/5.8.2/ExtUtils/typemap -typemap typemap Printer.xs > Printer.xsc && mv Printer.xsc Printer.c cc -c -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fast +DSitanium2 +Ofltacc=strict -DVERSION=\"0.9.0\" -DXS_VERSION=\"0.9.0\" +Z "-I/home/cpanrun/ia64/build/5.8.2/lib/5.8.2/IA64.ARCHREV_0-thread-multi/CORE" Printer.c Error 112: "Printer.xs", line 25 # Include file not found. #include ^^^^^^^^^^^^ Error 112: "Printer.xs", line 26 # Include file not found. #include ^^^^^^^^^^^ Error 419: "Printer.xs", line 30 # 'LPWSTR' is used as a type, but has not been defined as a type. LPWSTR ToWide( ^^^^^^ Error 419: "Printer.xs", line 31 # 'LPCSTR' is used as a type, but has not been defined as a type. LPCSTR lpString, ^^^^^^ Error 419: "Printer.xs", line 35 # 'LPWSTR' is used as a type, but has not been defined as a type. LPWSTR lpwString; ^^^^^^ Error 172: "Printer.xs", line 38 # Undeclared variable 'CP_UTF8'. *sz = MultiByteToWideChar(CP_UTF8, 0, lpString, cbString, 0, 0); ^^^^^^^ Error 419: "Printer.xs", line 42 # 'LPWSTR' is used as a type, but has not been defined as a type. lpwString = (LPWSTR)malloc(*sz * sizeof(wchar_t)); ^^^^^^ Error 172: "Printer.xs", line 46 # Undeclared variable 'CP_UTF8'. *sz = MultiByteToWideChar(CP_UTF8, 0, lpString, cbString, lpwString, *sz); ^^^^^^^ Warning 942: "Printer.xs", line 48 # Types 'void *' and 'int' are not assignment-compatible. free(lpwString); ^^^^^^^^^ Error 419: "Printer.xs", line 57 # 'BOOL' is used as a type, but has not been defined as a type. BOOL GetTextExtentPoint32UTF8( ^^^^ Error 585: "Printer.xs", line 58 # Expected an operator before 'hdc'. HDC hdc, ^^^ Error 585: "Printer.xs", line 59 # Expected an operator before 'lpString'. LPCSTR lpString, ^^^^^^^^ Error 20: "Printer.xs", line 60 # '(' expected before 'cbString'. int cbString, ^^^^^^^^ Error 699: "Printer.xs", line 60 # Error limit reached; halting compilation. int cbString, ^^^^^^^^ make: *** [Printer.o] Error 2