Checking if your kit is complete... Looks good Writing Makefile for Win32::Symlink cp Symlink.pm blib/lib/Win32/Symlink.pm /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 -typemap typemap Symlink.xs > Symlink.xsc && mv Symlink.xsc Symlink.c Please specify prototyping behavior for Symlink.xs (see perlxs manual) gcc -c -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" Symlink.c In file included from Symlink.xs:11: pgsymlink.c:5:21: error: windows.h: No such file or directory pgsymlink.c:6:22: error: winioctl.h: No such file or directory In file included from Symlink.xs:11: pgsymlink.c:18: error: parse error before 'DWORD' pgsymlink.c:18: warning: no semicolon at end of struct or union pgsymlink.c:19: warning: data definition has no type or storage class pgsymlink.c:20: error: parse error before 'Reserved' pgsymlink.c:20: warning: data definition has no type or storage class pgsymlink.c:22: error: parse error before 'SubstituteNameOffset' pgsymlink.c:22: warning: data definition has no type or storage class pgsymlink.c:23: error: parse error before 'SubstituteNameLength' pgsymlink.c:23: warning: data definition has no type or storage class pgsymlink.c:24: error: parse error before 'PrintNameOffset' pgsymlink.c:24: warning: data definition has no type or storage class pgsymlink.c:25: error: parse error before 'PrintNameLength' pgsymlink.c:25: warning: data definition has no type or storage class pgsymlink.c:26: error: parse error before 'PathBuffer' pgsymlink.c:26: warning: data definition has no type or storage class pgsymlink.c:27: error: parse error before '}' token pgsymlink.c:28: warning: data definition has no type or storage class pgsymlink.c: In function 'pgsymlink': pgsymlink.c:41: error: 'HANDLE' undeclared (first use in this function) pgsymlink.c:41: error: (Each undeclared identifier is reported only once pgsymlink.c:41: error: for each function it appears in.) pgsymlink.c:41: error: parse error before 'dirhandle' pgsymlink.c:42: error: 'DWORD' undeclared (first use in this function) pgsymlink.c:43: error: 'MAX_PATH' undeclared (first use in this function) pgsymlink.c:45: error: 'WCHAR' undeclared (first use in this function) pgsymlink.c:46: error: 'reparseBuf' undeclared (first use in this function) pgsymlink.c:46: error: parse error before ')' token pgsymlink.c:49: error: 'dirhandle' undeclared (first use in this function) pgsymlink.c:49: error: 'GENERIC_READ' undeclared (first use in this function) pgsymlink.c:49: error: 'GENERIC_WRITE' undeclared (first use in this function) pgsymlink.c:50: error: 'OPEN_EXISTING' undeclared (first use in this function) pgsymlink.c:51: error: 'FILE_FLAG_OPEN_REPARSE_POINT' undeclared (first use in this function) pgsymlink.c:51: error: 'FILE_FLAG_BACKUP_SEMANTICS' undeclared (first use in this function) pgsymlink.c:53: error: 'INVALID_HANDLE_VALUE' undeclared (first use in this function) In file included from Symlink.xs:11: pgsymlink.c:5:21: error: windows.h: No such file or directory pgsymlink.c:6:22: error: pgsymlink.c:65: error: 'len' undeclared (first use in this function)winioctl.h: No such file or directory pgsymlink.c:66: error: 'IO_REPARSE_TAG_MOUNT_POINT' undeclared (first use in this function) In file included from Symlink.xs:11: pgsymlink.c:18: error: parse error before 'DWORD' pgsymlink.c:18: warning: no semicolon at end of struct or union pgsymlink.c:73: error: 'CP_ACP' undeclared (first use in this function) pgsymlink.c:19: warning: data definition has no type or storage class pgsymlink.c:20: error: parse error before 'Reserved' pgsymlink.c:20: warning: data definition has no type or storage classpgsymlink.c:81: error: 'FILE_DEVICE_FILE_SYSTEM' undeclared (first use in this function) pgsymlink.c:81: error: 'METHOD_BUFFERED' undeclared (first use in this function)pgsymlink.c:22: error: parse error before 'SubstituteNameOffset' pgsymlink.c:81: error: 'FILE_ANY_ACCESS' undeclared (first use in this function) pgsymlink.c:22: warning: data definition has no type or storage class pgsymlink.c:23: error: parse error before 'SubstituteNameLength' pgsymlink.c:86: error: 'LPSTR' undeclared (first use in this function) pgsymlink.c:23: warning: data definition has no type or storage classpgsymlink.c:86: error: parse error before 'msg' pgsymlink.c:24: error: parse error before 'PrintNameOffset' pgsymlink.c:24: warning: data definition has no type or storage classpgsymlink.c:89: error: 'FORMAT_MESSAGE_ALLOCATE_BUFFER' undeclared (first use in this function) pgsymlink.c:25: error: parse error before 'PrintNameLength'pgsymlink.c:89: error: 'FORMAT_MESSAGE_FROM_SYSTEM' undeclared (first use in this function) pgsymlink.c:25: warning: data definition has no type or storage class pgsymlink.c:26: error: parse error before 'PathBuffer'pgsymlink.c:91: error: 'LANG_NEUTRAL' undeclared (first use in this function) pgsymlink.c:91: error: 'SUBLANG_DEFAULT' undeclared (first use in this function) pgsymlink.c:92: error: 'msg' undeclared (first use in this function) pgsymlink.c:26: warning: data definition has no type or storage class pgsymlink.c:27: error: parse error before '}' token pgsymlink.c:28: warning: data definition has no type or storage class pgsymlink.c: In function 'pgsymlink': pgsymlink.c:41: error: 'HANDLE' undeclared (first use in this function) pgsymlink.c:41: error: (Each undeclared identifier is reported only once pgsymlink.c:41: error: for each function it appears in.) pgsymlink.c:41: error: parse error before 'dirhandle' pgsymlink.c:42: error: 'DWORD' undeclared (first use in this function) pgsymlink.c:43: error: 'MAX_PATH' undeclared (first use in this function) pgsymlink.c:45: error: 'WCHAR' undeclared (first use in this function) pgsymlink.c:46: error: 'reparseBuf' undeclared (first use in this function) pgsymlink.c:46: error: parse error before ')' token pgsymlink.c:49: error: 'dirhandle' undeclared (first use in this function) pgsymlink.c:49: error: 'GENERIC_READ' undeclared (first use in this function) pgsymlink.c:49: error: 'GENERIC_WRITE' undeclared (first use in this function) pgsymlink.c:50: error: 'OPEN_EXISTING' undeclared (first use in this function) pgsymlink.c:51: error: 'FILE_FLAG_OPEN_REPARSE_POINT' undeclared (first use in this function) pgsymlink.c:51: error: 'FILE_FLAG_BACKUP_SEMANTICS' undeclared (first use in this function) pgsymlink.c:53: error: 'INVALID_HANDLE_VALUE' undeclared (first use in this function) pgsymlink.c:65: error: 'len' undeclared (first use in this function) pgsymlink.c:66: error: 'IO_REPARSE_TAG_MOUNT_POINT' undeclared (first use in this function) pgsymlink.c:73: error: 'CP_ACP' undeclared (first use in this function) pgsymlink.c:81: error: 'FILE_DEVICE_FILE_SYSTEM' undeclared (first use in this function) pgsymlink.c:81: error: 'METHOD_BUFFERED' undeclared (first use in this function) pgsymlink.c:81: error: 'FILE_ANY_ACCESS' undeclared (first use in this function) pgsymlink.c:86: error: 'LPSTR' undeclared (first use in this function) pgsymlink.c:86: error: parse error before 'msg' pgsymlink.c:89: error: 'FORMAT_MESSAGE_ALLOCATE_BUFFER' undeclared (first use in this function) pgsymlink.c:89: error: 'FORMAT_MESSAGE_FROM_SYSTEM' undeclared (first use in this function) pgsymlink.c:91: error: 'LANG_NEUTRAL' undeclared (first use in this function) pgsymlink.c:91: error: 'SUBLANG_DEFAULT' undeclared (first use in this function) pgsymlink.c:92: error: 'msg' undeclared (first use in this function) lipo: can't open input file: /var/tmp//ccxUPY8w.out (No such file or directory) make: *** [Symlink.o] Error 1