Checking if your kit is complete... Looks good Writing Makefile for Linux::Inotify2 cp Inotify2.pm blib/lib/Linux/Inotify2.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 Inotify2.xs > Inotify2.xsc && mv Inotify2.xsc Inotify2.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=\"1.1\" -DXS_VERSION=\"1.1\" +Z "-I/home/cpanrun/ia64/build/5.8.2/lib/5.8.2/IA64.ARCHREV_0-thread-multi/CORE" Inotify2.c Error 112: "inotify.h", line 10 # Include file not found. #include ^^^^^^^^^^^^^^^ Error 419: "inotify.h", line 19 # '__s32' is used as a type, but has not been defined as a type. __s32 wd; /* watch descriptor */ ^^^^^ Error 419: "inotify.h", line 20 # '__u32' is used as a type, but has not been defined as a type. __u32 mask; /* watch mask */ ^^^^^ Error 419: "inotify.h", line 21 # '__u32' is used as a type, but has not been defined as a type. __u32 cookie; /* cookie to synchronize two events */ ^^^^^ Error 419: "inotify.h", line 22 # '__u32' is used as a type, but has not been defined as a type. __u32 len; /* length (including nulls) of name */ ^^^^^ Error 176: "inotify.h", line 23 # Size of array must be an integral constant expression of value greater than 0. char name[0]; /* stub for possible name */ ^ Error 119: "inotify-syscalls.h", line 92 # #error "Unsupported architecture!" # error "Unsupported architecture!" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error 20: "inotify-syscalls.h", line 95 # ';' expected before 'int'. static inline int inotify_init (void) ^^^ Error 172: "inotify-syscalls.h", line 97 # Undeclared variable '__NR_inotify_init'. return syscall (__NR_inotify_init); ^^^^^^^^^^^^^^^^^ Error 20: "inotify-syscalls.h", line 100 # ';' expected before 'int'. static inline int inotify_add_watch (int fd, const char *name, __u32 mask) ^^^ Error 419: "inotify-syscalls.h", line 100 # '__u32' is used as a type, but has not been defined as a type. static inline int inotify_add_watch (int fd, const char *name, __u32 mask) ^^^^^ Error 172: "inotify-syscalls.h", line 102 # Undeclared variable '__NR_inotify_add_watch'. return syscall (__NR_inotify_add_watch, fd, name, mask); ^^^^^^^^^^^^^^^^^^^^^^ Error 699: "inotify-syscalls.h", line 102 # Error limit reached; halting compilation. return syscall (__NR_inotify_add_watch, fd, name, mask); ^^^^^^^^^^^^^^^^^^^^^^ make: *** [Inotify2.o] Error 2