Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lutil Writing Makefile for BSD::Jail cp Jail.pm blib/lib/BSD/Jail.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 Jail.xs > Jail.xsc && mv Jail.xsc Jail.c Please specify prototyping behavior for Jail.xs (see perlxs manual) 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.01\" -DXS_VERSION=\"0.01\" +Z "-I/home/cpanrun/ia64/build/5.8.2/lib/5.8.2/IA64.ARCHREV_0-thread-multi/CORE" Jail.c Error 119: "Jail.xs", line 6 # #error This only works on FreeBSD 4.0 or greater #error This only works on FreeBSD 4.0 or greater ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error 112: "Jail.xs", line 10 # Include file not found. #include ^^^^^^^^^^^^ Error 244: "Jail.xs", line 25 # sizeof may not be applied to an undefined struct. New(0, sxp, 1, struct xprison); ^^^ Error 244: "Jail.xs", line 31 # sizeof may not be applied to an undefined struct. len < sizeof(*xp) || len % sizeof(*xp) || xp->pr_version != XPRISON_VERSION ^ Error 244: "Jail.xs", line 31 # sizeof may not be applied to an undefined struct. len < sizeof(*xp) || len % sizeof(*xp) || xp->pr_version != XPRISON_VERSION ^ Error 359: "Jail.xs", line 31 # The expression on the left side of the '->' (arrow member access operator) must be a pointer to completed struct object type; the type of the left side is 'xprison *' and 'struct xprison' has not been defined yet. len < sizeof(*xp) || len % sizeof(*xp) || xp->pr_version != XPRISON_VERSION ^^ Error 172: "Jail.xs", line 31 # Undeclared variable 'XPRISON_VERSION'. len < sizeof(*xp) || len % sizeof(*xp) || xp->pr_version != XPRISON_VERSION ^^^^^^^^^^^^^^^ Error 331: "Jail.xs", line 31 # Illegal cast expression; cannot cast expression type '' to 'int'. len < sizeof(*xp) || len % sizeof(*xp) || xp->pr_version != XPRISON_VERSION ^^^^^^^^^^^^^^ Error 331: "Jail.xs", line 31 # Illegal cast expression; cannot cast expression type '' to 'int'. len < sizeof(*xp) || len % sizeof(*xp) || xp->pr_version != XPRISON_VERSION ^^^^^^^^^^^^^^^ Error 244: "Jail.xs", line 37 # sizeof may not be applied to an undefined struct. for (loop = 0; loop < len / sizeof(*xp) && loop < MAX_JAILS_RETURNED; loop++) { ^ Error 359: "Jail.xs", line 38 # The expression on the left side of the '->' (arrow member access operator) must be a pointer to completed struct object type; the type of the left side is 'xprison *' and 'struct xprison' has not been defined yet. jids[loop] = xp->pr_id; ^^ Error 310: "Jail.xs", line 39 # Operand of ++ may not be a pointer to an incomplete or function type. xp++; ^^ Error 699: "Jail.xs", line 39 # Error limit reached; halting compilation. xp++; ^^ make: *** [Jail.o] Error 2