From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ivan Kokshaysky Subject: Re: 2.4.27, alpha arch, make bootimage and make bootpfile fails Date: Wed, 13 Oct 2004 23:32:47 +0400 Sender: linux-alpha-owner@vger.kernel.org Message-ID: <20041013233247.A11663@jurassic.park.msu.ru> References: <20041012173344.GA21846@gamma.logic.tuwien.ac.at> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <20041012173344.GA21846@gamma.logic.tuwien.ac.at>; from preining@logic.at on Tue, Oct 12, 2004 at 07:33:44PM +0200 List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Norbert Preining Cc: linux-kernel@vger.kernel.org, debian-alpha@lists.debian.org, linux-alpha@vger.kernel.org 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;