Skip to contentSkip to conversation

[2.5.60/61] - Making modules problem

BUG Kai Germaschewski 1 participant 1 message Feb 17, 2003 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 3 lines · Shawn Starr

Not a bug but I think an annoyance because sometimes I just want to recompile just the modules using the same kernel version and not have to build the whole thing just to get modules.

You have CONFIG_MODVERSIONS=y. Say your module is using printk(). So your module needs to know the checksum for printk(). This checksum is generated during the build of kernel/printk.c and then propagated into vmlinux, which is where the module build gets it from.

That's why you need printk.o / vmlinux to build the module. If you don't want these checks, turn of CONFIG_MODVERSIONS and it's back to what it used to be.

--Kai