Skip to contentSkip to conversation

Patch 0.8i to 2.3.40: error during make

linux-lvm Michael Marxmeier 1 participant 1 message Feb 3, 2000

lore
Share & tools
lore
#0 lore raw

Forwarded message ...

-------- Original Message --------
Date: Wed, 2 Feb 2000 23:28:13 -0500 (EST)
From: Jim Cain <[email protected]>
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:

Quoted 6 lines

- 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