Re: kernel modules - big problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> That is right, it does not match. The UTS_RELEASE should be "2.4.18-14". do
> I say :-
>
> #define LINUX_VERSION_CODE KERNEL_VERSION(2,4,1814)?

Nononono!
Check the KERNEL_VERSION macro: passing a value >255 for the 3rd macro 
parameter will destroy the second one ! Your #define must be (2,4,18) !

>
> what is this dash "-"?

AFAIK suffixes like that '-14' are usually added by distributors, when 
producing their kernels. But, the string in the header file is not used to 
compare kernel against module versions when insmod'ing, so you might ignore 
it.

Good luck.
Michael
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux