lkml.org 
[lkml]   [2003]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [BUG][2.5.60/61] - Making modules problem
On Mon, 17 Feb 2003, Shawn Starr wrote:

> 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


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.022 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site