Checking if your kit is complete... Warning: the following files are missing in your kit: include/linux/netfilter_ipv4/ipt_DSCP.h include/linux/netfilter_ipv4/ipt_ECN.h include/linux/netfilter_ipv4/ipt_TCPMSS.h include/linux/netfilter_ipv4/ipt_TTL.h include/linux/netfilter_ipv6/ip6t_HL.h modules/ip6t_pl_HL.c modules/ip6t_pl_MARK.c modules/ipt_pl_DSCP.c modules/ipt_pl_ECN.c modules/ipt_pl_MARK.c modules/ipt_pl_TCPMSS.c modules/ipt_pl_TOS.c modules/ipt_pl_TTL.c Please inform the author. Writing Makefile for IPTables::IPv4 cp IPv4/Chain.pm blib/lib/IPTables/IPv4/Chain.pm cp IPv4/TableTie.pm blib/lib/IPTables/IPv4/TableTie.pm cp IPv4.pm blib/lib/IPTables/IPv4.pm AutoSplitting blib/lib/IPTables/IPv4.pm (blib/lib/auto/IPTables/IPv4) cp IPv6.pm blib/lib/IPTables/IPv6.pm AutoSplitting blib/lib/IPTables/IPv6.pm (blib/lib/auto/IPTables/IPv6) cp IPv4/Rule.pm blib/lib/IPTables/IPv4/Rule.pm cp IPv4/Toplevel.pm blib/lib/IPTables/IPv4/Toplevel.pm cp IPv4/RuleList.pm blib/lib/IPTables/IPv4/RuleList.pm /Users/cpanrun/build/5.10.0/bin/perl /Users/cpanrun/build/5.10.0/lib/ExtUtils/xsubpp -noprototypes -typemap /Users/cpanrun/build/5.10.0/lib/ExtUtils/typemap -typemap IPTables.typemap IPv4.xs > IPv4.xsc && mv IPv4.xsc IPv4.c gcc -c -Iinclude -I/usr/src/linux/include -Wall -DMODULE_PATH=\"/Users/cpanrun/build/5.10.0/site/lib/IPTables-IPv4\" -O3 -DVERSION=\"0.98\" -DXS_VERSION=\"0.98\" "-I/Users/cpanrun/build/5.10.0/lib/CORE" IPv4.c In file included from include/libiptc/libiptc.h:5, from IPv4.xs:28: include/libiptc/ipt_kernel_headers.h:18:22: error: linux/ip.h: No such file or directory include/libiptc/ipt_kernel_headers.h:19:22: error: linux/in.h: No such file or directory include/libiptc/ipt_kernel_headers.h:20:22: error: linux/if.h: No such file or directory include/libiptc/ipt_kernel_headers.h:21:24: error: linux/icmp.h: No such file or directory include/libiptc/ipt_kernel_headers.h:22:23: error: linux/tcp.h: No such file or directory include/libiptc/ipt_kernel_headers.h:23:23: error: linux/udp.h: No such file or directory include/libiptc/ipt_kernel_headers.h:24:25: error: linux/types.h: No such file or directory include/libiptc/ipt_kernel_headers.h:25:23: error: linux/in6.h: No such file or directory In file included from IPv4.xs:28: include/libiptc/libiptc.h:6:44: error: linux/netfilter_ipv4/ip_tables.h: No such file or directory In file included from IPv4.xs:28: include/libiptc/libiptc.h:62: warning: 'struct ipt_counters' declared inside parameter list include/libiptc/libiptc.h:62: warning: its scope is only this definition or declaration, which is probably not what you want include/libiptc/libiptc.h:129: warning: 'struct ipt_counters' declared inside parameter list In file included from packer.h:1, from IPv4.xs:30: local_types.h:46:1: warning: "ALIGN" redefined In file included from /usr/include/machine/param.h:30, from /usr/include/sys/param.h:104, from /Users/cpanrun/build/5.10.0/lib/CORE/perl.h:653, from IPv4.xs:25: /usr/include/ppc/param.h:33:1: warning: this is the location of the previous definition IPv4.c: In function 'XS_IPTables__IPv4_init': IPv4.c:57: warning: unused variable 'Perl___notused' IPv4.c: In function 'XS_IPTables__IPv4__Table_is_chain': IPv4.c:121: error: 'IPT_FUNCTION_MAXNAMELEN' undeclared (first use in this function) IPv4.c:121: error: (Each undeclared identifier is reported only once IPv4.c:121: error: for each function it appears in.) IPv4.c:95: warning: unused variable 'Perl___notused' IPv4.c: In function 'XS_IPTables__IPv4__Table_list_chains': IPv4.c:145: warning: unused variable 'Perl___notused' IPv4.c: In function 'XS_IPTables__IPv4__Table_list_rules': IPv4.c:222: error: 'IPT_FUNCTION_MAXNAMELEN' undeclared (first use in this function) IPv4.c:192: warning: unused variable 'Perl___notused' IPv4.c: In function 'XS_IPTables__IPv4__Table_builtin': IPv4.c:284: error: 'IPT_FUNCTION_MAXNAMELEN' undeclared (first use in this function) IPv4.c:258: warning: unused variable 'Perl___notused' IPv4.xs: In function 'XS_IPTables__IPv4__Table_get_policy': IPv4.xs:128: error: storage size of 'counter' isn't known IPv4.c:340: error: 'IPT_FUNCTION_MAXNAMELEN' undeclared (first use in this function) IPv4.xs:128: warning: unused variable 'counter' IPv4.c:308: warning: unused variable 'Perl___notused' IPv4.c: In function 'XS_IPTables__IPv4__Table_insert_entry': IPv4.c:406: error: 'IPT_FUNCTION_MAXNAMELEN' undeclared (first use in this function) IPv4.c:378: warning: unused variable 'Perl___notused' IPv4.c: In function 'XS_IPTables__IPv4__Table_replace_entry': IPv4.c:473: error: 'IPT_FUNCTION_MAXNAMELEN' undeclared (first use in this function) IPv4.c:445: warning: unused variable 'Perl___notused' IPv4.c: In function 'XS_IPTables__IPv4__Table_append_entry': IPv4.c:539: error: 'IPT_FUNCTION_MAXNAMELEN' undeclared (first use in this function) IPv4.c:512: warning: unused variable 'Perl___notused' IPv4.c: In function 'XS_IPTables__IPv4__Table_delete_entry': IPv4.c:608: error: 'IPT_FUNCTION_MAXNAMELEN' undeclared (first use in this function) IPv4.c:578: warning: unused variable 'Perl___notused' IPv4.c: In function 'XS_IPTables__IPv4__Table_delete_num_entry': IPv4.c:681: error: 'IPT_FUNCTION_MAXNAMELEN' undeclared (first use in this function) IPv4.c:654: warning: unused variable 'Perl___notused' IPv4.c: In function 'XS_IPTables__IPv4__Table_flush_entries': IPv4.c:736: error: 'IPT_FUNCTION_MAXNAMELEN' undeclared (first use in this function) IPv4.c:710: warning: unused variable 'Perl___notused' IPv4.c: In function 'XS_IPTables__IPv4__Table_zero_entries': IPv4.c:791: error: 'IPT_FUNCTION_MAXNAMELEN' undeclared (first use in this function) IPv4.c:765: warning: unused variable 'Perl___notused' IPv4.c: In function 'XS_IPTables__IPv4__Table_create_chain': IPv4.c:846: error: 'IPT_FUNCTION_MAXNAMELEN' undeclared (first use in this function) IPv4.c:820: warning: unused variable 'Perl___notused' IPv4.c: In function 'XS_IPTables__IPv4__Table_delete_chain': IPv4.c:901: error: 'IPT_FUNCTION_MAXNAMELEN' undeclared (first use in this function) IPv4.c:875: warning: unused variable 'Perl___notused' IPv4.c: In function 'XS_IPTables__IPv4__Table_rename_chain': IPv4.c:957: error: 'IPT_FUNCTION_MAXNAMELEN' undeclared (first use in this function) IPv4.c:930: warning: unused variable 'Perl___notused' IPv4.c: In function 'XS_IPTables__IPv4__Table_set_policy': IPv4.c:1037: error: 'IPT_FUNCTION_MAXNAMELEN' undeclared (first use in this function) IPv4.xs:328: error: invalid application of 'sizeof' to incomplete type 'struct ipt_counters' IPv4.xs:332: error: dereferencing pointer to incomplete type IPv4.xs:334: error: dereferencing pointer to incomplete type IPv4.xs:342: error: dereferencing pointer to incomplete type IPv4.xs:344: error: dereferencing pointer to incomplete type IPv4.xs:362: warning: passing argument 3 of 'iptc_set_policy' from incompatible pointer type IPv4.c:1002: warning: unused variable 'Perl___notused' IPv4.c: In function 'XS_IPTables__IPv4__Table_get_references': IPv4.c:1156: error: 'IPT_FUNCTION_MAXNAMELEN' undeclared (first use in this function) IPv4.xs:379: warning: pointer targets in passing argument 1 of 'iptc_get_references' differ in signedness IPv4.c:1130: warning: unused variable 'Perl___notused' IPv4.c: In function 'XS_IPTables__IPv4__Table_commit': IPv4.c:1185: warning: unused variable 'Perl___notused' IPv4.c: In function 'XS_IPTables__IPv4__Table_DESTROY': IPv4.c:1225: warning: unused variable 'Perl___notused' IPv4.c: In function 'boot_IPTables__IPv4': IPv4.c:1264: warning: unused variable 'Perl___notused' make: *** [IPv4.o] Error 1