Checking if your kit is complete... Looks good Writing Makefile for Win32::ShutDown cp lib/Win32/ShutDown.pm blib/lib/Win32/ShutDown.pm /home/cpanrun/parisc2.0-lp64/build/5.8.2/bin/perl /home/cpanrun/parisc2.0-lp64/build/5.8.2/lib/5.8.2/ExtUtils/xsubpp -typemap /home/cpanrun/parisc2.0-lp64/build/5.8.2/lib/5.8.2/ExtUtils/typemap ShutDown.xs > ShutDown.xsc && mv ShutDown.xsc ShutDown.c Please specify prototyping behavior for ShutDown.xs (see perlxs manual) cc -c -I. -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 +Onolimit +Opromote_indirect_calls -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" +Z "-I/home/cpanrun/parisc2.0-lp64/build/5.8.2/lib/5.8.2/PA-RISC2.0-thread-multi-LP64/CORE" ShutDown.c cc: "ShutDown.xs", line 20: error 1000: Unexpected symbol: "osvi". cc: "ShutDown.xs", line 21: error 1000: Unexpected symbol: "bval". cc: "ShutDown.xs", line 20: error 1588: "OSVERSIONINFO" undefined. cc: "ShutDown.xs", line 21: error 1588: "BOOL" undefined. cc: "ShutDown.xs", line 22: error 1588: "osvi" undefined. cc: "ShutDown.xs", line 22: error 1529: Cannot select field of non-structure. cc: "ShutDown.xs", line 22: error 1594: The sizeof operator cannot be applied to types with unknown size. cc: "ShutDown.xs", line 24: error 1588: "bval" undefined. cc: "ShutDown.xs", line 26: error 1529: Cannot select field of non-structure. cc: "ShutDown.xs", line 26: error 1588: "VER_PLATFORM_WIN32_NT" undefined. cc: "ShutDown.xs", line 26: error 1563: Expression in if must be scalar. cc: "ShutDown.xs", line 30: error 1529: Cannot select field of non-structure. cc: "ShutDown.xs", line 30: error 1588: "VER_PLATFORM_WIN32_WINDOWS" undefined. cc: "ShutDown.xs", line 30: error 1563: Expression in if must be scalar. cc: "ShutDown.xs", line 41: error 1000: Unexpected symbol: "hToken". cc: "ShutDown.xs", line 42: error 1000: Unexpected symbol: "tkp". cc: "ShutDown.xs", line 58: error 1000: Unexpected symbol: "0L". cc: "ShutDown.xs", line 41: error 1588: "HANDLE" undefined. cc: "ShutDown.xs", line 42: error 1588: "TOKEN_PRIVILEGES" undefined. cc: "ShutDown.xs", line 44: error 1588: "TOKEN_ADJUST_PRIVILEGES" undefined. cc: "ShutDown.xs", line 44: error 1588: "TOKEN_QUERY" undefined. cc: "ShutDown.xs", line 44: error 1588: "hToken" undefined. cc: "ShutDown.xs", line 49: error 1588: "SE_SHUTDOWN_NAME" undefined. cc: "ShutDown.xs", line 49: error 1588: "tkp" undefined. cc: "ShutDown.xs", line 49: error 1529: Cannot select field of non-structure. cc: "ShutDown.xs", line 49: error 1529: Cannot select field of non-structure. cc: "ShutDown.xs", line 49: error 1555: Address operator requires an lvalue. cc: "ShutDown.xs", line 54: error 1529: Cannot select field of non-structure. cc: "ShutDown.xs", line 56: error 1529: Cannot select field of non-structure. cc: "ShutDown.xs", line 56: error 1529: Cannot select field of non-structure. cc: "ShutDown.xs", line 56: error 1588: "SE_PRIVILEGE_ENABLED" undefined. cc: "ShutDown.xs", line 58: error 1588: "PTOKEN_PRIVILEGES" undefined. cc: "ShutDown.xs", line 60: error 1588: "ERROR_SUCCESS" undefined. cc: "ShutDown.xs", line 60: error 1563: Expression in if must be scalar. cc: "ShutDown.xs", line 71: error 1000: Unexpected symbol: "nFlag". cc: "ShutDown.xs", line 71: error 1573: Type of "dwType" is undefined due to an illegal declaration. cc: "ShutDown.xs", line 80: error 1588: "nFlag" undefined. cc: "ShutDown.xs", line 90: error 1588: "nFlag" undefined. cc: "ShutDown.xs", line 130: error 1619: Too many arguments for ExitWindowsExt. cc: "ShutDown.xs", line 130: error 1588: "EWX_SHUTDOWN" undefined. cc: "ShutDown.xs", line 130: warning 563: Argument #1 is not the correct type. cc: "ShutDown.xs", line 130: warning 563: Argument #2 is not the correct type. cc: "ShutDown.xs", line 150: error 1619: Too many arguments for ExitWindowsExt. cc: "ShutDown.xs", line 150: error 1588: "EWX_REBOOT" undefined. cc: "ShutDown.xs", line 150: warning 563: Argument #1 is not the correct type. cc: "ShutDown.xs", line 150: warning 563: Argument #2 is not the correct type. cc: "ShutDown.xs", line 168: error 1588: "EWX_LOGOFF" undefined. cc: "ShutDown.xs", line 209: error 1619: Too many arguments for ExitWindowsExt. cc: "ShutDown.xs", line 209: error 1588: "EWX_REBOOT" undefined. cc: "ShutDown.xs", line 209: error 1588: "EWX_FORCE" undefined. cc: "ShutDown.xs", line 209: warning 563: Argument #1 is not the correct type. cc: "ShutDown.xs", line 209: warning 563: Argument #2 is not the correct type. cc: "ShutDown.xs", line 228: error 1588: "EWX_LOGOFF" undefined. cc: "ShutDown.xs", line 228: error 1588: "EWX_FORCE" undefined. cc: "ShutDown.xs", line 235: error 1619: Too many arguments for ExitWindowsExt. cc: "ShutDown.xs", line 235: error 1588: "EWX_SHUTDOWN" undefined. cc: "ShutDown.xs", line 235: error 1588: "EWX_FORCE" undefined. cc: "ShutDown.xs", line 235: warning 563: Argument #1 is not the correct type. cc: "ShutDown.xs", line 235: warning 563: Argument #2 is not the correct type. make: *** [ShutDown.o] Error 1