Re: 2.4.27, alpha arch, make bootimage and make bootpfile fails

From: Ivan Kokshaysky
Date: Wed Oct 13 2004 - 14:52:00 EST


On Tue, Oct 12, 2004 at 07:33:44PM +0200, Norbert Preining wrote:
> When doing this on our alpha the
> make bootimage
> and the
> make bootpfile
> both bail out with:
...
> /usr/src/linux-2.4.27/arch/alpha/lib/lib.a -o bootloader
> /usr/src/linux-2.4.27/lib/lib.a(vsprintf.o): In function `vsnprintf':
> vsprintf.o(.text+0xcd4): undefined reference to `printk'

Thanks for the report. The appended patch should fix that.

Ivan.

--- 2.4/arch/alpha/boot/bootloader.lds Tue Jul 3 01:40:14 2001
+++ linux/arch/alpha/boot/bootloader.lds Wed Oct 13 23:18:50 2004
@@ -1,5 +1,6 @@
OUTPUT_FORMAT("elf64-alpha")
ENTRY(__start)
+printk = srm_printk;
SECTIONS
{
. = 0x20000000;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/