* 2.4.19-pre build failure
@ 2002-06-18 9:10 Gerd Knorr
2002-06-18 10:25 ` Adrian Bunk
0 siblings, 1 reply; 3+ messages in thread
From: Gerd Knorr @ 2002-06-18 9:10 UTC (permalink / raw)
To: Kernel List
Hi,
Current 2.4 BK tree failes to link the vmlinux image:
[ ... ]
-o vmlinux
init/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
--
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.4.19-pre build failure
2002-06-18 9:10 2.4.19-pre build failure Gerd Knorr
@ 2002-06-18 10:25 ` Adrian Bunk
2002-06-18 13:16 ` Gerd Knorr
0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2002-06-18 10:25 UTC (permalink / raw)
To: Gerd Knorr, Marcelo Tosatti, Peter Chubb, rusty; +Cc: Kernel List
On Tue, 18 Jun 2002, Gerd Knorr wrote:
> Hi,
Hi Gerd,
> Current 2.4 BK tree failes to link the vmlinux image:
>
> [ ... ]
> -o vmlinux
> init/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
>...
this seems to be caused by a typo in ChangeSet 1.537.1.13 .
Does the following fix it for you?
--- 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;
> Gerd
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] 3+ messages in thread
* Re: 2.4.19-pre build failure
2002-06-18 10:25 ` Adrian Bunk
@ 2002-06-18 13:16 ` Gerd Knorr
0 siblings, 0 replies; 3+ messages in thread
From: Gerd Knorr @ 2002-06-18 13:16 UTC (permalink / raw)
To: Adrian Bunk, Kernel List
> > 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?
>
> -#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
--
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-06-18 14:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-18 9:10 2.4.19-pre build failure Gerd Knorr
2002-06-18 10:25 ` Adrian Bunk
2002-06-18 13:16 ` Gerd Knorr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox