#18708: iptables compilation error
----------------------+------------------------
 Reporter:  sulum     |      Owner:  developers
     Type:  defect    |     Status:  new
 Priority:  high      |  Milestone:
Component:  packages  |    Version:  Trunk
 Keywords:            |
----------------------+------------------------
 Hi,

 I get  linux/netfilter/xt_layer7.h missing when I try to compile the
 iptables 1.4.7 with patch netfilter layer 7 the errors are all in
 compiling the "libxt_layer7.c" which patches the iptables package

 libxt_layer7.c:25:39: warning: linux/netfilter/xt_layer7.h: No such file
 or directory
 libxt_layer7.c:48: warning: 'struct xt_layer7_info' declared inside
 parameter list
 libxt_layer7.c:48: warning: its scope is only this definition or
 declaration, which is probably not what you want
 libxt_layer7.c: In function 'parse_protocol_file':
 libxt_layer7.c:92: error: 'MAX_PROTOCOL_LEN' undeclared (first use in this
 function)
 libxt_layer7.c:92: error: (Each undeclared identifier is reported only
 once
 libxt_layer7.c:92: error: for each function it appears in.)
 libxt_layer7.c:95: error: dereferencing pointer to incomplete type
 libxt_layer7.c:101: error: 'MAX_PATTERN_LEN' undeclared (first use in this
 function)
 libxt_layer7.c:103: error: dereferencing pointer to incomplete type
 libxt_layer7.c: At top level:
 libxt_layer7.c:249: warning: 'struct xt_layer7_info' declared inside
 parameter list

--
Ticket URL: <https://dev.openwrt.org/ticket/18708>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to