Hi kleber,

xtables-addons-common is already the newest version (3.8-2ubuntu0.2) |
and facing the below error

make  all-recursive
make[1]: Entering directory '/usr/share/xt_geoip/xtables-addons-3.9'
Making all in extensions
make[2]: Entering directory '/usr/share/xt_geoip/xtables-addons-3.9/extensions'
Xtables-addons 3.9 - Linux 5.4.86
if [ -n "/lib/modules/5.4.0-66-generic/build" ]; then make -C 
/lib/modules/5.4.0-66-generic/build 
M=/usr/share/xt_geoip/xtables-addons-3.9/extensions modules; fi;
make[3]: Entering directory '/usr/src/linux-headers-5.4.0-66-generic'
  CC [M]  /usr/share/xt_geoip/xtables-addons-3.9/extensions/xt_DELUDE.o
/usr/share/xt_geoip/xtables-addons-3.9/extensions/xt_DELUDE.c: In function 
‘delude_send_reset’:
/usr/share/xt_geoip/xtables-addons-3.9/extensions/xt_DELUDE.c:125:30: error: 
passing argument 2 of ‘ip_route_me_harder’ from incompatible pointer type 
[-Werror=incompatible-pointer-types]
  125 |  if (ip_route_me_harder(net, nskb, addr_type))
      |                              ^~~~
      |                              |
      |                              struct sk_buff *
In file included from ./include/linux/netfilter/x_tables.h:245,
                 from 
/usr/share/xt_geoip/xtables-addons-3.9/extensions/xt_DELUDE.c:20:
./include/linux/netfilter_ipv4.h:19:54: note: expected ‘struct sock *’ but 
argument is of type ‘struct sk_buff *’
   19 | int ip_route_me_harder(struct net *net, struct sock *sk, struct sk_buff 
*skb, unsigned addr_type);
      |                                         ~~~~~~~~~~~~~^~
/usr/share/xt_geoip/xtables-addons-3.9/extensions/xt_DELUDE.c:125:36: warning: 
passing argument 3 of ‘ip_route_me_harder’ makes pointer from integer without a 
cast [-Wint-conversion]
  125 |  if (ip_route_me_harder(net, nskb, addr_type))
      |                                    ^~~~~~~~~
      |                                    |
      |                                    unsigned int
In file included from ./include/linux/netfilter/x_tables.h:245,
                 from 
/usr/share/xt_geoip/xtables-addons-3.9/extensions/xt_DELUDE.c:20:
./include/linux/netfilter_ipv4.h:19:74: note: expected ‘struct sk_buff *’ but 
argument is of type ‘unsigned int’
   19 | int ip_route_me_harder(struct net *net, struct sock *sk, struct sk_buff 
*skb, unsigned addr_type);
      |                                                          
~~~~~~~~~~~~~~~~^~~
/usr/share/xt_geoip/xtables-addons-3.9/extensions/xt_DELUDE.c:125:6: error: too 
few arguments to function ‘ip_route_me_harder’
  125 |  if (ip_route_me_harder(net, nskb, addr_type))
      |      ^~~~~~~~~~~~~~~~~~
In file included from ./include/linux/netfilter/x_tables.h:245,
                 from 
/usr/share/xt_geoip/xtables-addons-3.9/extensions/xt_DELUDE.c:20:
./include/linux/netfilter_ipv4.h:19:5: note: declared here
   19 | int ip_route_me_harder(struct net *net, struct sock *sk, struct sk_buff 
*skb, unsigned addr_type);
      |     ^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[4]: *** [scripts/Makefile.build:271: 
/usr/share/xt_geoip/xtables-addons-3.9/extensions/xt_DELUDE.o] Error 1
make[3]: *** [Makefile:1760: /usr/share/xt_geoip/xtables-addons-3.9/extensions] 
Error 2
make[3]: Leaving directory '/usr/src/linux-headers-5.4.0-66-generic'
make[2]: *** [Makefile:465: modules] Error 2
make[2]: Leaving directory '/usr/share/xt_geoip/xtables-addons-3.9/extensions'
make[1]: *** [Makefile:495: all-recursive] Error 1
make[1]: Leaving directory '/usr/share/xt_geoip/xtables-addons-3.9'
make: *** [Makefile:380: all] Error 2

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1907109

Title:
  xtables-addons 3.0-0.1ubuntu4/3.8-2ubuntu0.1 fails to build with linux
  5.4.0-57.63

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xtables-addons/+bug/1907109/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to