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