Kernel Source To Build Modules


JurnD

Still Fresh
Joined
Dec 16, 2009
Messages
82
Age
42
Location
Netherlands
I'm trying to compile a module for the pandora. I have followed the kernelbuilding wiki exactly. The compiling of the module seems to work fine but the resulting versionmagic of the module is wrong.

dmesg:
psfreedom: version magic '2.6.27.46-omap1-00021-g449c13a mod_unload ARMv7 ' should be '2.6.27.46-omap1 mod_unload modversions ARMv7

Does someone know what I am missing to be able to build modules for the current Pandora kernel? I do not have any experience with crosscompiling or kernelbuilding and i have the feeling i am missing something very obvious.

Any help will be very appreciated.

Jurn
 
mcobit said:
Have a look here how I solved it.

Thanks mcobit. I will try this right away. Will let you know.

Edit: Worked as described mcobit. I can now compile modules on my Archlinux pc for pandora. Thanks!
Compiling the kernel from git with the original config.gz did the trick.
 
Last edited by a moderator:
Back
Top