Checking if your kit is complete... Looks good Writing Makefile for IPChains cp IPChains.pm blib/lib/IPChains.pm 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=\"1\" -DXS_VERSION=\"1\" "-I/Users/cpanrun/build/5.10.0/lib/CORE" ipfw.c ipfw.c: In function 'SWIG_GetPtr': ipfw.c:298: error: 'sv_undef' undeclared (first use in this function) ipfw.c:298: error: (Each undeclared identifier is reported only once ipfw.c:298: error: for each function it appears in.) ipfw.c: In function '_swig_create_magic': ipfw.c:417: warning: assignment from incompatible pointer type ipfw.c:418: warning: assignment from incompatible pointer type ipfw.c: In function 'SWIG_GetPtr': ipfw.c:298: error: 'sv_undef' undeclared (first use in this function) ipfw.c:298: error: (Each undeclared identifier is reported only once ipfw.c:298: error: for each function it appears in.) In file included from include/libipfwc.h:11, from ipfw.c:437: include/ipfwc.h:22:22: error: linux/ip.h: No such file or directory include/ipfwc.h:23:22: error: linux/in.h: No such file or directory include/ipfwc.h:24:22: error: linux/if.h: No such file or directory include/ipfwc.h:25:24: error: linux/icmp.h: No such file or directory include/ipfwc.h:26:23: error: linux/tcp.h: No such file or directory include/ipfwc.h:27:23: error: linux/udp.h: No such file or directory In file included from include/libipfwc.h:11, from ipfw.c:437: include/ipfwc.h: At top level: include/ipfwc.h:37: error: parse error before '__u32' include/ipfwc.h:37: warning: no semicolon at end of struct or union include/ipfwc.h:38: warning: data definition has no type or storage class include/ipfwc.h:39: error: parse error before 'fw_flg' include/ipfwc.h:39: warning: data definition has no type or storage class include/ipfwc.h:40: error: parse error before 'fw_invflg' include/ipfwc.h:40: warning: data definition has no type or storage class include/ipfwc.h:41: error: parse error before 'fw_spts' include/ipfwc.h:41: warning: data definition has no type or storage class include/ipfwc.h:42: error: parse error before 'fw_dpts' include/ipfwc.h:42: warning: data definition has no type or storage class include/ipfwc.h:43: error: parse error before 'fw_redirpt' include/ipfwc.h:43: warning: data definition has no type or storage class include/ipfwc.h:44: error: parse error before 'fw_outputsize' include/ipfwc.h:44: warning: data definition has no type or storage class include/ipfwc.h:46: error: 'IFNAMSIZ' undeclared here (not in a function) include/ipfwc.h:47: error: parse error before 'fw_tosand' include/ipfwc.h:47: warning: data definition has no type or storage class include/ipfwc.h:48: error: parse error before '}' token include/ipfwc.h:52: error: field 'ipfw' has incomplete type include/ipfwc.h:87:1: warning: "IP_FW_FLUSH" redefined In file included from /Users/cpanrun/build/5.10.0/lib/CORE/perl.h:1123, from ipfw.c:29: /Developer/SDKs/MacOSX10.4u.sdk/usr/include/netinet/in.h:413:1: warning: this is the location of the previous definition In file included from include/libipfwc.h:11, from ipfw.c:437: include/ipfwc.h:88:1: warning: "IP_FW_ZERO" redefined In file included from /Users/cpanrun/build/5.10.0/lib/CORE/perl.h:1123, from ipfw.c:29: /Developer/SDKs/MacOSX10.4u.sdk/usr/include/netinet/in.h:414:1: warning: this is the location of the previous definition include/ipfwc.h:119: error: field 'fwp_iph' has incomplete type include/ipfwc.h:121: error: field 'fwp_tcph' has incomplete type include/ipfwc.h:122: error: field 'fwp_udph' has incomplete type include/ipfwc.h:123: error: field 'fwp_icmph' has incomplete type include/ipfwc.h:146: error: parse error before '__u32' include/ipfwc.h:146: warning: no semicolon at end of struct or union include/ipfwc.h:148: error: parse error before '}' token include/ipfwc.h:153: error: parse error before '__u32' include/ipfwc.h:153: warning: no semicolon at end of struct or union include/ipfwc.h:156: error: parse error before '}' token include/ipfwc.h:190: error: parse error before '__u64' include/ipfwc.h:190: warning: no semicolon at end of struct or union include/ipfwc.h:197: error: parse error before '__u64' include/ipfwc.h:197: warning: no semicolon at end of struct or union ipfw.c: In function '_swig_create_magic': ipfw.c:417: warning: assignment from incompatible pointer type ipfw.c:418: warning: assignment from incompatible pointer type In file included from include/libipfwc.h:11, from ipfw.c:437: include/ipfwc.h:22:22: error: linux/ip.h: No such file or directory include/ipfwc.h:23:22: error: linux/in.h: No such file or directory include/ipfwc.h:24:22: error: linux/if.h: No such file or directory include/ipfwc.h:25:24: error: linux/icmp.h: No such file or directory include/ipfwc.h:26:23: error: linux/tcp.h: No such file or directory include/ipfwc.h:27:23: error: linux/udp.h: No such file or directory In file included from include/libipfwc.h:11, from ipfw.c:437: include/ipfwc.h: At top level: include/ipfwc.h:37: error: parse error before '__u32' include/ipfwc.h:37: warning: no semicolon at end of struct or union include/ipfwc.h:38: warning: data definition has no type or storage class include/ipfwc.h:39: error: parse error before 'fw_flg' include/ipfwc.h:39: warning: data definition has no type or storage class include/ipfwc.h:40: error: parse error before 'fw_invflg' include/ipfwc.h:40: warning: data definition has no type or storage class include/ipfwc.h:41: error: parse error before 'fw_spts' include/ipfwc.h:41: warning: data definition has no type or storage class include/ipfwc.h:42: error: parse error before 'fw_dpts' include/ipfwc.h:42: warning: data definition has no type or storage class include/ipfwc.h:43: error: parse error before 'fw_redirpt' include/ipfwc.h:43: warning: data definition has no type or storage class include/ipfwc.h:44: error: parse error before 'fw_outputsize' include/ipfwc.h:44: warning: data definition has no type or storage class include/ipfwc.h:46: error: 'IFNAMSIZ' undeclared here (not in a function) include/ipfwc.h:47: error: parse error before 'fw_tosand' include/ipfwc.h:47: warning: data definition has no type or storage class include/ipfwc.h:48: error: parse error before '}' token include/ipfwc.h:52: error: field 'ipfw' has incomplete type include/ipfwc.h:87:1: warning: "IP_FW_FLUSH" redefined In file included from /Users/cpanrun/build/5.10.0/lib/CORE/perl.h:1123, from ipfw.c:29: /Developer/SDKs/MacOSX10.4u.sdk/usr/include/netinet/in.h:413:1: warning: this is the location of the previous definition In file included from include/libipfwc.h:11, from ipfw.c:437: include/ipfwc.h:88:1: warning: "IP_FW_ZERO" redefined In file included from /Users/cpanrun/build/5.10.0/lib/CORE/perl.h:1123, from ipfw.c:29: /Developer/SDKs/MacOSX10.4u.sdk/usr/include/netinet/in.h:414:1: warning: this is the location of the previous definition include/ipfwc.h:119: error: field 'fwp_iph' has incomplete type include/ipfwc.h:121: error: field 'fwp_tcph' has incomplete type include/ipfwc.h:122: error: field 'fwp_udph' has incomplete type include/ipfwc.h:123: error: field 'fwp_icmph' has incomplete type include/ipfwc.h:146: error: parse error before '__u32' include/ipfwc.h:146: warning: no semicolon at end of struct or union include/ipfwc.h:148: error: parse error before '}' token include/ipfwc.h:153: error: parse error before '__u32' include/ipfwc.h:153: warning: no semicolon at end of struct or union include/ipfwc.h:156: error: parse error before '}' token include/ipfwc.h:190: error: parse error before '__u64' include/ipfwc.h:190: warning: no semicolon at end of struct or union include/ipfwc.h:197: error: parse error before '__u64' include/ipfwc.h:197: warning: no semicolon at end of struct or union ipfw.c: In function '_wrap_ipfw_init': ipfw.c:803: error: 'na' undeclared (first use in this function) ipfw.c: In function '_wrap_ipfw_append': ipfw.c:849: error: 'na' undeclared (first use in this function) ipfw.c: In function '_wrap_ipfw_init': ipfw.c:803: error: 'na' undeclared (first use in this function) ipfw.c: In function '_wrap_ipfw_delete': ipfw.c:894: error: 'na' undeclared (first use in this function) ipfw.c: In function '_wrap_ipfw_append': ipfw.c:849: error: 'na' undeclared (first use in this function) ipfw.c: In function '_wrap_ipfw_check': ipfw.c:939: error: 'na' undeclared (first use in this function) ipfw.c: In function '_wrap_ipfw_delete': ipfw.c:894: error: 'na' undeclared (first use in this function) ipfw.c: In function '_wrap_ipfw_replace': ipfw.c:984: error: 'na' undeclared (first use in this function) ipfw.c: In function '_wrap_ipfw_insert': ipfw.c:1030: error: 'na' undeclared (first use in this function) ipfw.c: In function '_wrap_ipfw_check': ipfw.c:939: error: 'na' undeclared (first use in this function) ipfw.c: In function '_wrap_ipfw_list': ipfw.c:1075: error: 'na' undeclared (first use in this function) ipfw.c: In function '_wrap_ipfw_replace': ipfw.c:984: error: 'na' undeclared (first use in this function) ipfw.c: In function '_wrap_ipfw_flush': ipfw.c:1119: error: 'na' undeclared (first use in this function) ipfw.c: In function '_wrap_ipfw_insert': ipfw.c:1030: error: 'na' undeclared (first use in this function) ipfw.c: In function '_wrap_ipfw_zero': ipfw.c:1162: error: 'na' undeclared (first use in this function) ipfw.c: In function '_wrap_ipfw_list': ipfw.c:1075: error: 'na' undeclared (first use in this function) ipfw.c: In function '_wrap_ipfw_masq': ipfw.c:1204: error: 'na' undeclared (first use in this function) ipfw.c: In function '_wrap_ipfw_flush': ipfw.c:1119: error: 'na' undeclared (first use in this function) ipfw.c: In function '_wrap_ipfw_new_chain': ipfw.c:1247: error: 'na' undeclared (first use in this function) ipfw.c: In function '_wrap_ipfw_del_chain': ipfw.c:1291: error: 'na' undeclared (first use in this function) ipfw.c: In function '_wrap_ipfw_zero': ipfw.c:1162: error: 'na' undeclared (first use in this function) ipfw.c: In function '_wrap_ipfw_set_policy': ipfw.c:1335: error: 'na' undeclared (first use in this function) ipfw.c: In function '_wrap_ipfw_masq': ipfw.c:1204: error: 'na' undeclared (first use in this function) ipfw.c: At top level: ipfw.c:1359: error: conflicting types for 'boot_IPChains' ipfw.c:432: error: previous declaration of 'boot_IPChains' was here ipfw.c: In function '_wrap_ipfw_new_chain': ipfw.c:1247: error: 'na' undeclared (first use in this function) ipfw.c: In function 'boot_IPChains': ipfw.c:1407: error: 'sv_yes' undeclared (first use in this function) ipfw.c: In function '_wrap_ipfw_del_chain': ipfw.c:1291: error: 'na' undeclared (first use in this function) ipfw.c: In function '_wrap_ipfw_set_policy': ipfw.c:1335: error: 'na' undeclared (first use in this function) ipfw.c: At top level: ipfw.c:1359: error: conflicting types for 'boot_IPChains' ipfw.c:432: error: previous declaration of 'boot_IPChains' was here ipfw.c: In function 'boot_IPChains': ipfw.c:1407: error: 'sv_yes' undeclared (first use in this function) lipo: can't open input file: /var/tmp//ccbwRUlj.out (No such file or directory) make: *** [ipfw.o] Error 1