Checking if your kit is complete... Looks good Writing Makefile for Win32::Hardlink cp Hardlink.pm blib/lib/Win32/Hardlink.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 -typemap typemap Hardlink.xs > Hardlink.xsc && mv Hardlink.xsc Hardlink.c Please specify prototyping behavior for Hardlink.xs (see perlxs manual) gcc -c -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.02\" -DXS_VERSION=\"0.02\" -fPIC -I/home/cpanrun/ia64-lp64/build/5.6.1/lib/5.6.1/IA64.ARCHREV_0-thread-multi-64all/CORE Hardlink.c gcc -c -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.02\" -DXS_VERSION=\"0.02\" -fPIC -I/home/cpanrun/ia64-lp64/build/5.6.1/lib/5.6.1/IA64.ARCHREV_0-thread-multi-64all/CORE lnw.cpp lnw.cpp:20:21: windows.h: No such file or directory lnw.cpp:22:19: tchar.h: No such file or directory lnw.cpp:30: error: ISO C++ forbids declaration of `BOOL' with no type lnw.cpp:30: error: typedef `BOOL' is initialized (use __typeof__ instead) lnw.cpp:30: error: `__stdcall' was not declared in this scope lnw.cpp:30: error: `chl_t' was not declared in this scope lnw.cpp:30: error: expected `,' or `;' before '(' token lnw.cpp:33: error: `TCHAR' was not declared in this scope lnw.cpp:33: error: `oldpath' was not declared in this scope lnw.cpp:33: error: `TCHAR' was not declared in this scope lnw.cpp:33: error: `newpath' was not declared in this scope lnw.cpp:33: error: initializer expression list treated as compound expression lnw.cpp:47: error: expected `,' or `...' before '*' token lnw.cpp:48: error: ISO C++ forbids declaration of `TCHAR' with no type lnw.cpp: In function `void doerr(int)': lnw.cpp:49: error: `DWORD' undeclared (first use this function) lnw.cpp:49: error: (Each undeclared identifier is reported only once for each function it appears in.) lnw.cpp:49: error: expected `;' before "e" lnw.cpp:51: error: `e' undeclared (first use this function) lnw.cpp:51: error: `GetLastError' undeclared (first use this function) lnw.cpp:55: error: `_T' undeclared (first use this function) lnw.cpp:55: error: `file' undeclared (first use this function) lnw.cpp:55: error: `line' undeclared (first use this function) lnw.cpp:55: error: `_tprintf' undeclared (first use this function) lnw.cpp:56: error: `exit' undeclared (first use this function) lnw.cpp: In function `void enableprivs()': lnw.cpp:63: error: `HANDLE' undeclared (first use this function) lnw.cpp:63: error: expected `;' before "hToken" lnw.cpp:64: error: `byte' undeclared (first use this function) lnw.cpp:64: error: expected `;' before "buf" lnw.cpp:65: error: `TOKEN_PRIVILEGES' undeclared (first use this function) lnw.cpp:65: error: `tkp' undeclared (first use this function) lnw.cpp:65: error: expected primary-expression before ')' token lnw.cpp:65: error: expected `)' before "buf" lnw.cpp:67: error: `GetCurrentProcess' undeclared (first use this function) lnw.cpp:68: error: `TOKEN_ADJUST_PRIVILEGES' undeclared (first use this function) lnw.cpp:68: error: `TOKEN_QUERY' undeclared (first use this function) lnw.cpp:68: error: `hToken' undeclared (first use this function) lnw.cpp:68: error: `OpenProcessToken' undeclared (first use this function) lnw.cpp:69: error: `_T' undeclared (first use this function) lnw.cpp:73: error: `SE_BACKUP_NAME' undeclared (first use this function) lnw.cpp:73: error: `LookupPrivilegeValue' undeclared (first use this function) lnw.cpp:76: error: `SE_RESTORE_NAME' undeclared (first use this function) lnw.cpp:80: error: `SE_PRIVILEGE_ENABLED' undeclared (first use this function) lnw.cpp:83: error: `FALSE' undeclared (first use this function) lnw.cpp:83: error: `AdjustTokenPrivileges' undeclared (first use this function) lnw.cpp: At global scope: lnw.cpp:91: error: expected `,' or `...' before '*' token lnw.cpp:92: error: ISO C++ forbids declaration of `TCHAR' with no type lnw.cpp: In function `void CreateHardLinkNt4(int)': lnw.cpp:93: error: `HANDLE' undeclared (first use this function) lnw.cpp:93: error: expected `;' before "fh" lnw.cpp:94: error: `TCHAR' does not name a type lnw.cpp:95: error: `p' undeclared (first use this function) lnw.cpp:97: error: `WIN32_STREAM_ID' undeclared (first use this function) lnw.cpp:97: error: expected `;' before "wsi" lnw.cpp:98: error: `MAX_PATH' undeclared (first use this function) lnw.cpp:99: error: `DWORD' undeclared (first use this function) lnw.cpp:99: error: expected `;' before "numwritten" lnw.cpp:103: error: `fh' undeclared (first use this function) lnw.cpp:103: error: `toFile' undeclared (first use this function) lnw.cpp:103: error: `OPEN_EXISTING' undeclared (first use this function) lnw.cpp:103: error: `CreateFile' undeclared (first use this function) lnw.cpp:104: error: `INVALID_HANDLE_VALUE' undeclared (first use this function) lnw.cpp:106: error: `CloseHandle' undeclared (first use this function) lnw.cpp:107: error: `_T' undeclared (first use this function) lnw.cpp:107: error: `_tprintf' undeclared (first use this function) lnw.cpp:108: error: `ERROR_ALREADY_EXISTS' undeclared (first use this function) lnw.cpp:108: error: `SetLastError' undeclared (first use this function) lnw.cpp:112: error: `fromFile' undeclared (first use this function) lnw.cpp:112: error: `GENERIC_WRITE' undeclared (first use this function) lnw.cpp:113: error: `FILE_FLAG_BACKUP_SEMANTICS' undeclared (first use this function) lnw.cpp:113: error: `FILE_FLAG_POSIX_SEMANTICS' undeclared (first use this function) lnw.cpp:117: error: `buf1' undeclared (first use this function) lnw.cpp:117: error: `GetFullPathName' undeclared (first use this function) lnw.cpp:119: error: `wsi' undeclared (first use this function) lnw.cpp:119: error: `BACKUP_LINK' undeclared (first use this function) lnw.cpp:123: error: `CP_ACP' undeclared (first use this function) lnw.cpp:123: error: `buf2' undeclared (first use this function) lnw.cpp:123: error: `MultiByteToWideChar' undeclared (first use this function) lnw.cpp:127: error: `wcslen' undeclared (first use this function) lnw.cpp:129: error: `byte' undeclared (first use this function) lnw.cpp:129: error: expected primary-expression before ')' token lnw.cpp:129: error: expected primary-expression before ')' token lnw.cpp:129: error: expected primary-expression before ')' token lnw.cpp:129: error: expected `)' before numeric constant lnw.cpp:130: error: expected `)' before ';' token lnw.cpp:130: error: expected `)' before ';' token lnw.cpp:130: error: expected `)' before ';' token lnw.cpp:131: error: `numwritten' undeclared (first use this function) lnw.cpp:131: error: expected primary-expression before ')' token lnw.cpp:131: error: expected primary-expression before ')' token lnw.cpp:131: error: expected `)' before numeric constant lnw.cpp:132: error: expected `)' before ';' token lnw.cpp:132: error: expected `)' before ';' token lnw.cpp:132: error: expected `)' before ';' token lnw.cpp:134: error: expected primary-expression before ')' token lnw.cpp:134: error: `FALSE' undeclared (first use this function) lnw.cpp:134: error: `BackupWrite' undeclared (first use this function) lnw.cpp:140: error: expected primary-expression before ')' token lnw.cpp:140: error: `TRUE' undeclared (first use this function) lnw.cpp: At global scope: lnw.cpp:147: error: expected `,' or `...' before '*' token lnw.cpp:148: error: ISO C++ forbids declaration of `TCHAR' with no type lnw.cpp: In function `int CreateHardLinkNt5(int)': lnw.cpp:149: error: `chl_t' undeclared (first use this function) lnw.cpp:149: error: expected `;' before "chl" lnw.cpp:153: error: `HMODULE' undeclared (first use this function) lnw.cpp:153: error: expected `;' before "hmk32" lnw.cpp:154: error: `hmk32' undeclared (first use this function) lnw.cpp:154: error: expected `)' before numeric constant lnw.cpp:156: error: `chl' undeclared (first use this function) lnw.cpp:156: error: expected `;' before "GetProcAddress" lnw.cpp:162: error: `toFile' undeclared (first use this function) lnw.cpp:162: error: `fromFile' undeclared (first use this function) lnw.cpp:163: error: `_T' undeclared (first use this function) lnw.cpp:164: error: `GetLastError' undeclared (first use this function) lnw.cpp:164: error: `_tprintf' undeclared (first use this function) lnw.cpp:168: error: `FreeLibrary' undeclared (first use this function) lnw.cpp: At global scope: lnw.cpp:174: error: redefinition of `int create_hard_link' lnw.cpp:33: error: `int create_hard_link' previously defined here lnw.cpp:174: error: `TCHAR' was not declared in this scope lnw.cpp:174: error: `oldpath' was not declared in this scope lnw.cpp:174: error: `TCHAR' was not declared in this scope lnw.cpp:174: error: `newpath' was not declared in this scope lnw.cpp:174: error: expected `,' or `;' before '{' token make: *** [lnw.o] Error 1