[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] Patch 0.8i to 2.3.40: error during make



On Sun, Jan 30, 2000 at 07:11:04PM -0500, Jim Cain wrote:
> All,
> 
> After applying the patch and running make config and make dep, make shows
> the following:
> 
> 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 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
> 
> Has anyone else had a similar problem with this patch?

Yes, /me... I've got no unmodified file handy and I'm working on a very slow
machine so try this:

- 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 *);


--> That's all. It's simply a problem of two missing declarations;(

MfG, JBG

-- 
Fehler eingestehen, Größe zeigen: Nehmt die Rechtschreibreform zurück!!!
keyID=0x8399E1BB fingerprint=250D 3BCF 7127 0D8C A444 A961 1DBD 5E75 8399 E1BB

Attachment: pgp00000.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]