All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Patch 0.8i to 2.3.40: error during make
@ 2000-02-03 12:34 Michael Marxmeier
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Marxmeier @ 2000-02-03 12:34 UTC (permalink / raw)
  To: linux-lvm

Forwarded message ...

-------- Original Message --------
Date: Wed, 2 Feb 2000 23:28:13 -0500 (EST)
From: Jim Cain <me@jimcain.net>
Subject: Re: [linux-lvm] Patch 0.8i to 2.3.40: error during make

Okay, I got the kernel to compile. Please ignore my previous message
about
not having the appropriate declarations. I was in the wrong linux
source
tree on the wrong machine. :-)

Anyway, I still had to make the changes that were previously noted:

> - edit ./include/linux/fs.h
> - locate line 775
> - add the following two lines:
> 
> extern int blkdev_close(struct inode *, struct file *);
> extern int block_fsync(struct file *, struct dentry *);

Well, that's *nearly* all. You need to remove the "static" keywords
from
both blkdev_close and block_fsync in ./fs/block_dev.c, too.

Once I was in the correct source tree, these changes were reasonable,
and
they allowed the kernel to compile.

However, I had problems getting the tools to build, and I'll be
composing
a separate message with details.

Thanks very much for the help!

Cheers,
Jim

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [linux-lvm] Patch 0.8i to 2.3.40: error during make
@ 2000-01-31  0:11 Jim Cain
  2000-01-31  2:36 ` Jan-Benedict Glaw
  0 siblings, 1 reply; 4+ messages in thread
From: Jim Cain @ 2000-01-31  0:11 UTC (permalink / raw)
  To: linux-lvm

All,

After applying the patch and running make config and make dep, make shows
the following:

gcc -D__KERNEL__ -I/usr/src/linux-2.3.40-lvm/include -D__SMP__ -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce  -DCPU=686 -march=i686  -c -o init/main.o init/main.c
gcc -D__KERNEL__ -I/usr/src/linux-2.3.40-lvm/include -D__SMP__ -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce  -DCPU=686 -march=i686 -DUTS_MACHINE='"i386"' -c -o init/version.o init/version.c
make -C  kernel
make[1]: Entering directory `/usr/src/linux-2.3.40-lvm/kernel'
make all_targets
make[2]: Entering directory `/usr/src/linux-2.3.40-lvm/kernel'
gcc -D__KERNEL__ -I/usr/src/linux-2.3.40-lvm/include -D__SMP__ -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce  -DCPU=686 -march=i686   -DEXPORT_SYMTAB -c signal.c
gcc -D__KERNEL__ -I/usr/src/linux-2.3.40-lvm/include -D__SMP__ -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce  -DCPU=686 -march=i686   -DEXPORT_SYMTAB -c ksyms.c
ksyms.c:258: `block_fsync' undeclared here (not in a function)
ksyms.c:258: initializer element for `__ksymtab_block_fsync.value' is not constant
ksyms.c:269: `blkdev_close' undeclared here (not in a function)
ksyms.c:269: initializer element for `__ksymtab_blkdev_close.value' is not constant
make[2]: *** [ksyms.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.3.40-lvm/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.3.40-lvm/kernel'
make: *** [_dir_kernel] Error 2

Has anyone else had a similar problem with this patch?

Cheers,
Jim

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-02-03 12:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-03 12:34 [linux-lvm] Patch 0.8i to 2.3.40: error during make Michael Marxmeier
  -- strict thread matches above, loose matches on Subject: below --
2000-01-31  0:11 Jim Cain
2000-01-31  2:36 ` Jan-Benedict Glaw
2000-02-01 16:55   ` Jan-Benedict Glaw

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.