Messages in this thread | | | From | droux@cs ... | Subject | pgtable.h and modules | Date | Wed, 24 Jul 1996 15:09:57 -0600 (MDT) |
| |
Folks,
I need to use a few functions defined in pgtable.h from a module, for example pgd_offset(). When I try to load this module, insmod generates an error indicating that pgd_offset() is not defined.
I tried to add pgd_offset to the list of exported symbols by including page.h and pgtable.h and by adding X(pgd_offset) in ksyms.h. Unfortunately, the kernel compilation now fails with the error:
kernel/kernel.o(.data+0x7c): undefined reference to `pgd_offset'
Is there a solution to this problem? or is it not possible at all to use the page table management functions from within loadable modules? ...
Thanx!
PS: related config info:
version 2.0.0
CONFIG_MODULES=y # CONFIG_MODVERSIONS is not set # CONFIG_KERNELD is not set
| |