Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Nov 14, 2021. It is now read-only.
This repository was archived by the owner on Nov 14, 2021. It is now read-only.

ERROR: modpost: "__module_address" [/home/blackarch/tyton/tyton.ko] undefined! #33

@net-wayfarer

Description

@net-wayfarer

Environment:
Distro name and version: Black Arch (rolling release)
Kernel version: 5.10.13-arch1-2
Reproducibility Rate: Always. Even if building the package from AUR it fails.

Steps to reproduce:

  1. git clone https://github.com/nbulischeck/tyton.git
  2. make
  3. Errors on ERROR: modpost: "__module_address" [/home/blackarch/tyton/tyton.ko] undefined!. Please refer to "Actual result" section.

Expected result:
Kernel module should be built.

Actual result:

make -C /lib/modules/5.10.13-arch1-2/build M=/home/blackarch/tyton modules
make[1]: Entering directory '/usr/lib/modules/5.10.13-arch1-2/build'
  CC [M]  /home/blackarch/tyton/src/core.o
  CC [M]  /home/blackarch/tyton/src/util.o
  CC [M]  /home/blackarch/tyton/src/proc.o
  CC [M]  /home/blackarch/tyton/src/module_list.o
  CC [M]  /home/blackarch/tyton/src/syscall_hooks.o
  CC [M]  /home/blackarch/tyton/src/network_hooks.o
  CC [M]  /home/blackarch/tyton/src/netfilter_hooks.o
  CC [M]  /home/blackarch/tyton/src/interrupt_hooks.o
  LD [M]  /home/blackarch/tyton/tyton.o
  MODPOST /home/blackarch/tyton/Module.symvers
ERROR: modpost: "__module_address" [/home/blackarch/tyton/tyton.ko] undefined!
make[2]: *** [scripts/Makefile.modpost:111: /home/blackarch/tyton/Module.symvers] Error 1
make[2]: *** Deleting file '/home/blackarch/tyton/Module.symvers'
make[1]: *** [Makefile:1709: modules] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.10.13-arch1-2/build'
make: *** [Makefile:19: module] Error 2

Severity/Priority
Critical.

Notes
This link from linux-kernel mailing-list might be related.

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