Hi Andrey -
this should fix it.
--- 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;
On Mon, 2001-11-12 at 13:22, Andrey Nekrasov wrote:
> Hello Steve Lord,
>
> Once you wrote about "TAKE - fix lvm build":
> > Date: Mon Nov 12 10:25:28 PST 2001
> > Workarea: jen.americas.sgi.com:/src/lord/xfs-linux.2.4
> >
> > The following file(s) were checked into:
> > bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs
> >
> >
> > Modid: 2.4.x-xfs:slinx:106536a
> > linux/drivers/md/lvm-snap.c - 1.9
> > - Fix build
>
>
> gcc -D__KERNEL__ -I/usr/src/linux-2.4-xfs/linux/include -Wall
> -Wstrict-prototypes
> -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
> -mpreferred-stack-boundary=2 -march=i686 -c -o proc_misc.o proc_misc.c
> 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.)
> make[3]: *** [proc_misc.o] Ошибка 1
> make[3]: Leaving directory `/usr/src/linux-2.4-xfs/linux/fs/proc'
> make[2]: *** [first_rule] Ошибка 2
> make[2]: Leaving directory `/usr/src/linux-2.4-xfs/linux/fs/proc'
> make[1]: *** [_subdir_proc] Ошибка 2
> make[1]: Leaving directory `/usr/src/linux-2.4-xfs/linux/fs'
> make: *** [_dir_fs] Ошибка 2
> @an:/usr/src/linux#
>
>
> @an:/usr/src/linux# gcc -v
> Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
> gcc version 2.95.4 20011006 (Debian prerelease)
> @an:/usr/src/linux#
>
>
> --
> bye.
> Andrey Nekrasov, SpyLOG.
--
Eric Sandeen XFS for Linux http://oss.sgi.com/projects/xfs
sandeen@xxxxxxx SGI, Inc.
|