make -C /lib/modules/4.19.0-0.bpo.8-amd64/build/ M=/opt/xt_nat modules CONFIG_DEBUG_INFO=y
make[1]: Entering directory '/usr/src/linux-headers-4.19.0-0.bpo.8-amd64'
CC [M] /opt/xt_nat/xt_NAT.o
/opt/xt_nat/xt_NAT.c: In function ‘stat_seq_show’:
/opt/xt_nat/xt_NAT.c:1547:43: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘s64 {aka long long int}’ [-Wformat=]
seq_printf(m, "Active NAT sessions: %ld\n", atomic64_read(&sessions_active));
^
/opt/xt_nat/xt_NAT.c:1548:42: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘s64 {aka long long int}’ [-Wformat=]
seq_printf(m, "Tried NAT sessions: %ld\n", atomic64_read(&sessions_tried));
^
/opt/xt_nat/xt_NAT.c:1549:44: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘s64 {aka long long int}’ [-Wformat=]
seq_printf(m, "Created NAT sessions: %ld\n", atomic64_read(&sessions_created));
^
/opt/xt_nat/xt_NAT.c:1550:41: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘s64 {aka long long int}’ [-Wformat=]
seq_printf(m, "DNAT dropped pkts: %ld\n", atomic64_read(&dnat_dropped));
^
/opt/xt_nat/xt_NAT.c:1551:39: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘s64 {aka long long int}’ [-Wformat=]
seq_printf(m, "Fragmented pkts: %ld\n", atomic64_read(&frags));
^
/opt/xt_nat/xt_NAT.c:1552:41: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘s64 {aka long long int}’ [-Wformat=]
seq_printf(m, "Related ICMP pkts: %ld\n", atomic64_read(&related_icmp));
^
/opt/xt_nat/xt_NAT.c:1553:36: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘s64 {aka long long int}’ [-Wformat=]
seq_printf(m, "Active Users: %ld\n", atomic64_read(&users_active));
^
/opt/xt_nat/xt_NAT.c: In function ‘nat_tg_init’:
/opt/xt_nat/xt_NAT.c:1664:5: error: implicit declaration of function ‘setup_timer’ [-Werror=implicit-function-declaration]
setup_timer( &sessions_cleanup_timer, sessions_cleanup_timer_callback, 0 )