lkml.org 
[lkml]   [2003]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC][PATCH] new modversions implementation
Date
In message <Pine.LNX.4.21.0302021616230.11976-100000@mussel> you write:
> +#ifdef CONFIG_MODVERSIONING
> + if ((mod->symbols.num_syms && !crcindex)
> + || (mod->gpl_symbols.num_syms && !gplcrcindex)) {

Thanks Paul! Good catch.

Kai is currently the one beating this patch into shape: he's the
Makefile guru, I just twiddle with modules. I'm waiting for him and
Andrew Morton to merge with Linus to see what's left to apply.

> Also, whatever happened to modversions.h? A module I have refuses to
> compile without it. I'm not yet such a good hacker to figure out how your
> new modversions implementation works 8)

You shouldn't need modversions.h any more: you can simply excise it.
This means that such a module will taint a modversioned kernel,
though.

The correct (and future-proof) way to build external modules is to use
the kernel makefiles themselves:

http://hypermail.idiosynkrasia.net/linux-kernel/archived/2002/week23/0162.html

Hope that helps!
Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
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:32    [W:0.023 / U:2.928 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site