Re: scsi_lib.c undefined symbol
Keith Owens (kaos@ocs.com.au)
Mon, 03 Sep 2001 16:43:38 +1000
On Mon, 03 Sep 2001 00:19:17 -0400,
Adam Schrotenboer <ajschrotenboer@lycosmail.com> 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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/