> >From kernel v2.3.35 and onwards (v2.3.36pre1 - pre3) I get this message
> when compiling the kernel (gcc 2.7.2.3). My guess is that it's something
> in fs/ext2/super.c that isn't liked by gcc 2.7.2.x. Given that noone else
> has reported this error, it must work for at least some people...
>
> fs/fs.o: In function `exit_ext2_fs':
> fs/fs.o(.text.init+0x706): undefined reference to `unregister_filesystem'
>
This patch should solve your problem:
--- linux-2.3.35/fs/super.c Tue Dec 14 11:20:32 1999
+++ linux/fs/super.c Fri Dec 31 14:15:17 1999
@@ -181,7 +181,6 @@
return 0;
}
-#ifdef CONFIG_MODULES
int unregister_filesystem(struct file_system_type * fs)
{
struct file_system_type ** tmp;
@@ -197,7 +196,6 @@
}
return -EINVAL;
}
-#endif
static int fs_index(const char * __name)
{
-- Niels Kristian Bech Jensen -- nkbj@image.dk -- http://www.image.dk/~nkbj/----------->> Stop software piracy --- use free software! <<-----------
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/