Re: 2.4.19-rc1 does not compile without CONFIG_BLK_DEV_FD=y

Adrian Bunk (bunk@fs.tum.de)
Wed, 10 Jul 2002 13:27:10 +0200 (CEST)


On Wed, 10 Jul 2002, Roy Sigurd Karlsbakk wrote:

> hi all
>
> trying to compile 2.4.19-rc1 without floppy support, I get the below link
> error. .config is attached as config.gz

This is a known bug. The following patch (already in Marcelos's BK tree)
fixes it:

--- a/init/do_mounts.c Mon Jun 24 14:08:10 2002
+++ b/init/do_mounts.c Mon Jun 24 14:08:10 2002
@@ -378,7 +378,7 @@
return sys_symlink(path + n + 5, name);
}

-#if defined(CONFIG_BLOCK_DEV_RAM) || defined(CONFIG_BLK_DEV_FD)
+#if defined(CONFIG_BLK_DEV_RAM) || defined(CONFIG_BLK_DEV_FD)
static void __init change_floppy(char *fmt, ...)
{
struct termios termios;

> thanks
>
> roy

cu
Adrian

-- 

You only think this is a free country. Like the US the UK spends a lot of time explaining its a free country because its a police state. Alan Cox

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/