Modify

Opened 6 years ago

Last modified 4 years ago

#11690 new defect

xtables-addons fails due to -Werror-implicit-function-declaration

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

On latest trunk with Linaro gcc 4.7, xtables-addons 1.42 throws an error in xt_ECHO.c due to -Werror-implicit-function-declaration enabled. This is fixed by adding #include "compat_xtables.h" by this patch:

--- /dev/null   2012-06-16 01:25:06.955703266 +0200
+++ net/xtables-addons/patches/222-fix_ip6_checksum.patch       2012-06-17 00:0
@@ -0,0 +1,11 @@
+--- xtables-addons-1.42/extensions/xt_ECHO.c.orig      2012-06-17 00:07:23.503
++++ xtables-addons-1.42/extensions/xt_ECHO.c   2012-06-17 00:07:36.843304451 +
+@@ -22,6 +22,8 @@
+ #include <net/route.h>
+ #include "compat_xtables.h"
+ 
++#include <net/ip6_checksum.h>
++
+ static unsigned int
+ echo_tg6(struct sk_buff **poldskb, const struct xt_action_param *par)
+ {

Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.