Checking if your kit is complete... Looks good Unrecognized argument in LIBS ignored: 'pdh.lib' Unrecognized argument in LIBS ignored: 'Advapi32.lib' Writing Makefile for Win32::Process::Perf cp lib/Win32/Process/Perf/cz.dat blib/lib/Win32/Process/Perf/cz.dat cp lib/Win32/Process/Perf/de-at.dat blib/lib/Win32/Process/Perf/de-at.dat cp lib/Win32/Process/Perf/en-gb.dat blib/lib/Win32/Process/Perf/en-gb.dat cp lib/Win32/Process/Perf/en-us.dat blib/lib/Win32/Process/Perf/en-us.dat cp lib/Win32/Process/Perf/cs.dat blib/lib/Win32/Process/Perf/cs.dat cp lib/Win32/Process/Perf.pm blib/lib/Win32/Process/Perf.pm cp lib/Win32/Process/Perf/de-de.dat blib/lib/Win32/Process/Perf/de-de.dat /Users/cpanrun/pristine/5.8.7/bin/perl /Users/cpanrun/pristine/5.8.7/lib/5.8.7/ExtUtils/xsubpp -typemap /Users/cpanrun/pristine/5.8.7/lib/5.8.7/ExtUtils/typemap Perf.xs > Perf.xsc && mv Perf.xsc Perf.c Please specify prototyping behavior for Perf.xs (see perlxs manual) gcc -c -fno-common -DPERL_DARWIN -no-cpp-precomp -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -fno-strict-aliasing -pipe -Os -DVERSION=\"1.05\" -DXS_VERSION=\"1.05\" "-I/Users/cpanrun/pristine/5.8.7/lib/5.8.7/darwin-thread-multi-2level/CORE" Perf.c Perf.xs:33:21: error: windows.h: No such file or directory Perf.xs:34:17: error: PDH.h: No such file or directory Perf.xs:35:20: error: PDHMSG.h: No such file or directory In file included from Perf.xs:36: perf.h:1: error: parse error before 'pid' perf.h:1: warning: data definition has no type or storage class Perf.xs:38:19: error: tchar.h: No such file or directory Perf.xs:39:18: error: Sddl.h: No such file or directory Perf.xs:44: error: parse error before 'PPdhEnumObjects' Perf.xs:44: error: parse error before 'szMachineName' Perf.xs: In function 'PPdhEnumObjects': Perf.xs:46: error: 'DWORD' undeclared (first use in this function) Perf.xs:46: error: (Each undeclared identifier is reported only once Perf.xs:46: error: for each function it appears in.) Perf.xs:46: error: parse error before 'pcchBufferLength' Perf.xs:47: error: 'PDH_STATUS' undeclared (first use in this function) Perf.xs:48: error: 'pcchBufferLength' undeclared (first use in this function) Perf.xs:48: error: 'szMachineName' undeclared (first use in this function) Perf.xs:48: error: 'mszObjectList' undeclared (first use in this function) Perf.xs:49: error: 'ERROR_SUCCESS' undeclared (first use in this function) Perf.xs:50: warning: return makes integer from pointer without a cast Perf.xs: At top level: Perf.xs:55: error: parse error before 'hprocess' Perf.xs: In function 'CleanUp': Perf.xs:57: error: 'hprocess' undeclared (first use in this function) Perf.xs:59: error: 'hdlToken' undeclared (first use in this function) Perf.xs: At top level: Perf.xs:63: error: parse error before 'ConvertSid' Perf.xs:63: error: parse error before 'pSid' Perf.xs: In function 'ConvertSid': Perf.xs:66: error: 'DWORD' undeclared (first use in this function) Perf.xs:66: error: parse error before 'cchUser' Perf.xs:67: error: 'TCHAR' undeclared (first use in this function) Perf.xs:69: error: 'SID_NAME_USE' undeclared (first use in this function) Perf.xs:70: error: 'szDomain' undeclared (first use in this function) Perf.xs:75: error: 'pSid' undeclared (first use in this function) Perf.xs:76: error: 'szUser' undeclared (first use in this function) Perf.xs:76: error: 'cchUser' undeclared (first use in this function) Perf.xs:76: error: 'cchDomain' undeclared (first use in this function) Perf.xs:76: error: 'snu' undeclared (first use in this function) Perf.xs:79: error: 'FORMAT_MESSAGE_ALLOCATE_BUFFER' undeclared (first use in this function) Perf.xs:80: error: 'FORMAT_MESSAGE_FROM_SYSTEM' undeclared (first use in this function) Perf.xs:81: error: 'FORMAT_MESSAGE_IGNORE_INSERTS' undeclared (first use in this function) Perf.xs:84: error: 'LANG_NEUTRAL' undeclared (first use in this function) Perf.xs:84: error: 'SUBLANG_DEFAULT' undeclared (first use in this function) Perf.xs:85: error: 'szError' undeclared (first use in this function) Perf.xs: In function 'XS_Win32__Process__Perf_open_query': Perf.xs:114: error: 'PDH_STATUS' undeclared (first use in this function) Perf.xs:114: error: parse error before 'stat' Perf.xs:115: error: 'HQUERY' undeclared (first use in this function) Perf.xs:119: error: 'hQwy' undeclared (first use in this function) Perf.xs:119: error: invalid lvalue in assignment Perf.xs:122: error: 'ERROR_SUCCESS' undeclared (first use in this function) Perf.xs: In function 'XS_Win32__Process__Perf_CleanUp': Perf.xs:139: error: 'PDH_STATUS' undeclared (first use in this function) Perf.xs:139: error: parse error before 'stat' Perf.xs:140: error: 'HQUERY' undeclared (first use in this function) Perf.xs:143: error: 'pObj' undeclared (first use in this function) Perf.xs:144: error: invalid lvalue in assignment Perf.xs: In function 'XS_Win32__Process__Perf_add_counter': Perf.xs:158: error: 'DWORD' undeclared (first use in this function) Perf.xs:158: error: parse error before 'dwSize' Perf.xs:160: error: 'HCOUNTER' undeclared (first use in this function) Perf.xs:161: error: 'HQUERY' undeclared (first use in this function) Perf.xs:163: error: 'PDH_STATUS' undeclared (first use in this function) Perf.xs:163: error: parse error before 'stat' Perf.xs:171: error: 'hQwy' undeclared (first use in this function) Perf.xs:173: error: 'dwGlen' undeclared (first use in this function) Perf.xs:174: error: 'dwSize' undeclared (first use in this function) Perf.xs:191: error: 'LPTSTR' undeclared (first use in this function) Perf.xs:191: error: parse error before 'str' Perf.xs:192: error: switch quantity not an integer Perf.xs:194: error: 'ERROR_SUCCESS' undeclared (first use in this function) Perf.xs:196: error: 'cnt' undeclared (first use in this function) Perf.xs:199: error: 'PDH_CSTATUS_BAD_COUNTERNAME' undeclared (first use in this function) Perf.xs:206: error: 'PDH_CSTATUS_NO_COUNTER' undeclared (first use in this function) Perf.xs:213: error: 'PDH_CSTATUS_NO_COUNTERNAME' undeclared (first use in this function) Perf.xs:220: error: 'PDH_CSTATUS_NO_MACHINE' undeclared (first use in this function) Perf.xs:227: error: 'PDH_CSTATUS_NO_OBJECT' undeclared (first use in this function) Perf.xs:234: error: 'PDH_FUNCTION_NOT_FOUND' undeclared (first use in this function) Perf.xs:241: error: 'PDH_INVALID_ARGUMENT' undeclared (first use in this function) Perf.xs:248: error: 'PDH_INVALID_HANDLE' undeclared (first use in this function) Perf.xs:255: error: 'PDH_MEMORY_ALLOCATION_FAILURE' undeclared (first use in this function) Perf.xs: In function 'XS_Win32__Process__Perf_collect_data': Perf.xs:279: error: 'HQUERY' undeclared (first use in this function) Perf.xs:279: error: parse error before 'hQwy' Perf.xs:280: error: 'PDH_STATUS' undeclared (first use in this function) Perf.xs:282: error: 'hQwy' undeclared (first use in this function) Perf.xs:283: error: invalid lvalue in assignment Perf.xs:285: error: switch quantity not an integer Perf.xs:287: error: 'ERROR_SUCCESS' undeclared (first use in this function) Perf.xs:292: error: 'PDH_INVALID_HANDLE' undeclared (first use in this function) Perf.xs:298: error: 'PDH_NO_DATA' undeclared (first use in this function) Perf.xs: In function 'XS_Win32__Process__Perf_collect_counter_value': Perf.xs:320: error: 'HQUERY' undeclared (first use in this function) Perf.xs:320: error: parse error before 'hQwy' Perf.xs:321: error: 'HCOUNTER' undeclared (first use in this function) Perf.xs:322: error: 'PDH_STATUS' undeclared (first use in this function) Perf.xs:323: error: 'PDH_FMT_COUNTERVALUE' undeclared (first use in this function) Perf.xs:324: error: 'DWORD' undeclared (first use in this function) Perf.xs:328: error: 'hQwy' undeclared (first use in this function) Perf.xs:329: error: 'hCnt' undeclared (first use in this function) Perf.xs:331: error: 'PDH_FMT_LONG' undeclared (first use in this function) Perf.xs:331: error: 'PDH_FMT_NOSCALE' undeclared (first use in this function) Perf.xs:331: error: 'dwType' undeclared (first use in this function) Perf.xs:331: error: 'val' undeclared (first use in this function) Perf.xs:331: error: invalid lvalue in assignment Perf.xs:334: error: switch quantity not an integer Perf.xs:336: error: 'ERROR_SUCCESS' undeclared (first use in this function) Perf.xs:337: error: 'PDH_CSTATUS_VALID_DATA' undeclared (first use in this function) Perf.xs:346: error: 'PDH_INVALID_ARGUMENT' undeclared (first use in this function) Perf.xs:353: error: 'PDH_INVALID_DATA' undeclared (first use in this function) Perf.xs:360: error: 'PDH_INVALID_HANDLE' undeclared (first use in this function) Perf.xs: In function 'XS_Win32__Process__Perf_list_objects': Perf.xs:382: error: 'DWORD' undeclared (first use in this function) Perf.xs:382: error: parse error before 'dwSize' Perf.xs:383: error: 'PDH_STATUS' undeclared (first use in this function) Perf.xs:393: error: 'dwSize' undeclared (first use in this function) Perf.xs:393: error: 'PERF_DETAIL_EXPERT' undeclared (first use in this function) Perf.xs:393: error: invalid lvalue in assignment Perf.xs:397: error: invalid lvalue in assignment Perf.xs:399: error: switch quantity not an integer Perf.xs:401: error: 'ERROR_SUCCESS' undeclared (first use in this function) Perf.xs:407: error: 'PDH_MORE_DATA' undeclared (first use in this function) Perf.xs:414: error: 'PDH_INSUFFICIENT_BUFFER' undeclared (first use in this function) Perf.xs:421: error: 'PDH_INVALID_ARGUMENT' undeclared (first use in this function) Perf.xs: In function 'XS_Win32__Process__Perf_connect_to_box': Perf.xs:443: error: 'PDH_STATUS' undeclared (first use in this function) Perf.xs:443: error: parse error before 'stat' Perf.xs:452: error: invalid lvalue in assignment Perf.xs:454: error: switch quantity not an integer Perf.xs:456: error: 'ERROR_SUCCESS' undeclared (first use in this function) Perf.xs:462: error: 'PDH_CSTATUS_NO_MACHINE' undeclared (first use in this function) Perf.xs:469: error: 'PDH_MEMORY_ALLOCATION_FAILURE' undeclared (first use in this function) Perf.xs: In function 'XS_Win32__Process__Perf_explain_counter': Perf.xs:492: error: 'PDH_COUNTER_PATH_ELEMENTS' undeclared (first use in this function) Perf.xs:492: error: parse error before 'GStruct' Perf.xs:493: error: 'PDH_COUNTER_INFO' undeclared (first use in this function) Perf.xs:493: error: 'cntInfo' undeclared (first use in this function) Perf.xs:494: error: 'DWORD' undeclared (first use in this function) Perf.xs:494: error: parse error before 'dwSize' Perf.xs:497: error: 'HCOUNTER' undeclared (first use in this function) Perf.xs:498: error: 'HQUERY' undeclared (first use in this function) Perf.xs:500: error: 'PDH_STATUS' undeclared (first use in this function) Perf.xs:500: error: parse error before 'stat' Perf.xs:507: error: 'hQwy' undeclared (first use in this function) Perf.xs:509: error: 'dwGlen' undeclared (first use in this function) Perf.xs:510: error: 'dwSize' undeclared (first use in this function) Perf.xs:518: error: 'GStruct' undeclared (first use in this function) Perf.xs:532: error: invalid lvalue in assignment Perf.xs:534: error: 'ERROR_SUCCESS' undeclared (first use in this function) Perf.xs:541: error: switch quantity not an integer Perf.xs:545: error: 'cnt' undeclared (first use in this function) Perf.xs:545: error: 'dwSize1' undeclared (first use in this function) Perf.xs:545: error: invalid lvalue in assignment Perf.xs:547: error: parse error before ')' token Perf.xs:547: error: parse error before ')' token Perf.xs:549: error: invalid lvalue in assignment Perf.xs:565: error: 'PDH_CSTATUS_BAD_COUNTERNAME' undeclared (first use in this function) Perf.xs:572: error: 'PDH_CSTATUS_NO_COUNTER' undeclared (first use in this function) Perf.xs:579: error: 'PDH_CSTATUS_NO_COUNTERNAME' undeclared (first use in this function) Perf.xs:586: error: 'PDH_CSTATUS_NO_MACHINE' undeclared (first use in this function) Perf.xs:593: error: 'PDH_CSTATUS_NO_OBJECT' undeclared (first use in this function) Perf.xs:600: error: 'PDH_FUNCTION_NOT_FOUND' undeclared (first use in this function) Perf.xs:607: error: 'PDH_INVALID_ARGUMENT' undeclared (first use in this function) Perf.xs:614: error: 'PDH_INVALID_HANDLE' undeclared (first use in this function) Perf.xs:621: error: 'PDH_MEMORY_ALLOCATION_FAILURE' undeclared (first use in this function) Perf.xs: In function 'XS_Win32__Process__Perf_GetProcessUser': Perf.xs:642: error: 'HANDLE' undeclared (first use in this function) Perf.xs:642: error: parse error before 'hprocess' Perf.xs:644: error: 'DWORD' undeclared (first use in this function) Perf.xs:647: error: 'TOKEN_USER' undeclared (first use in this function) Perf.xs:647: error: 'pUserInfo' undeclared (first use in this function) Perf.xs:648: error: 'TCHAR' undeclared (first use in this function) Perf.xs:648: error: parse error before 'szUser' Perf.xs:651: error: 'LPVOID' undeclared (first use in this function) Perf.xs:654: error: 'szUser' undeclared (first use in this function) Perf.xs:655: error: 'szError' undeclared (first use in this function) Perf.xs:656: error: 'PPID' undeclared (first use in this function) Perf.xs:657: error: 'hprocess' undeclared (first use in this function) Perf.xs:657: error: 'PROCESS_QUERY_INFORMATION' undeclared (first use in this function) Perf.xs:660: error: 'TOKEN_ADJUST_PRIVILEGES' undeclared (first use in this function) Perf.xs:660: error: 'TOKEN_QUERY' undeclared (first use in this function) Perf.xs:660: error: 'hdlToken' undeclared (first use in this function) Perf.xs:662: error: 'cbBuffer' undeclared (first use in this function) Perf.xs:663: error: 'TokenUser' undeclared (first use in this function) Perf.xs:663: error: 'cbRequired' undeclared (first use in this function) Perf.xs:664: error: 'ERROR_INSUFFICIENT_BUFFER' undeclared (first use in this function) Perf.xs:665: error: parse error before ')' token Perf.xs:668: error: 'temp' undeclared (first use in this function) Perf.xs:674: error: parse error before 'pUserInfo' Perf.xs:677: error: 'LPTSTR' undeclared (first use in this function) Perf.xs:677: error: parse error before 'lpMsgBuf' Perf.xs:691: error: 'FORMAT_MESSAGE_ALLOCATE_BUFFER' undeclared (first use in this function) Perf.xs:691: error: 'FORMAT_MESSAGE_FROM_SYSTEM' undeclared (first use in this function) Perf.xs:691: error: 'FORMAT_MESSAGE_IGNORE_INSERTS' undeclared (first use in this function) Perf.xs:691: error: 'LANG_NEUTRAL' undeclared (first use in this function) Perf.xs:691: error: 'SUBLANG_DEFAULT' undeclared (first use in this function) Perf.xs:691: error: 'lpMsgBuf' undeclared (first use in this function) Perf.xs:693: error: parse error before 'lpMsgBuf' Perf.xs:707: error: parse error before 'lpMsgBuf' Perf.xs:711: error: parse error before 'else' Perf.xs:715: error: parse error before 'lpMsgBuf' Perf.xs:719: error: parse error before 'pUserInfo' Perf.xs: At top level: Perf.xs:724: warning: parameter names (without types) in function declaration Perf.xs:724: error: conflicting types for 'CleanUp' Perf.xs:56: error: previous definition of 'CleanUp' was here Perf.xs:724: warning: data definition has no type or storage class Perf.xs:725: error: parse error before 'void' Perf.xs:725: error: parse error before '++' token Perf.c:805: error: parse error before '(' token Perf.xs: In function 'XS_Win32__Process__Perf_OSIsSupported': Perf.xs:733: error: 'OSVERSIONINFOEX' undeclared (first use in this function) Perf.xs:733: error: parse error before 'osvi' Perf.xs:734: error: 'BOOL' undeclared (first use in this function) Perf.xs:739: error: 'osvi' undeclared (first use in this function) Perf.xs:741: error: 'bOsVersionInfoEx' undeclared (first use in this function) Perf.xs:741: error: 'OSVERSIONINFO' undeclared (first use in this function) Perf.xs:741: error: parse error before ')' token Perf.xs:744: error: parse error before ')' token Perf.xs:752: error: 'VER_PLATFORM_WIN32_NT' undeclared (first use in this function) Perf.xs: In function 'XS_Win32__Process__Perf_CPU_Time': Perf.xs:770: error: 'HANDLE' undeclared (first use in this function) Perf.xs:770: error: parse error before 'hprocess' Perf.xs:771: error: 'FILETIME' undeclared (first use in this function) Perf.xs:775: error: 'SYSTEMTIME' undeclared (first use in this function) Perf.xs:783: error: 'DWORD' undeclared (first use in this function) Perf.xs:783: error: parse error before 'PID' Perf.xs:785: error: 'PID' undeclared (first use in this function) Perf.xs:787: error: 'hprocess' undeclared (first use in this function) Perf.xs:787: error: 'PROCESS_QUERY_INFORMATION' undeclared (first use in this function) Perf.xs:789: error: 'CreationTime' undeclared (first use in this function) Perf.xs:789: error: 'ExitTime' undeclared (first use in this function) Perf.xs:789: error: 'KernelTime' undeclared (first use in this function) Perf.xs:789: error: 'UserTime' undeclared (first use in this function) Perf.xs:791: error: 'SystemTime' undeclared (first use in this function) Perf.xs: In function 'XS_Win32__Process__Perf__GetLanguage': Perf.xs:813: error: 'LANGID' undeclared (first use in this function) Perf.xs:813: error: parse error before 'SID' Perf.xs:816: error: 'LCID' undeclared (first use in this function) Perf.xs:819: error: 'SID' undeclared (first use in this function) Perf.xs:820: error: 'UID' undeclared (first use in this function) Perf.xs:821: error: 'ID' undeclared (first use in this function) Perf.xs:825: error: 'LID' undeclared (first use in this function) Perf.xs: In function 'XS_Win32__Process__Perf__PdhEnumObjects': Perf.xs:843: error: 'PDH_STATUS' undeclared (first use in this function) Perf.xs:843: error: parse error before 'ret' Perf.xs:849: error: 'ret' undeclared (first use in this function) Perf.xs:849: error: 'LPTSTR' undeclared (first use in this function) Perf.xs:849: error: parse error before 'objectList' make: *** [Perf.o] Error 1