From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 3 Sep 2001 02:43:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 3 Sep 2001 02:43:47 -0400 Received: from zok.SGI.COM ([204.94.215.101]:196 "EHLO zok.sgi.com") by vger.kernel.org with ESMTP id ; Mon, 3 Sep 2001 02:43:36 -0400 X-Mailer: exmh version 2.1.1 10/15/1999 From: Keith Owens To: Adam Schrotenboer cc: Alan Cox , LKML Subject: Re: scsi_lib.c undefined symbol In-Reply-To: Your message of "Mon, 03 Sep 2001 00:19:17 -0400." <3B9304C5.4070006@lycosmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 03 Sep 2001 16:43:38 +1000 Message-ID: <16485.999499418@kao2.melbourne.sgi.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 03 Sep 2001 00:19:17 -0400, Adam Schrotenboer wrote: >I have gotten this a couple times w/ other versions of the kernel, but >this is 2.4.9-ac6. (2.4.8-ac12 worked, but that may be a fluke) > >gcc -D__KERNEL__ -I/mnt/hda3/kernel/2.4.9-ac6/linux/include -Wall >-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer >-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 >-march=athlon -DMODULE -DMODVERSIONS -include >/mnt/hda3/kernel/2.4.9-ac6/linux/include/linux/modversions.h -c -o >scsi_lib.o scsi_lib.c >scsi_lib.c: In function `__scsi_end_request': >scsi_lib.c:379: `queued_sectors_Rc37b18c1' undeclared (first use in this >function) User error. scsi_lib.c comes from 2.4.9-ac6 but include/linux/blkdev.h is still at base 2.4.9. Your patches did not apply clean, start from a fresh source tree and retry. blkdev.h must contain queued_sectors, it must not contain max_segments.