lkml.org 
[lkml]   [2003]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Linux v2.5.61
Date
David Woodhouse (dwmw2@infradead.org) wrote:
> On Sun, 2003-02-16 at 01:58, Kunihiro Ishiguro wrote:
>> >Well, the kernel doesn't link for me when IPV6 is compiled as a module (config
>> >below) -- linking IPv6 in is fine.
>>
>> Here is a fix for xfrm6_get_type() link problem when IPv6 is
>> configured as a module.
>
>> +#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
>
> No. Do not ever use #ifdef CONFIG_xxx_MODULE. You should be able to
> build modules later by adding them to your config.

IPv6 has been an exception to this rule for a long time. For at least the
entire 2.4.x series, you have to recompile the entire kernel when you
enable the IPv6 module.

And no, I'm not saying I like it ;-)

--
Erik Hensema <erik@hensema.net>
-
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.047 / U:58.856 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site