Checking if your kit is complete... Looks good Writing Makefile for File::Defrag cp Defrag.pm blib/lib/File/Defrag.pm /home/cpanrun/ia64/build/5.8.2/bin/perl /home/cpanrun/ia64/build/5.8.2/lib/5.8.2/ExtUtils/xsubpp -typemap /home/cpanrun/ia64/build/5.8.2/lib/5.8.2/ExtUtils/typemap Defrag.xs > Defrag.xsc && mv Defrag.xsc Defrag.c cc -c -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fast +DSitanium2 +Ofltacc=strict -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" +Z "-I/home/cpanrun/ia64/build/5.8.2/lib/5.8.2/IA64.ARCHREV_0-thread-multi/CORE" Defrag.c Error 112: "Defrag.xs", line 15 # Include file not found. #include ^^^^^^^^^^^^ Error 172: "Defrag.xs", line 33 # Undeclared variable 'O_NOFOLLOW'. = open (pathname, flags | O_DIRECT | O_LARGEFILE | O_NOATIME | O_NOFOLLOW, mode); ^^^^^^^^^^ Error 172: "Defrag.xs", line 36 # Undeclared variable 'O_NOFOLLOW'. fd = open (pathname, flags | O_LARGEFILE | O_NOATIME | O_NOFOLLOW, mode); ^^^^^^^^^^ Error 172: "Defrag.xs", line 61 # Undeclared variable 'MAP_LOCKED'. MAP_PRIVATE | MAP_LOCKED | MAP_ANONYMOUS | MAP_POPULATE, ^^^^^^^^^^ Error 628: "Defrag.xs", line 97 # "stat64#13 statdata" ["Defrag.xs", line 97] cannot be defined to have an incomplete type. struct stat64 statdata; ^^^^^^^^ Error 172: "Defrag.xs", line 104 # Undeclared variable 'FIGETBSZ'. if (ioctl (fd, FIGETBSZ, &blksize)) ^^^^^^^^ Error 172: "Defrag.xs", line 110 # Undeclared variable 'FIBMAP'. if (ioctl (fd, FIBMAP, &next_blk)) ^^^^^^ Error 548: "Defrag.xs", line 113 # The expression on the left side of the '.' (dot member access operator) must be a completed struct object type; the type of the left side is 'tentative struct stat64' and 'struct stat64' has not been defined yet. long count = (statdata.st_size + blksize - 1) / blksize; ^^^^^^^^ Error 172: "Defrag.xs", line 119 # Undeclared variable 'FIBMAP'. if (ioctl (fd, FIBMAP, &blk)) ^^^^^^ make: *** [Defrag.o] Error 2