Skip to content

Since Kernel 5.7 kallsyms_lookup_name is not longer exported so the module won't compile #10

@spielkind

Description

@spielkind

Since Kernel 5.7 kallsyms_lookup_name is not longer exported so the module won't compile
torvalds/linux@0bd476e

❯ make
make CONFIG_TOA=m  -C /lib/modules/`uname -r`/build M=`pwd` modules EXTRA_CFLAGS="-DTOA_IPV6_ENABLE"
make[1]: Entering directory '/usr/lib/modules/5.14.3-arch1-1/build'
  CC [M]  /home/keutterling/dtag/git/github/TCP_option_address/src/toa.o
  MODPOST /home/keutterling/dtag/git/github/TCP_option_address/src/Module.symvers
ERROR: modpost: "kallsyms_lookup_name" [/home/keutterling/dtag/git/github/TCP_option_address/src/toa.ko] undefined!
make[2]: *** [scripts/Makefile.modpost:150: /home/keutterling/dtag/git/github/TCP_option_address/src/Module.symvers] Error 1
make[2]: *** Deleting file '/home/keutterling/dtag/git/github/TCP_option_address/src/Module.symvers'
make[1]: *** [Makefile:1766: modules] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.14.3-arch1-1/build'
make: *** [Makefile:8: default] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions