lkml.org 
[lkml]   [2001]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] Re: [BUG] 2.4.15-pre3 compile failure
From
Date
On Sun, 2001-11-11 at 23:24, Barry K. Nathan wrote:
> proc_misc.c: In function `proc_misc_init':
> proc_misc.c:573: `proc_ksyms_operations' undeclared (first use in this function)proc_misc.c:573: (Each undeclared identifier is reported only once
> proc_misc.c:573: for each function it appears in.)

Hm, this was a bug in 2.4.13-ac8. I guess Linus merged it into pre3. I
sent Alan a patch, here it is:

--- linux-2.4.13-ac8/fs/proc/proc_misc.c Mon Nov 5 17:34:08 2001
+++ linux/fs/proc/proc_misc.c Mon Nov 5 18:29:55 2001
@@ -619,9 +619,11 @@
entry = create_proc_entry("mounts", 0, NULL);
if (entry)
entry->proc_fops = &proc_mounts_operations;
+#ifdef CONFIG_MODULES
entry = create_proc_entry("ksyms", 0, NULL);
if (entry)
entry->proc_fops = &proc_ksyms_operations;
+#endif
proc_root_kcore = create_proc_entry("kcore", S_IRUSR, NULL);
if (proc_root_kcore) {
proc_root_kcore->proc_fops = &proc_kcore_operations;
Robert Love

-
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:18    [W:0.030 / U:5.888 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site