Forum Discussion
Altera_Forum
Honored Contributor
20 years agoLittle Driver Module
Hello! I want to compile this little programm: #include <linux/module.h># include <linux/kernel.h># include <linux/init.h>
static int __init hello_init(void)
{
printk("---------...
Altera_Forum
Honored Contributor
20 years agoHi
It seems that your 'stage 1' compilation is now working fine. After you compiled it like this, the modpost sh%^ is something to do with the spaces, tabs or linefeeds in the modules.symvers file generated in your COMPILED_KERNEL/build dir. Now open the IDE shell and browse to that dir. Then type in something like blabla/../bla >dos2unix modules.symvers Then compile the driver again. This is a lot of shlep, I know. Hopefully your outputs will be generated. Good luck Rual