mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.4.19-rc1 does not compile without CONFIG_BLK_DEV_FD=y
@ 2002-07-10  8:47 Roy Sigurd Karlsbakk
  2002-07-10 11:27 ` Adrian Bunk
  0 siblings, 1 reply; 2+ messages in thread
From: Roy Sigurd Karlsbakk @ 2002-07-10  8:47 UTC (permalink / raw)
  To: Kernel mailing list

[-- Attachment #1: Type: text/plain, Size: 1360 bytes --]

hi all

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

thanks

roy
--
ld -m elf_i386 -T /usr/src/linux-2.4.19-rc1/arch/i386/vmlinux.lds -e stext 
arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o 
init/version.o init/do_mounts.o \
        --start-group \
        arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o 
fs/fs.o ipc/ipc.o \
         drivers/char/char.o drivers/block/block.o drivers/misc/misc.o 
drivers/net/net.o drivers/media/media.o drivers/ide/idedriver.o 
drivers/cdrom/driver.o drivers/pci/driver.o drivers/video/video.o 
drivers/usb/usbdrv.o drivers/input/inputdrv.o drivers/i2c/i2c.o 
drivers/md/mddev.o \
        net/network.o \
        /usr/src/linux-2.4.19-rc1/arch/i386/lib/lib.a 
/usr/src/linux-2.4.19-rc1/lib/lib.a 
/usr/src/linux-2.4.19-rc1/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux
init/do_mounts.o: In function `rd_load_image':
init/do_mounts.o(.text.init+0x92b): undefined reference to `change_floppy'
init/do_mounts.o: In function `rd_load_disk':
init/do_mounts.o(.text.init+0xa64): undefined reference to `change_floppy'
make: *** [vmlinux] Error 1

-- 
Roy Sigurd Karlsbakk, Datavaktmester

Computers are like air conditioners.
They stop working when you open Windows.

[-- Attachment #2: config.gz --]
[-- Type: application/x-gzip, Size: 4449 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2.4.19-rc1 does not compile without CONFIG_BLK_DEV_FD=y
  2002-07-10  8:47 2.4.19-rc1 does not compile without CONFIG_BLK_DEV_FD=y Roy Sigurd Karlsbakk
@ 2002-07-10 11:27 ` Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2002-07-10 11:27 UTC (permalink / raw)
  To: Roy Sigurd Karlsbakk; +Cc: Kernel mailing list

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-07-10 11:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-10  8:47 2.4.19-rc1 does not compile without CONFIG_BLK_DEV_FD=y Roy Sigurd Karlsbakk
2002-07-10 11:27 ` Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®