I was trying the code at http://www.faqs.org/docs/kernel/x1206.html

It seems the file "linux/modversions.h" is not present in my
linux-headers source. I am on Debian and I have installed the
linux-headers-2.6-486 package. As a result they are available in
"/usr/src/linux-headers-2.6.18-4-486/". But this directory doesn't
have the required header file.

$ ls /usr/src/linux-headers-2.6.18-4-486/include/linux/mo*
/usr/src/linux-headers-2.6.18-4-486/include/linux/mod_devicetable.h
/usr/src/linux-headers-2.6.18-4-486/include/linux/module.h
/usr/src/linux-headers-2.6.18-4-486/include/linux/moduleloader.h
/usr/src/linux-headers-2.6.18-4-486/include/linux/moduleparam.h
/usr/src/linux-headers-2.6.18-4-486/include/linux/mount.h

Could someone please explain what I should do to be able to compile
the code example? Is installing the linux-headers not good enough? Do
I need to do something more to set up a successful Linux kernel
development environment?

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to