Which version.h is being used ?
I have a machine which came with the kernel 2.6.18, I've compiled from source a newer kernel (2.6.35) because the patches I'm working on are intended for that version.
I have several of lines like this: Code:
#include <linux/version.h> Code:
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30) Or am I missing some step related to kernel upgrade ? |
See this post. Basically the .h file located first in your include path is used.
I *believe* you can use `gcc -v` to see your include path but I forget and don't have access to gcc compiler where I am right now. |
I suggest you read the file \usr\include\linux\version.h ; it appears to tell you what to do.
|
All times are GMT -5. The time now is 12:46 AM. |