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/ia64-lp64/build/5.6.1/bin/perl -I/home/cpanrun/ia64-lp64/build/5.6.1/lib/5.6.1/IA64.ARCHREV_0-thread-multi-64all -I/home/cpanrun/ia64-lp64/build/5.6.1/lib/5.6.1 /home/cpanrun/ia64-lp64/build/5.6.1/lib/5.6.1/ExtUtils/xsubpp -typemap /home/cpanrun/ia64-lp64/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) gcc -c -I. -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -mlp64 -L/lib/hpux64 -DUINT32_MAX_BROKEN -fPIC -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC -I/home/cpanrun/ia64-lp64/build/5.6.1/lib/5.6.1/IA64.ARCHREV_0-thread-multi-64all/CORE ShutDown.c ShutDown.xs: In function `WinVer': ShutDown.xs:20: error: `OSVERSIONINFO' undeclared (first use in this function) ShutDown.xs:20: error: (Each undeclared identifier is reported only once ShutDown.xs:20: error: for each function it appears in.) ShutDown.xs:20: error: syntax error before "osvi" ShutDown.xs:21: error: `BOOL' undeclared (first use in this function) ShutDown.xs:22: error: `osvi' undeclared (first use in this function) ShutDown.xs:24: error: `bval' undeclared (first use in this function) ShutDown.xs:26: error: `VER_PLATFORM_WIN32_NT' undeclared (first use in this function) ShutDown.xs:30: error: `VER_PLATFORM_WIN32_WINDOWS' undeclared (first use in this function) ShutDown.xs: In function `AdjustProcessTokenPrivilege': ShutDown.xs:41: error: `HANDLE' undeclared (first use in this function) ShutDown.xs:41: error: syntax error before "hToken" ShutDown.xs:42: error: `TOKEN_PRIVILEGES' undeclared (first use in this function) ShutDown.xs:44: error: `TOKEN_ADJUST_PRIVILEGES' undeclared (first use in this function) ShutDown.xs:44: error: `TOKEN_QUERY' undeclared (first use in this function) ShutDown.xs:44: error: `hToken' undeclared (first use in this function) ShutDown.xs:49: error: `SE_SHUTDOWN_NAME' undeclared (first use in this function) ShutDown.xs:49: error: `tkp' undeclared (first use in this function) ShutDown.xs:56: error: `SE_PRIVILEGE_ENABLED' undeclared (first use in this function) ShutDown.xs:58: error: `PTOKEN_PRIVILEGES' undeclared (first use in this function) ShutDown.xs:60: error: `ERROR_SUCCESS' undeclared (first use in this function) ShutDown.xs: At top level: ShutDown.xs:71: error: syntax error before "nFlag" ShutDown.xs: In function `ExitWindowsExt': ShutDown.xs:80: error: `nFlag' undeclared (first use in this function) ShutDown.xs:80: error: `dwType' undeclared (first use in this function) ShutDown.xs: In function `XS_Win32__ShutDown_ShutDown': ShutDown.xs:130: error: `EWX_SHUTDOWN' undeclared (first use in this function) ShutDown.xs: In function `XS_Win32__ShutDown_Restart': ShutDown.xs:150: error: `EWX_REBOOT' undeclared (first use in this function) ShutDown.xs: In function `XS_Win32__ShutDown_LogOff': ShutDown.xs:168: error: `EWX_LOGOFF' undeclared (first use in this function) ShutDown.xs: In function `XS_Win32__ShutDown_ForceReStart': ShutDown.xs:209: error: `EWX_REBOOT' undeclared (first use in this function) ShutDown.xs:209: error: `EWX_FORCE' undeclared (first use in this function) ShutDown.xs: In function `XS_Win32__ShutDown_ForceLogOff': ShutDown.xs:228: error: `EWX_LOGOFF' undeclared (first use in this function) ShutDown.xs:228: error: `EWX_FORCE' undeclared (first use in this function) ShutDown.xs: In function `XS_Win32__ShutDown_ForceShutDown': ShutDown.xs:235: error: `EWX_SHUTDOWN' undeclared (first use in this function) ShutDown.xs:235: error: `EWX_FORCE' undeclared (first use in this function) make: *** [ShutDown.o] Error 1