Re: [lc-devel] Module Problems with 0.22 final AND vanilla 2.4.18
Status: Beta
Brought to you by:
nitin_sf
From: Rodrigo S. de C. <rc...@im...> - 2002-03-21 11:57:48
|
On Thu, Mar 21, 2002 at 08:44:01AM -0300, Rodrigo Souza de Castro wrote: > On Thu, Mar 21, 2002 at 10:01:36AM +0100, Marc-Christian Petersen wrote: > > root@codeman:/# depmod -ae > > depmod: *** Unresolved symbols in > > /lib/modules/2.4.18/kernel/fs/ncpfs/ncpfs.o > > depmod: flush_comp_cache > > depmod: *** Unresolved symbols in > > /lib/modules/2.4.18/kernel/fs/smbfs/smbfs.o > > depmod: flush_comp_cache > > > > How can i get rid of this?? > > Thanks for the report. I forgot those filesystems could be built as > modules and didn't export that symbol. Check if the following patch > solves your problem. The fix will be in 0.23pre1 too. That patch was for my pool, that already has some changes. Given that you have 0.22, try the next one. Regards, -- Rodrigo S. de Castro <rc...@im...> --- orig/mm/comp_cache/Makefile.orig Thu Mar 21 08:48:10 2002 +++ orig/mm/comp_cache/Makefile Thu Mar 21 08:48:31 2002 @@ -4,6 +4,8 @@ O_TARGET := comp_cache.o +export-objs := swapin.o + obj-y := main.o vswap.o free.o swapout.o swapin.o adaptivity.o aux.o proc.o WK4x4.o WKdm.o include $(TOPDIR)/Rules.make --- orig/mm/comp_cache/swapin.c.orig Thu Mar 21 08:48:06 2002 +++ orig/mm/comp_cache/swapin.c Thu Mar 21 08:49:15 2002 @@ -1,7 +1,7 @@ /* * linux/mm/comp_cache/swapin.c * - * Time-stamp: <2002-03-14 16:41:47 rcastro> + * Time-stamp: <2002-03-21 08:49:15 rcastro> * * Linux Virtual Memory Compressed Cache * - Swap In and Decompression Routines @@ -13,6 +13,7 @@ #include <linux/comp_cache.h> #include <linux/mm.h> #include <linux/pagemap.h> +#include <linux/module.h> #include <asm/uaccess.h> #include <net/checksum.h> @@ -28,6 +29,8 @@ return err; } + +EXPORT_SYMBOL(flush_comp_cache); int flush_comp_cache(struct address_space *mapping, unsigned long offset, struct page * page) |