Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No longer works on recent kernels because kallsyms_lookup_name is unexported. #1

Open
Hello1024 opened this issue Mar 3, 2021 · 0 comments · May be fixed by #2
Open

No longer works on recent kernels because kallsyms_lookup_name is unexported. #1

Hello1024 opened this issue Mar 3, 2021 · 0 comments · May be fixed by #2

Comments

@Hello1024
Copy link

# make
make -C /lib/modules/5.8.0-43-generic/build M=/home/foo/devmem-full-access modules
make[1]: Entering directory '/usr/src/linux-headers-5.8.0-43-generic'
  MODPOST /home/foo/devmem-full-access/Module.symvers
ERROR: modpost: "kallsyms_lookup_name" [/home/foo/devmem-full-access/devmem-full-access.ko] undefined!
make[2]: *** [scripts/Makefile.modpost:111: /home/foo/devmem-full-access/Module.symvers] Error 1
make[2]: *** Deleting file '/home/foo/devmem-full-access/Module.symvers'
make[1]: *** [Makefile:1693: modules] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.8.0-43-generic'
make: *** [Makefile:12: all] Error 2

Looks like this code will need to be migrated to the livepatch API.

@Hello1024 Hello1024 linked a pull request Mar 3, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant