You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is still the same. wk_cpu = __smp_processor_id();
^~~~~~~~~~~~~~~~~~
Full bulid log:
`
./gen_compat_def > compat_def.h-
Test function xt_family linux/netfilter_ipv4/ip_tables.h undeclared
Test struct timeval linux/ktime.h declared
Test struct proc_ops linux/proc_fs.h undeclared
Test function synchronize_sched linux/rcupdate.h declared
Test function nf_bridge_info_get linux/netfilter_bridge.h undeclared
Test struct vlan_dev_priv linux/if_vlan.h declared
Test function put_unaligned_be24 asm/unaligned.h undeclared
Test function totalram_pages linux/mm.h undeclared
Test symbol totalram_pages linux/mm.h declared
Test member nf_ct_event_notifier.ct_event net/netfilter/nf_conntrack_ecache.h undeclared
Test function register_sysctl_paths linux/sysctl.h declared
mv compat_def.h- compat_def.h
Compiling 2.6-17-g0eb2092 for kernel 4.9.210
make -C /lib/modules/4.9.0-12-amd64/build M=/home/airmaster/ipt-netflow modules
make[1]: вход в каталог «/usr/src/linux-headers-4.9.0-12-amd64»
CC [M] /home/airmaster/ipt-netflow/ipt_NETFLOW.o /home/airmaster/ipt-netflow/ipt_NETFLOW.c: In function ‘netflow_work_fn’: /home/airmaster/ipt-netflow/ipt_NETFLOW.c:4506:11: error: implicit declaration of function ‘__smp_processor_id’ [-Werror=implicit-function-declaration]
wk_cpu = __smp_processor_id();
^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.9.0-12-common/scripts/Makefile.build:318: ошибка выполнения рецепта для цели «/home/airmaster/ipt-netflow/ipt_NETFLOW.o»
make[4]: *** [/home/airmaster/ipt-netflow/ipt_NETFLOW.o] Ошибка 1
/usr/src/linux-headers-4.9.0-12-common/Makefile:1552: ошибка выполнения рецепта для цели «module/home/airmaster/ipt-netflow»
make[3]: *** [module/home/airmaster/ipt-netflow] Ошибка 2
Makefile:152: ошибка выполнения рецепта для цели «sub-make»
make[2]: *** [sub-make] Ошибка 2
Makefile:8: ошибка выполнения рецепта для цели «all»
make[1]: *** [all] Ошибка 2
make[1]: выход из каталога «/usr/src/linux-headers-4.9.0-12-amd64»
Makefile:26: ошибка выполнения рецепта для цели «ipt_NETFLOW.ko»
make: *** [ipt_NETFLOW.ko] Ошибка 2
`
As far as I understood, this problem has already been fixed, but for me it did not bring any result, or I misunderstood what needed to be done.
Thanks
The text was updated successfully, but these errors were encountered:
SmartHome2021
changed the title
Compile error Debian 4.9.0-12-amd64 # 4.9.210-1
Compile error Debian-9 4.9.0-12-amd64 # 4.9.210-1
May 27, 2024
I have just installed Debian 9 from archives and successfully cloned ipt-netflow to VM and then I did:
git checkout tags/v2.5.1
...
and everything worked as a charm
Did you consider updating you distribution as Debian 9 does not have support and is only as an archive.
Current stable Debian in bookworm version 12 and you still use 9. Don't you worry about security of this machine?
The problem is still the same.
wk_cpu = __smp_processor_id();
^~~~~~~~~~~~~~~~~~
Full bulid log:
`
`
As far as I understood, this problem has already been fixed, but for me it did not bring any result, or I misunderstood what needed to be done.
Thanks
The text was updated successfully, but these errors were encountered: