during "make bzImage" (after a make clean, make oldconfig, make dep)
ld -m elf_i386 -T
/home/archive/Kernels/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/char/drm/drm.o
drivers/net/fc/fc.o drivers/ide/idedriver.o drivers/cdrom/driver.o
drivers/pci/driver.o drivers/video/video.o drivers/md/mddev.o \
net/network.o \
/home/archive/Kernels/linux-2.4.19-rc1/arch/i386/lib/lib.a
/home/archive/Kernels/linux-2.4.19-rc1/lib/lib.a
/home/archive/Kernels/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+0x91b): undefined reference to
`change_floppy'
init/do_mounts.o: In function `rd_load_disk':
init/do_mounts.o(.text.init+0xa65): undefined reference to
`change_floppy'
make: *** [vmlinux] Error 1
.config attached
On 24 Jun 2002, Torrey Hoffman wrote:
>...
> init/do_mounts.o: In function `rd_load_image':
> init/do_mounts.o(.text.init+0x91b): undefined reference to
> `change_floppy'
> init/do_mounts.o: In function `rd_load_disk':
> init/do_mounts.o(.text.init+0xa65): undefined reference to
> `change_floppy'
> make: *** [vmlinux] Error 1
>...
This is a known problem. The fix is simple:
--- init/do_mounts.c.old Tue Jun 18 12:20:12 2002
+++ init/do_mounts.c Tue Jun 18 12:20:38 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;
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
On 24 Jun 2002, Torrey Hoffman wrote:
> during "make bzImage" (after a make clean, make oldconfig, make dep)
Torrey,
This is already fixed in 2.4 BK tree.