Makefile confused about kernel version that's running - Failed Module Insertion
by MTCAT from LinuxQuestions.org on (#5DVJV)
Hi everyone,
I'm trying to install a driver for an analog-to-digital converter, everything compiles just fine but I get an insertion error.
I'm running the non-smp kernel when doing this but the Makefile for the A-D seems to think I'm running the smp kernel, I think this is why the module is not being inserted or loaded properly ?
Attached some screenshots.
snapshot1 - the failed insertion.
snapshot2 - verified proper gcc version.
snapshot5 - output of modinfo
Any ideas why the Makefile would be "confused" about the kernel version that is running ?
Typing "uname -r" returns 2.6.21.5, not the smp kernel !
Thanks.
Attached Thumbnails


I'm trying to install a driver for an analog-to-digital converter, everything compiles just fine but I get an insertion error.
I'm running the non-smp kernel when doing this but the Makefile for the A-D seems to think I'm running the smp kernel, I think this is why the module is not being inserted or loaded properly ?
Attached some screenshots.
snapshot1 - the failed insertion.
snapshot2 - verified proper gcc version.
snapshot5 - output of modinfo
Any ideas why the Makefile would be "confused" about the kernel version that is running ?
Typing "uname -r" returns 2.6.21.5, not the smp kernel !
Thanks.
Attached Thumbnails