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 /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 Jail.xs > Jail.xsc && mv Jail.xsc Jail.c Please specify prototyping behavior for Jail.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.01\" -DXS_VERSION=\"0.01\" "-I/Users/cpanrun/build/5.10.0/lib/CORE" Jail.c Jail.xs:6:2: error: #error This only works on FreeBSD 4.0 or greater Jail.xs:10:22: error: sys/jail.h: No such file or directory Jail.xs: In function '_get_jids': Jail.xs:25: error: invalid application of 'sizeof' to incomplete type 'struct xprison' Jail.xs:25: error: invalid application of 'sizeof' to incomplete type 'struct xprison' Jail.xs:25: error: invalid application of 'sizeof' to incomplete type 'struct xprison' Jail.xs:31: error: dereferencing pointer to incomplete type Jail.xs:31: error: dereferencing pointer to incomplete type Jail.xs:31: error: dereferencing pointer to incomplete type Jail.xs:32: error: 'XPRISON_VERSION' undeclared (first use in this function) Jail.xs:32: error: (Each undeclared identifier is reported only once Jail.xs:32: error: for each function it appears in.) Jail.xs:37: error: dereferencing pointer to incomplete type Jail.xs:38: error: dereferencing pointer to incomplete type Jail.xs:39: error: increment of pointer to unknown structure Jail.xs:39: error: arithmetic on pointer to an incomplete type Jail.xs: In function '_get_xp': Jail.xs:62: error: invalid application of 'sizeof' to incomplete type 'struct xprison' Jail.xs:62: error: invalid application of 'sizeof' to incomplete type 'struct xprison' Jail.xs:62: error: invalid application of 'sizeof' to incomplete type 'struct xprison' Jail.xs:66: error: invalid application of 'sizeof' to incomplete type 'struct xprison' Jail.xs:66: error: invalid application of 'sizeof' to incomplete type 'struct xprison' Jail.xs:66: error: invalid application of 'sizeof' to incomplete type 'struct xprison' Jail.xs:79: error: dereferencing pointer to incomplete type Jail.xs:79: error: dereferencing pointer to incomplete type Jail.xs:79: error: dereferencing pointer to incomplete type Jail.xs:79: error: 'XPRISON_VERSION' undeclared (first use in this function) Jail.xs:85: error: dereferencing pointer to incomplete type Jail.xs:86: error: dereferencing pointer to incomplete type Jail.xs:87: error: invalid application of 'sizeof' to incomplete type 'struct xprison' Jail.xs:87: error: invalid application of 'sizeof' to incomplete type 'struct xprison' Jail.xs:87: error: invalid application of 'sizeof' to incomplete type 'struct xprison' Jail.xs:91: error: increment of pointer to unknown structure Jail.xs:91: error: arithmetic on pointer to an incomplete type Jail.xs: In function 'XS_BSD__Jail_get_xprison': Jail.xs:118: error: dereferencing pointer to incomplete type Jail.xs:119: error: dereferencing pointer to incomplete type Jail.xs:120: error: dereferencing pointer to incomplete type Jail.xs:121: error: dereferencing pointer to incomplete type Jail.xs:122: error: dereferencing pointer to incomplete type Jail.xs: In function 'XS_BSD__Jail_jail': Jail.xs:149: error: storage size of 'j' isn't known Jail.xs:157: error: invalid application of 'sizeof' to incomplete type 'struct jail' Jail.xs:157: error: invalid application of 'sizeof' to incomplete type 'struct jail' Jail.xs:157: error: invalid application of 'sizeof' to incomplete type 'struct jail' Jail.xs:6:2: error: #error This only works on FreeBSD 4.0 or greater Jail.xs:10:22: error: sys/jail.h: No such file or directory Jail.xs: In function '_get_jids': Jail.xs:25: error: invalid application of 'sizeof' to incomplete type 'struct xprison' Jail.xs:25: error: invalid application of 'sizeof' to incomplete type 'struct xprison' Jail.xs:25: error: invalid application of 'sizeof' to incomplete type 'struct xprison' Jail.xs:31: error: dereferencing pointer to incomplete type Jail.xs:31: error: dereferencing pointer to incomplete type Jail.xs:31: error: dereferencing pointer to incomplete type Jail.xs:32: error: 'XPRISON_VERSION' undeclared (first use in this function) Jail.xs:32: error: (Each undeclared identifier is reported only once Jail.xs:32: error: for each function it appears in.) Jail.xs:37: error: dereferencing pointer to incomplete type Jail.xs:38: error: dereferencing pointer to incomplete type Jail.xs:39: error: increment of pointer to unknown structure Jail.xs:39: error: arithmetic on pointer to an incomplete type Jail.xs: In function '_get_xp': Jail.xs:62: error: invalid application of 'sizeof' to incomplete type 'struct xprison' Jail.xs:62: error: invalid application of 'sizeof' to incomplete type 'struct xprison' Jail.xs:62: error: invalid application of 'sizeof' to incomplete type 'struct xprison' Jail.xs:66: error: invalid application of 'sizeof' to incomplete type 'struct xprison' Jail.xs:66: error: invalid application of 'sizeof' to incomplete type 'struct xprison' Jail.xs:66: error: invalid application of 'sizeof' to incomplete type 'struct xprison' Jail.xs:79: error: dereferencing pointer to incomplete type Jail.xs:79: error: dereferencing pointer to incomplete type Jail.xs:79: error: dereferencing pointer to incomplete type Jail.xs:79: error: 'XPRISON_VERSION' undeclared (first use in this function) Jail.xs:85: error: dereferencing pointer to incomplete type Jail.xs:86: error: dereferencing pointer to incomplete type Jail.xs:87: error: invalid application of 'sizeof' to incomplete type 'struct xprison' Jail.xs:87: error: invalid application of 'sizeof' to incomplete type 'struct xprison' Jail.xs:87: error: invalid application of 'sizeof' to incomplete type 'struct xprison' Jail.xs:91: error: increment of pointer to unknown structure Jail.xs:91: error: arithmetic on pointer to an incomplete type Jail.xs: In function 'XS_BSD__Jail_get_xprison': Jail.xs:118: error: dereferencing pointer to incomplete type Jail.xs:118: error: dereferencing pointer to incomplete type Jail.xs:118: error: dereferencing pointer to incomplete type Jail.xs:118: error: dereferencing pointer to incomplete type Jail.xs:118: error: dereferencing pointer to incomplete type Jail.xs:118: error: dereferencing pointer to incomplete type Jail.xs:119: error: dereferencing pointer to incomplete type Jail.xs:120: error: dereferencing pointer to incomplete type Jail.xs:121: error: dereferencing pointer to incomplete type Jail.xs:122: error: dereferencing pointer to incomplete type Jail.xs: In function 'XS_BSD__Jail_jail': Jail.xs:149: error: storage size of 'j' isn't known Jail.xs:157: error: invalid application of 'sizeof' to incomplete type 'struct jail' Jail.xs:157: error: invalid application of 'sizeof' to incomplete type 'struct jail' Jail.xs:157: error: invalid application of 'sizeof' to incomplete type 'struct jail' lipo: can't open input file: /var/tmp//cc5SX4PS.out (No such file or directory) make: *** [Jail.o] Error 1