Skip to content

Debian 11.10 find_module undefined #234

Description

@s90

Can't build module for 5.10.0-31-amd64 kernel

DKMS make.log for ipt-netflow-2.6-17-g0eb2092 for kernel 5.10.0-31-amd64 (x86_64)
Tue 30 Jul 2024 02:07:03 PM UTC
./gen_compat_def > compat_def.h-
Test function xt_family linux/netfilter_ipv4/ip_tables.h declared
Test struct timeval linux/ktime.h undeclared
Test struct proc_ops linux/proc_fs.h declared
Test function synchronize_sched linux/rcupdate.h undeclared
Test function nf_bridge_info_get linux/netfilter_bridge.h declared
Test struct vlan_dev_priv linux/if_vlan.h declared
Test function put_unaligned_be24 asm/unaligned.h declared
Test function totalram_pages linux/mm.h declared
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-dirty for kernel 5.10.221
make -C /lib/modules/5.10.0-31-amd64/build M=/var/lib/dkms/ipt-netflow/2.6-17-g0eb2092/build modules
make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
make[1]: Entering directory '/usr/src/linux-headers-5.10.0-31-amd64'
CC [M] /var/lib/dkms/ipt-netflow/2.6-17-g0eb2092/build/ipt_NETFLOW.o
MODPOST /var/lib/dkms/ipt-netflow/2.6-17-g0eb2092/build/Module.symvers
ERROR: modpost: "find_module" [/var/lib/dkms/ipt-netflow/2.6-17-g0eb2092/build/ipt_NETFLOW.ko] undefined!
make[3]: *** [/usr/src/linux-headers-5.10.0-31-common/scripts/Makefile.modpost:123: /var/lib/dkms/ipt-netflow/2.6-17-g0eb2092/build/Module.symvers] Error 1
make[3]: *** Deleting file '/var/lib/dkms/ipt-netflow/2.6-17-g0eb2092/build/Module.symvers'
make[2]: *** [/usr/src/linux-headers-5.10.0-31-common/Makefile:1783: modules] Error 2
make[1]: *** [/usr/src/linux-headers-5.10.0-31-common/Makefile:192: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.10.0-31-amd64'
make: *** [Makefile:27: ipt_NETFLOW.ko] Error 2

Worked well for previous releases
#dkms status
ipt-netflow, 2.6-17-g0eb2092, 5.10.0-27-amd64, x86_64: installed
ipt-netflow, 2.6-17-g0eb2092, 5.10.0-28-amd64, x86_64: installed
ipt-netflow, 2.6-17-g0eb2092, 5.10.0-30-amd64, x86_64: installed

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions