2.4.19-pre build failure
Hi,
Current 2.4 BK tree failes to link the vmlinux image:
[ ... ]
-o vmlinuxinit/do_mounts.o: In function `rd_load_image':
init/do_mounts.o(.text.init+0xa20): undefined reference to change_floppy' init/do_mounts.o: In function rd_load_disk':
init/do_mounts.o(.text.init+0xb08): undefined reference to `change_floppy'
make: *** [vmlinux] Error 1
bogomips kraxel /work/bk/2.4/build# grep FD .config CONFIG_BLK_DEV_FD=m
# CONFIG_FDDI is not set
bogomips kraxel /work/bk/2.4/build#
Gerd
Signature · 3 lines
You can't please everybody. And usually if you _try_ to please everybody, the end result is one big mess. -- Linus Torvalds, 2002-04-20
Quoted 1 line · Gerd Knorr
Hi,
Hi Gerd,
Quoted 10 lines
Current 2.4 BK tree failes to link the vmlinux image:
[ ... ]
-o vmlinuxinit/do_mounts.o: In function `rd_load_image':
init/do_mounts.o(.text.init+0xa20): undefined reference tochange_floppy' init/do_mounts.o: In functionrd_load_disk':
init/do_mounts.o(.text.init+0xb08): undefined reference to `change_floppy'
make: *** [vmlinux] Error 1
...
this seems to be caused by a typo in ChangeSet 1.537.1.13 .
Does the following fix it for you?
do_mounts.c renamed from do_mounts.c.old +1 -1
@@ -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;
Quoted 1 line
Gerd
cu
Adrian
Signature · 3 lines
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
do_mounts.c line 381
Quoted 7 lines
Quoted 2 lines
init/do_mounts.o: In function `rd_load_disk':
init/do_mounts.o(.text.init+0xb08): undefined reference to `change_floppy'Does the following fix it for you?
do_mounts.c renamed from do_mounts.c.old +1
-1-#if defined(CONFIG_BLOCK_DEV_RAM ) || defined(CONFIG_BLK_DEV_FD ) +#if defined(CONFIG_BLK_DEV_RAM ) || defined(CONFIG_BLK_DEV_FD )
Yes, works.
Gerd
Signature · 3 lines
You can't please everybody. And usually if you _try_ to please everybody, the end result is one big mess. -- Linus Torvalds, 2002-04-20