Hi,

I am trying to use kernel variable xtime in my module. When I compile
my module I get warning as
WARNING: "xtime" [/home/developer/programs/module1/my_xtime.ko] undefined!

If I try to insert this module, I get error as
insmod: error inserting 'my_xtime.ko': -1 Unknown symbol in module

But, I am able to use xtime (extern struct timespec xtime;) variable
in other parts of kernel which are built in to the kernel.
I use Linux 2.6.26.5 built with CONFIG_MODVERSIONS=y

Can anyone help me to solve this issue?

Regards,
Vijay

Reply via email to