Article 5DVJV Makefile confused about kernel version that's running - Failed Module Insertion

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 Thumbnailsattachment.php?attachmentid=35510&stc=1& attachment.php?attachmentid=35511&stc=1& attachment.php?attachmentid=35512&stc=1& latest?d=yIl2AUoC8zA latest?i=vlC3tfmaXro:afbvhL3BRPE:F7zBnMy latest?i=vlC3tfmaXro:afbvhL3BRPE:V_sGLiP latest?d=qj6IDK7rITs latest?i=vlC3tfmaXro:afbvhL3BRPE:gIN9vFwvlC3tfmaXro
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments