Article 5F1ZF Building module: modpost error

Building module: modpost error

by
jnr
from LinuxQuestions.org on (#5F1ZF)
Hello there, I am happy to ask my first question here. Hopefully I'll be able to answer some too, but it may take I while (at least in this sub forum)

I'm making a tiny kernel mod to experiment with memory, for which I am including linux/rmap.h. On building however I get modpost errors:

Code:ERROR: modpost: "rmap_walk_locked" [/../mymod.ko] undefined!
ERROR: modpost: "page_lock_anon_vma_read" [/../mymod.ko] undefined!Any idea what this means or why I can't seem to use these? They do appear to be exported?

Edit: They don't seem to be exported, at least they are not listed in Module.symvers. Is it simply not possible to do such operations from a module?

Cheerslatest?d=yIl2AUoC8zA latest?i=0WjF37h74_Q:elV5TSt4irw:F7zBnMy latest?i=0WjF37h74_Q:elV5TSt4irw:V_sGLiP latest?d=qj6IDK7rITs latest?i=0WjF37h74_Q:elV5TSt4irw:gIN9vFw0WjF37h74_Q
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments