This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Linker errors building a kernel
On Mon, Nov 12, 2001 at 02:13:36PM +1030, Alan Modra wrote:
>On Sun, Nov 11, 2001 at 10:08:27PM -0500, Daniel Jacobowitz wrote:
>> Has anyone tried to build a Linux kernel from CVS binutils since the
>> linkonce checking went in?
>
>Just tried 2.4.14 on x86-linux
>
>drivers/block/block.o: In function `lo_send':
>drivers/block/block.o(.text+0x857f): undefined reference to `deactivate_page'
>drivers/block/block.o(.text+0x85c9): undefined reference to `deactivate_page'
>
>Looks like loop.c is a bit dodgy. Maybe I should trawl the kernel list.
>No "bizarre errors".
The wisdom on the linux-kernel is that you should just comment out the two
lines that mention deactivate_page in loop.c.
cgf