Checking if your kit is complete... Looks good Writing Makefile for OS2::Focus cp Focus.pm blib/lib/OS2/Focus.pm AutoSplitting blib/lib/OS2/Focus.pm (blib/lib/auto/OS2/Focus) /home/cpanrun/ia64-lp64/build/5.8.2/bin/perl /home/cpanrun/ia64-lp64/build/5.8.2/lib/5.8.2/ExtUtils/xsubpp -typemap /home/cpanrun/ia64-lp64/build/5.8.2/lib/5.8.2/ExtUtils/typemap -typemap typemap Focus.xs > Focus.xsc && mv Focus.xsc Focus.c Please specify prototyping behavior for Focus.xs (see perlxs manual) cc -c -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fast +DSitanium2 +Ofltacc=strict -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" +Z "-I/home/cpanrun/ia64-lp64/build/5.8.2/lib/5.8.2/IA64.ARCHREV_0-thread-multi-LP64/CORE" -I. -DINCL_BASE -DINCL_PM Focus.c Error 112: "Focus.xs", line 5 # Include file not found. #include ^^^^^^^^^^ Error 20: "Focus.xs", line 7 # ',' expected before 'rc'. static HWND rc; ^^ Error 20: "Focus.xs", line 17 # ';' expected before '_QueryFocus'. _QueryFocus() \ ^^^^^^^^^^^ Error 419: "Focus.xs", line 19 # 'HWND' is used as a type, but has not been defined as a type. HWND rc = WinQueryFocus(HWND_DESKTOP); ^^^^ Error 172: "Focus.xs", line 19 # Undeclared variable 'HWND_DESKTOP'. HWND rc = WinQueryFocus(HWND_DESKTOP); ^^^^^^^^^^^^ Error 419: "Focus.c", line 104 # 'HWND' is used as a type, but has not been defined as a type. HWND hwndDesktop; ^^^^ Error 419: "Focus.c", line 105 # 'HWND' is used as a type, but has not been defined as a type. HWND hwndSetFocus; ^^^^ Error 419: "Focus.c", line 106 # 'ULONG' is used as a type, but has not been defined as a type. ULONG flFocusChange = (ULONG)SvIV(ST(2)); ^^^^^ Error 419: "Focus.c", line 107 # 'BOOL' is used as a type, but has not been defined as a type. BOOL RETVAL; ^^^^ Error 283: "Focus.c", line 112 # Illegal operand type in call expression. hwndDesktop = INT2PTR(HWND,tmp); ^^^^^^^ Error 283: "Focus.c", line 119 # Illegal operand type in call expression. hwndSetFocus = INT2PTR(HWND,tmp); ^^^^^^^ Error 419: "Focus.c", line 143 # 'HWND' is used as a type, but has not been defined as a type. HWND hwndDesktop; ^^^^ Error 699: "Focus.c", line 143 # Error limit reached; halting compilation. HWND hwndDesktop; ^^^^ make: *** [Focus.o] Error 2