Checking if your kit is complete... Looks good Writing Makefile for Win32::Process::CommandLine cp test_all_pid.pl blib/lib/Win32/Process/test_all_pid.pl cp lib/Win32/Process/CommandLine.pm blib/lib/Win32/Process/CommandLine.pm AutoSplitting blib/lib/Win32/Process/CommandLine.pm (blib/lib/auto/Win32/Process/CommandLine) cp test_one_pid.pl blib/lib/Win32/Process/test_one_pid.pl /Users/cpanrun/build/5.10.0/bin/perl /Users/cpanrun/build/5.10.0/lib/ExtUtils/xsubpp -typemap /Users/cpanrun/build/5.10.0/lib/ExtUtils/typemap CommandLine.xs > CommandLine.xsc && mv CommandLine.xsc CommandLine.c Please specify prototyping behavior for CommandLine.xs (see perlxs manual) gcc -c -I. -fno-common -DPERL_DARWIN -no-cpp-precomp -arch ppc -arch i386 -nostdinc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc -isystem/Developer/SDKs/MacOSX10.4u.sdk/usr/include -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks -mmacosx-version-min=10.3 -DPRIVLIB_LAST_IN_INC -fno-strict-aliasing -pipe -O3 -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" "-I/Users/cpanrun/build/5.10.0/lib/CORE" CommandLine.c In file included from CommandLine.xs:8In file included from CommandLine.xs:8: : stdafx.h:17:21:stdafx.h:17:21: error: error: windows.h: No such file or directorywindows.h: No such file or directory CommandLine.xs:18: error: parse error before 'USHORT'CommandLine.xs:18: error: parse error before 'USHORT' CommandLine.xs:18: warning: no semicolon at end of struct or unionCommandLine.xs:18: warning: no semicolon at end of struct or union CommandLine.xs:19: warning: data definition has no type or storage classCommandLine.xs:19: warning: data definition has no type or storage class CommandLine.xs:20: error: parse error before 'Buffer'CommandLine.xs:20: error: parse error before 'Buffer' CommandLine.xs:20: warning: data definition has no type or storage classCommandLine.xs:20: warning: data definition has no type or storage class CommandLine.xs:21: warning: data definition has no type or storage class CommandLine.xs:25: error: parse error before 'ULONG'CommandLine.xs:21: warning: data definition has no type or storage class CommandLine.xs:25: warning: no semicolon at end of struct or union CommandLine.xs:25: error: parse error before 'ULONG' CommandLine.xs:26: warning: data definition has no type or storage classCommandLine.xs:25: warning: no semicolon at end of struct or union CommandLine.xs:27: error: parse error before 'Flags' CommandLine.xs:26: warning: data definition has no type or storage class CommandLine.xs:27: warning: data definition has no type or storage class CommandLine.xs:27: error: parse error before 'Flags' CommandLine.xs:28: error: parse error before 'Unknown1' CommandLine.xs:27: warning: data definition has no type or storage class CommandLine.xs:28: warning: data definition has no type or storage class CommandLine.xs:28: error: parse error before 'Unknown1' CommandLine.xs:29: error: parse error before 'Unknown2' CommandLine.xs:28: warning: data definition has no type or storage class CommandLine.xs:29: warning: data definition has no type or storage class CommandLine.xs:29: error: parse error before 'Unknown2' CommandLine.xs:30: error: parse error before 'InputHandle' CommandLine.xs:29: warning: data definition has no type or storage class CommandLine.xs:30: warning: data definition has no type or storage class CommandLine.xs:30: error: parse error before 'InputHandle' CommandLine.xs:31: error: parse error before 'OutputHandle' CommandLine.xs:30: warning: data definition has no type or storage class CommandLine.xs:31: warning: data definition has no type or storage class CommandLine.xs:31: error: parse error before 'OutputHandle' CommandLine.xs:32: error: parse error before 'ErrorHandle' CommandLine.xs:31: warning: data definition has no type or storage class CommandLine.xs:32: error: parse error before 'ErrorHandle' CommandLine.xs:32: warning: data definition has no type or storage class CommandLine.xs:33: error: parse error before 'CurrentDirectory'CommandLine.xs:32: warning: data definition has no type or storage class CommandLine.xs:33: warning: data definition has no type or storage classCommandLine.xs:33: error: parse error before 'CurrentDirectory' CommandLine.xs:34: error: parse error before 'CurrentDirectoryHandle' CommandLine.xs:33: warning: data definition has no type or storage class CommandLine.xs:34: warning: data definition has no type or storage class CommandLine.xs:34: error: parse error before 'CurrentDirectoryHandle' CommandLine.xs:35: error: parse error before 'SearchPaths' CommandLine.xs:34: warning: data definition has no type or storage class CommandLine.xs:35: warning: data definition has no type or storage class CommandLine.xs:35: error: parse error before 'SearchPaths' CommandLine.xs:36: error: parse error before 'ApplicationName' CommandLine.xs:35: warning: data definition has no type or storage class CommandLine.xs:36: warning: data definition has no type or storage class CommandLine.xs:36: error: parse error before 'ApplicationName' CommandLine.xs:37: error: parse error before 'CommandLine' CommandLine.xs:36: warning: data definition has no type or storage class CommandLine.xs:37: warning: data definition has no type or storage class CommandLine.xs:37: error: parse error before 'CommandLine' CommandLine.xs:38: error: parse error before 'EnvironmentBlock' CommandLine.xs:37: warning: data definition has no type or storage class CommandLine.xs:38: warning: data definition has no type or storage class CommandLine.xs:38: error: parse error before 'EnvironmentBlock' CommandLine.xs:39: error: parse error before 'Unknown' CommandLine.xs:38: warning: data definition has no type or storage class CommandLine.xs:39: error: parse error before 'Unknown' CommandLine.xs:39: warning: data definition has no type or storage class CommandLine.xs:40: error: parse error before 'Unknown3' CommandLine.xs:39: warning: data definition has no type or storage class CommandLine.xs:40: warning: data definition has no type or storage class CommandLine.xs:40: error: parse error before 'Unknown3' CommandLine.xs:41: error: parse error before 'Unknown4' CommandLine.xs:41: warning: data definition has no type or storage class CommandLine.xs:40: warning: data definition has no type or storage classCommandLine.xs:42: error: parse error before 'Unknown5' CommandLine.xs:41: error: parse error before 'Unknown4'CommandLine.xs:42: warning: data definition has no type or storage class CommandLine.xs:41: warning: data definition has no type or storage classCommandLine.xs:43: error: parse error before 'Unknown6' CommandLine.xs:42: error: parse error before 'Unknown5'CommandLine.xs:43: warning: data definition has no type or storage class CommandLine.xs:42: warning: data definition has no type or storage class CommandLine.xs:44: warning: data definition has no type or storage class CommandLine.xs:48: error: parse error before 'ULONG' CommandLine.xs:43: error: parse error before 'Unknown6'CommandLine.xs:48: warning: no semicolon at end of struct or union CommandLine.xs:43: warning: data definition has no type or storage class CommandLine.xs:49: warning: data definition has no type or storage class CommandLine.xs:44: warning: data definition has no type or storage class CommandLine.xs:50: error: parse error before 'ProcessHinstance' CommandLine.xs:48: error: parse error before 'ULONG' CommandLine.xs:50: warning: data definition has no type or storage class CommandLine.xs:48: warning: no semicolon at end of struct or unionCommandLine.xs:51: error: parse error before 'ListDlls' CommandLine.xs:51: warning: data definition has no type or storage class CommandLine.xs:52: error: parse error before 'ProcessParameters' CommandLine.xs:52: warning: data definition has no type or storage class CommandLine.xs:53: error: parse error before 'Unknown2' CommandLine.xs:53: warning: data definition has no type or storage class CommandLine.xs:54: error: parse error before 'Heap' CommandLine.xs:54: warning: data definition has no type or storage class CommandLine.xs:55: warning: data definition has no type or storage classCommandLine.xs:49: warning: data definition has no type or storage class CommandLine.xs:59: error: parse error before 'DWORD'CommandLine.xs:50: error: parse error before 'ProcessHinstance' CommandLine.xs:59: warning: no semicolon at end of struct or union CommandLine.xs:50: warning: data definition has no type or storage class CommandLine.xs:60: warning: data definition has no type or storage class CommandLine.xs:51: error: parse error before 'ListDlls' CommandLine.xs:61: error: parse error before 'AffinityMask' CommandLine.xs:51: warning: data definition has no type or storage class CommandLine.xs:61: warning: data definition has no type or storage class CommandLine.xs:52: error: parse error before 'ProcessParameters' CommandLine.xs:62: error: parse error before 'BasePriority' CommandLine.xs:52: warning: data definition has no type or storage class CommandLine.xs:62: warning: data definition has no type or storage class CommandLine.xs:53: error: parse error before 'Unknown2' CommandLine.xs:63: error: parse error before 'UniqueProcessId' CommandLine.xs:53: warning: data definition has no type or storage class CommandLine.xs:63: warning: data definition has no type or storage class CommandLine.xs:54: error: parse error before 'Heap' CommandLine.xs:64: error: parse error before 'InheritedFromUniqueProcessId' CommandLine.xs:54: warning: data definition has no type or storage class CommandLine.xs:64: warning: data definition has no type or storage class CommandLine.xs:55: warning: data definition has no type or storage classCommandLine.xs:65: warning: data definition has no type or storage class CommandLine.xs:59: error: parse error before 'DWORD'CommandLine.xs:67: error: parse error before '*' token CommandLine.xs:59: warning: no semicolon at end of struct or union CommandLine.xs:67: warning: parameter names (without types) in function declaration CommandLine.xs:60: warning: data definition has no type or storage class CommandLine.xs:67: error: 'LONG' declared as function returning a function CommandLine.xs:61: error: parse error before 'AffinityMask' CommandLine.xs:61: warning: data definition has no type or storage class CommandLine.xs:69: error: parse error before 'NtQueryInformationProcess'CommandLine.xs:62: error: parse error before 'BasePriority' CommandLine.xs:69: warning: data definition has no type or storage classCommandLine.xs:62: warning: data definition has no type or storage class CommandLine.xs:71: error: parse error before 'GetProcessCmdLine'CommandLine.xs:63: error: parse error before 'UniqueProcessId' CommandLine.xs:71: error: parse error before 'dwId'CommandLine.xs:63: warning: data definition has no type or storage class CommandLine.xs:64: error: parse error before 'InheritedFromUniqueProcessId' CommandLine.xs:71: warning: data definition has no type or storage classCommandLine.xs:64: warning: data definition has no type or storage class CommandLine.xs:65: warning: data definition has no type or storage class CommandLine.xs:67: error: parse error before '*' token CommandLine.xs: In function 'GetPidCommandLine': CommandLine.xs:67: warning: parameter names (without types) in function declarationCommandLine.xs:74: error: 'DWORD' undeclared (first use in this function) CommandLine.xs:74: error: (Each undeclared identifier is reported only once CommandLine.xs:67: error: 'LONG' declared as function returning a function CommandLine.xs:74: error: for each function it appears in.) CommandLine.xs:69: error: parse error before 'NtQueryInformationProcess'CommandLine.xs:74: error: parse error before 'dwMinSize' CommandLine.xs:69: warning: data definition has no type or storage class CommandLine.xs:79: error: 'LPWSTR' undeclared (first use in this function) CommandLine.xs:71: error: parse error before 'GetProcessCmdLine' CommandLine.xs:84: error: 'PROCNTQSIP' undeclared (first use in this function) CommandLine.xs:71: error: parse error before 'dwId' CommandLine.xs:84: error: parse error before 'GetProcAddress' CommandLine.xs:71: warning: data definition has no type or storage class CommandLine.xs:90: error: 'wstr' undeclared (first use in this function) CommandLine.xs: In function 'GetPidCommandLine': CommandLine.xs:74: error: 'DWORD' undeclared (first use in this function) CommandLine.xs:74: error: (Each undeclared identifier is reported only once CommandLine.xs:74: error: for each function it appears in.) CommandLine.xs:74: error: parse error before 'dwMinSize' CommandLine.xs:103: error: 'dwMinSize' undeclared (first use in this function) CommandLine.xs:79: error: 'LPWSTR' undeclared (first use in this function) CommandLine.xs:103: error: 'CP_OEMCP' undeclared (first use in this function) CommandLine.xs:84: error: 'PROCNTQSIP' undeclared (first use in this function) CommandLine.xs:84: error: parse error before 'GetProcAddress' CommandLine.xs:109: error: 'PWSTR' undeclared (first use in this function)CommandLine.xs:90: error: 'wstr' undeclared (first use in this function) CommandLine.xs:109: error: parse error before 'wstr' CommandLine.xs:103: error: 'dwMinSize' undeclared (first use in this function) CommandLine.xs:103: error: 'CP_OEMCP' undeclared (first use in this function) CommandLine.xs:109: error: 'PWSTR' undeclared (first use in this function) CommandLine.xs:109: error: parse error before 'wstr' CommandLine.xs: At top level: CommandLine.xs:136: error: parse error before 'GetProcessCmdLine' CommandLine.xs:136: error: parse error before 'dwId' CommandLine.xs: In function 'GetProcessCmdLine': CommandLine.xs:139: error: 'HANDLE' undeclared (first use in this function) CommandLine.xs:139: error: parse error before 'hProcess' CommandLine.xs:143: error: 'DWORD' undeclared (first use in this function) CommandLine.xs:145: error: 'LPVOID' undeclared (first use in this function)CommandLine.xs: At top level: CommandLine.xs:136: error: parse error before 'GetProcessCmdLine'CommandLine.xs:146: error: 'BOOL' undeclared (first use in this function) CommandLine.xs:136: error: parse error before 'dwId' CommandLine.xs:147: error: 'wBuf' undeclared (first use in this function) CommandLine.xs:150: error: 'hProcess' undeclared (first use in this function) CommandLine.xs:150: error: 'PROCESS_QUERY_INFORMATION' undeclared (first use in this function)CommandLine.xs: In function 'GetProcessCmdLine': CommandLine.xs:139: error: 'HANDLE' undeclared (first use in this function) CommandLine.xs:139: error: parse error before 'hProcess'CommandLine.xs:150: error: 'PROCESS_VM_READ' undeclared (first use in this function) CommandLine.xs:150: error: 'dwId' undeclared (first use in this function) CommandLine.xs:157: error: 'PVOID' undeclared (first use in this function) CommandLine.xs:143: error: 'DWORD' undeclared (first use in this function)CommandLine.xs:157: error: 'pbi' undeclared (first use in this function) CommandLine.xs:145: error: 'LPVOID' undeclared (first use in this function) CommandLine.xs:146: error: 'BOOL' undeclared (first use in this function) CommandLine.xs:147: error: 'wBuf' undeclared (first use in this function) CommandLine.xs:160: error: called object 'NtQueryInformationProcess' is not a function CommandLine.xs:150: error: 'hProcess' undeclared (first use in this function) CommandLine.xs:163: warning: the address of 'status', will always evaluate as 'true' CommandLine.xs:150: error: 'PROCESS_QUERY_INFORMATION' undeclared (first use in this function) CommandLine.xs:168: error: 'Peb' undeclared (first use in this function) CommandLine.xs:150: error: 'PROCESS_VM_READ' undeclared (first use in this function) CommandLine.xs:171: error: 'dwDummy' undeclared (first use in this function)CommandLine.xs:150: error: 'dwId' undeclared (first use in this function) CommandLine.xs:177: error: 'ProcParam' undeclared (first use in this function) CommandLine.xs:157: error: 'PVOID' undeclared (first use in this function) CommandLine.xs:157: error: 'pbi' undeclared (first use in this function) CommandLine.xs:184: error: 'lpAddress' undeclared (first use in this function) CommandLine.xs:185: error: 'dwSize' undeclared (first use in this function) CommandLine.xs:187: error: 'LPWSTR' undeclared (first use in this function) CommandLine.xs:160: error: called object 'NtQueryInformationProcess' is not a function CommandLine.xs:187: error: parse error before 'malloc' CommandLine.xs:163: warning: the address of 'status', will always evaluate as 'true' CommandLine.xs:168: error: 'Peb' undeclared (first use in this function) CommandLine.xs:202: error: 'bRet' undeclared (first use in this function) CommandLine.xs:171: error: 'dwDummy' undeclared (first use in this function) CommandLine.xs:177: error: 'ProcParam' undeclared (first use in this function) CommandLine.xs:184: error: 'lpAddress' undeclared (first use in this function) CommandLine.xs:185: error: 'dwSize' undeclared (first use in this function) CommandLine.xs:187: error: 'LPWSTR' undeclared (first use in this function) CommandLine.xs:187: error: parse error before 'malloc' CommandLine.xs:202: error: 'bRet' undeclared (first use in this function) lipo: can't open input file: /var/tmp//cc4zzbx1.out (No such file or directory) make: *** [CommandLine.o] Error 1