Hello everybody, i am new to device driver programming. I have created a sample hello world!! program for 2.6 kernel and named the file as hello.c. i compiled it with Gcc as $gcc -c hello.c to get hello.o then i tried isnerting the module as $insmod hello.o it gives me some error messages saying that the module created is of invalid type. can i just do a normal compilation or do i need to create a makefile and add some additional information into it. Thanks in advance sandeep -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/