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/pa-risc1.1/build/5.6.1/bin/perl -I/home/cpanrun/pa-risc1.1/build/5.6.1/lib/5.6.1/PA-RISC1.1-thread-multi -I/home/cpanrun/pa-risc1.1/build/5.6.1/lib/5.6.1 /home/cpanrun/pa-risc1.1/build/5.6.1/lib/5.6.1/ExtUtils/xsubpp -typemap /home/cpanrun/pa-risc1.1/build/5.6.1/lib/5.6.1/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_HPUX_SOURCE +DA1.1 +DS2.0a +z -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ae -O +Onolimit -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" +z -I/home/cpanrun/pa-risc1.1/build/5.6.1/lib/5.6.1/PA-RISC1.1-thread-multi/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