Hi all,
I'm now studying about Linux driver and trying to write a simplest module helloworld follow this tutorial:
http://www.freesoftwaremagazine.com/.../drivers_linux
I use Ubuntu 10.04 and this line is output when I type "uname -a"
Code:
dungnguyen@dungnguyen:~$ uname -a
Linux dungnguyen 2.6.32-43-generic #97-Ubuntu SMP Wed Sep 5 16:43:09 UTC 2012 i686 GNU/Linux
I wonder about compatible between kernel version and source code to compile module. Can I using kernel source code 2.6.30 to build module for my 2.6.32-43 kernel? Or I have to download exactly source 2.6.32-43?
By the way, I don't know what "-43-generic" mean. Please somebody explain for me.
Thank you and best regard,
DungNguyen