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

Ivan Kokshaysky
2004-10-13T19:48:29Z

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;